Yousong Zhou
4ebb13a0ef
build: unzip: perform operations quietly
...
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years ago
Alexandru Ardelean
15d8d9c271
build: drop `trapret` function from non-Linux HOST_TAR variant
...
Looks like this was meant to workaround some limitations with
non-GNU tar variants (like BSD-tar which are present on Mac os BSD hosts).
Though, I cannot find any use of that `+s` option that's mentioned
in the comment.
Last hash of this I found was 24faf55360
In my case, it now this fails for `python-setuptools` on Mac OS X (the host-build with):
```
trapret 2 tar -C <home-dir>/work/sources-work/lede/build_dir/target-i386_pentium4_musl-1.1.15/python-setuptools-27.2.0 --strip-components=1 -xzf <home-dir>/work/sources-work/lede/dl/setuptools-27.2.0.tar.gz
bash: trapret: command not found
```
So, I was thinking maybe it's time to remove this workaround (9 years later).
I could also fix the `python-setuptools` host build. If that's more preferred.
[ Btw, I just recently transitioned to a Mac machine for dev-ing,
so a lot of (this Mac) stuff I'm finding out is new to me too. ]
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
8 years ago
Luka Perkov
7002f6326e
include: remove trailing whitespaces
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 45127
10 years ago
Felix Fietkau
627e974c99
partially revert "build: remove check for nonexistant CONFIG_TAR_VERBOSITY variable and move TAR_OPTIONS to unpack.mk"
...
This complicates the evaluation order for some packages
SVN-Revision: 40006
11 years ago
Felix Fietkau
00bcebeb4c
build: remove check for nonexistant CONFIG_TAR_VERBOSITY variable and move TAR_OPTIONS to unpack.mk
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39979
11 years ago
Felix Fietkau
a9136c0892
speed up the build system by including include/shell.sh on shell commands only where necessary
...
SVN-Revision: 22720
14 years ago
Jo-Philipp Wich
fa802af399
support unpacking of .tar.xz archives, no prereq on xzcat for now
...
SVN-Revision: 22517
14 years ago
Felix Fietkau
e8b6104dde
allow packages to override PKG_UNPACK, HOST_UNPACK
...
SVN-Revision: 14659
16 years ago
Felix Fietkau
610e45ae5c
only define unpack templates if PKG_SOURCE is set
...
SVN-Revision: 14623
16 years ago
Felix Fietkau
aa0778f77e
allow concurrent use of host-build.mk and package.mk as well as their templates
...
SVN-Revision: 14621
16 years ago
Felix Fietkau
7eb1589875
build system refactoring in preparation for allowing packages to do host-build steps
...
SVN-Revision: 14610
16 years ago
Felix Fietkau
dbeb0fad24
Refactor downloading code into download.mk Support multiple file downloads Support svn downloads
...
SVN-Revision: 9057
17 years ago
Felix Fietkau
341b6afd55
simplify handling of zcat - always use gzip -dc. zcat and gzcat are either broken or nonexistant on some systems
...
SVN-Revision: 7096
18 years ago
Felix Fietkau
04ae63915e
fix a small bug in the unpack code
...
SVN-Revision: 6587
18 years ago
Felix Fietkau
12051a5761
remove some debug code that slipped into the commit
...
SVN-Revision: 6583
18 years ago
Felix Fietkau
24faf55360
add file type autodetection for the unpack command and nuke PKG_CAT:= in lots of places
...
SVN-Revision: 6582
18 years ago
Felix Fietkau
bc60eb3610
add a crlf workaround similar to the one from freewrt
...
SVN-Revision: 6507
18 years ago
Felix Fietkau
5605b82835
fix unpacking of .zip files
...
SVN-Revision: 6083
18 years ago
Felix Fietkau
461375c939
another bsd bugfix
...
SVN-Revision: 5657
18 years ago
Felix Fietkau
387570cc06
trap chmod errors in tar unpack on bsd - modes like 02755 fail
...
SVN-Revision: 5656
18 years ago
Felix Fietkau
06a46fb09d
move '-' parameter to TAR_OPTIONS, so that packages can append commands
...
SVN-Revision: 5083
18 years ago
Felix Fietkau
4286347249
use $(TAR) in unpack commands
...
SVN-Revision: 5078
18 years ago
Felix Fietkau
794114c706
fix mistakes in unpack change
...
SVN-Revision: 5077
18 years ago
Felix Fietkau
0d9ddef0e8
move common unpacking code to unpack.mk, replace zcat with $(ZCAT) for systems that use gzcat instead
...
SVN-Revision: 5070
18 years ago