summaryrefslogtreecommitdiff
path: root/include/unpack.mk
Commit message (Collapse)AuthorAgeFilesLines
* build: unzip: perform operations quietlyYousong Zhou2017-01-051-1/+1
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* build: drop `trapret` function from non-Linux HOST_TAR variantAlexandru Ardelean2017-01-031-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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 24faf55360271cd0bfc4751753384f9210d52f7f 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>
* include: remove trailing whitespacesLuka Perkov2015-03-291-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 45127
* partially revert "build: remove check for nonexistant CONFIG_TAR_VERBOSITY ↵Felix Fietkau2014-03-221-2/+0
| | | | | | | | variable and move TAR_OPTIONS to unpack.mk" This complicates the evaluation order for some packages SVN-Revision: 40006
* build: remove check for nonexistant CONFIG_TAR_VERBOSITY variable and move ↵Felix Fietkau2014-03-211-0/+2
| | | | | | | | TAR_OPTIONS to unpack.mk Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39979
* speed up the build system by including include/shell.sh on shell commands ↵Felix Fietkau2010-08-191-2/+2
| | | | | | only where necessary SVN-Revision: 22720
* support unpacking of .tar.xz archives, no prereq on xzcat for nowJo-Philipp Wich2010-08-061-1/+5
| | | | SVN-Revision: 22517
* allow packages to override PKG_UNPACK, HOST_UNPACKFelix Fietkau2009-02-251-2/+2
| | | | SVN-Revision: 14659
* only define unpack templates if PKG_SOURCE is setFelix Fietkau2009-02-221-1/+6
| | | | SVN-Revision: 14623
* allow concurrent use of host-build.mk and package.mk as well as their templatesFelix Fietkau2009-02-221-1/+5
| | | | SVN-Revision: 14621
* build system refactoring in preparation for allowing packages to do ↵Felix Fietkau2009-02-221-16/+20
| | | | | | host-build steps SVN-Revision: 14610
* Refactor downloading code into download.mk Support multiple file downloads ↵Felix Fietkau2007-09-291-1/+6
| | | | | | Support svn downloads SVN-Revision: 9057
* simplify handling of zcat - always use gzip -dc. zcat and gzcat are either ↵Felix Fietkau2007-05-051-3/+3
| | | | | | broken or nonexistant on some systems SVN-Revision: 7096
* fix a small bug in the unpack codeFelix Fietkau2007-03-161-1/+1
| | | | SVN-Revision: 6587
* remove some debug code that slipped into the commitFelix Fietkau2007-03-161-1/+0
| | | | SVN-Revision: 6583
* add file type autodetection for the unpack command and nuke PKG_CAT:= in ↵Felix Fietkau2007-03-161-10/+47
| | | | | | lots of places SVN-Revision: 6582
* add a crlf workaround similar to the one from freewrtFelix Fietkau2007-03-041-0/+3
| | | | SVN-Revision: 6507
* fix unpacking of .zip filesFelix Fietkau2007-01-111-1/+1
| | | | SVN-Revision: 6083
* another bsd bugfixFelix Fietkau2006-11-271-3/+5
| | | | SVN-Revision: 5657
* trap chmod errors in tar unpack on bsd - modes like 02755 failFelix Fietkau2006-11-271-1/+4
| | | | SVN-Revision: 5656
* move '-' parameter to TAR_OPTIONS, so that packages can append commandsFelix Fietkau2006-10-141-2/+2
| | | | SVN-Revision: 5083
* use $(TAR) in unpack commandsFelix Fietkau2006-10-141-2/+2
| | | | SVN-Revision: 5078
* fix mistakes in unpack changeFelix Fietkau2006-10-141-3/+3
| | | | SVN-Revision: 5077
* move common unpacking code to unpack.mk, replace zcat with $(ZCAT) for ↵Felix Fietkau2006-10-141-0/+15
systems that use gzcat instead SVN-Revision: 5070