aboutsummaryrefslogtreecommitdiffstats
path: root/include/host.mk
Commit message (Expand)AuthorAgeFilesLines
* host.mk: Don't use bash-ismMichael Büsch2010-09-061-1/+1
* fix build error in tools on darwin on newer macs (patch by dirtyfreebooter)Felix Fietkau2010-09-051-2/+3
* buildsystem: add a macro to test options supported by the host compilerNicolas Thill2010-05-021-1/+12
* build prereq: look for tar under the name "gnutar" as wellFelix Fietkau2009-09-141-0/+1
* allow uml to access host.mk at DUMP timeFelix Fietkau2009-03-031-1/+1
* speed up metadata scanning a lot by avoiding unnecessary shell commands and m...Felix Fietkau2009-03-031-1/+3
* export the FIND variable which points to a usable find versionFelix Fietkau2008-08-171-4/+4
* improve xargs compatibility check (mostly Darwin/Mac OS X related)Felix Fietkau2008-07-011-6/+5
* Abstracted find to $(FIND) to allow use of gfind on non-GNU systems.Felix Fietkau2007-12-051-0/+3
* next round of build system cleanup - convert package/ to new structureFelix Fietkau2007-07-301-2/+3
* fix verbose output with dash as /bin/shFelix Fietkau2007-07-301-0/+1
* detect whether the find command supports -L or -followFelix Fietkau2007-07-161-1/+6
* simplify handling of zcat - always use gzip -dc. zcat and gzcat are either br...Felix Fietkau2007-05-051-3/+0
* fixes for a few build errors on osx without finkFelix Fietkau2007-04-291-0/+6
* fix for including host.mk multiple timesFelix Fietkau2007-02-251-0/+3
* trivial changesMike Baker2006-11-281-4/+4
* fix another build errorFelix Fietkau2006-11-121-2/+3
* speed up the build system a little bitFelix Fietkau2006-11-121-0/+1
* make target/linux/* directories self-contained, use the selected kernel versi...Felix Fietkau2006-11-111-2/+2
* remove some obsolete stuffFelix Fietkau2006-10-141-3/+0
* move common unpacking code to unpack.mk, replace zcat with $(ZCAT) for system...Felix Fietkau2006-10-141-0/+3
* fix tar detectionFelix Fietkau2006-10-131-3/+4
* finally move buildroot-ng to trunkFelix Fietkau2016-03-201-0/+31
ext,$(PKG_SOURCE:.$(EXT)=)) DECOMPRESS_CMD:=gzip -dc $(DL_DIR)/$(PKG_SOURCE) | endif ifeq ($(filter bzip2 bz2 bz tbz2 tbz,$(EXT)),$(EXT)) EXT:=$(call ext,$(PKG_SOURCE:.$(EXT)=)) DECOMPRESS_CMD:=bzcat $(DL_DIR)/$(PKG_SOURCE) | endif ifeq ($(filter xz txz,$(EXT)),$(EXT)) EXT:=$(call ext,$(PKG_SOURCE:.$(EXT)=)) DECOMPRESS_CMD:=xzcat $(DL_DIR)/$(PKG_SOURCE) | endif ifeq ($(filter tgz tbz tbz2 txz,$(EXT1)),$(EXT1)) EXT:=tar endif DECOMPRESS_CMD ?= cat $(DL_DIR)/$(PKG_SOURCE) | ifeq ($(EXT),tar) UNPACK_CMD=$(DECOMPRESS_CMD) $(TAR_CMD) endif ifeq ($(EXT),cpio) UNPACK_CMD=$(DECOMPRESS_CMD) (cd $(1)/..; cpio -i -d) endif ifeq ($(EXT),zip) UNPACK_CMD=$(UNZIP_CMD) endif endif # compatibility code for packages that set PKG_CAT ifeq ($(strip $(UNPACK_CMD)),) # use existing PKG_CAT UNPACK_CMD=$(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | $(TAR_CMD) ifeq ($(PKG_CAT),unzip) UNPACK_CMD=$(UNZIP_CMD) endif # replace zcat with $(ZCAT), because some system don't support it properly ifeq ($(PKG_CAT),zcat) UNPACK_CMD=gzip -dc $(DL_DIR)/$(PKG_SOURCE) | $(TAR_CMD) endif endif ifneq ($(strip $(CRLF_WORKAROUND)),) CRLF_CMD := && find $(PKG_BUILD_DIR) -type f -print0 | xargs -0 perl -pi -e 's!\r$$$$!!g' else CRLF_CMD := endif endif ifdef PKG_BUILD_DIR PKG_UNPACK ?= $(SH_FUNC) $(call UNPACK_CMD,$(PKG_BUILD_DIR)) $(call CRLF_CMD,$(PKG_BUILD_DIR)) endif ifdef HOST_BUILD_DIR HOST_UNPACK ?= $(SH_FUNC) $(call UNPACK_CMD,$(HOST_BUILD_DIR)) $(call CRLF_CMD,$(HOST_BUILD_DIR)) endif endif # PKG_SOURCE