aboutsummaryrefslogtreecommitdiffstats
path: root/include/host-build.mk
Commit message (Expand)AuthorAgeFilesLines
* build: pass HOSTCXX to host builds as CXXFelix Fietkau2018-04-201-0/+1
* build: allow PKG_PREPARED_DEPENDS and PKG_CONFIG_DEPENDS to be changed after ...Felix Fietkau2017-12-121-1/+1
* build: add a darwin sitefile to deal with macOS 10.12 + Xcode 9 build errorsFelix Fietkau2017-10-051-0/+5
* build: stop overriding STAGING_DIR_HOST for toolchain buildFelix Fietkau2017-05-251-1/+1
* build: fix STAMP_PREPARED with quiltFelix Fietkau2017-03-221-1/+1
* build: improve performance by avoiding lazy-eval for make shell callsFelix Fietkau2017-03-161-1/+1
* build: get rid of host.mkFelix Fietkau2017-02-261-1/+0
* build: make Host/Install/Default use Host/Compile/Default with an extra argumentFelix Fietkau2017-02-091-1/+1
* build: support make tools/<name>/install againFelix Fietkau2017-02-091-0/+1
* build: fix CONFIG_AUTOREMOVE for packages with multiple variantsFelix Fietkau2017-01-221-2/+7
* build: disable CONFIG_AUTOREMOVE for packages/tools where QUILT is usedFelix Fietkau2017-01-191-3/+5
* build: include CONFIG_AUTOREMOVE in HOST_STAMP_PREPAREDFelix Fietkau2017-01-191-1/+1
* build: extend CONFIG_AUTOREMOVE to tools/Felix Fietkau2017-01-181-0/+6
* build: remove separate /install step for host buildsFelix Fietkau2017-01-181-2/+1
* build: introduce extra targets that contain only proper dependenciesFelix Fietkau2017-01-181-4/+4
* build: define common subdir targets in rules.mkFelix Fietkau2017-01-181-13/+4
* build: move STAGING_DIR_HOSTPKG and BUILD_DIR_HOST back to a common directory...Matthias Schiffer2017-01-181-1/+1
* build: properly pass CPP and CXX flags in HOST_MAKE_VARSJo-Philipp Wich2017-01-171-1/+2
* build: introduce default HOST_MAKE_VARS for host-buildsAlexandru Ardelean2017-01-171-1/+7
* build: fix HOST_CONFIGURE_VARS placementJo-Philipp Wich2017-01-101-2/+2
* build: remove obsolete parallel build related optionsFelix Fietkau2017-01-101-7/+2
* Revert "build: fix HOST_CONFIGURE_VARS placement"Jo-Philipp Wich2017-01-051-1/+1
* build: fix HOST_CONFIGURE_VARS placementJo-Philipp Wich2017-01-051-1/+1
* host-build: remove openssl include path from host cflagsFelix Fietkau2017-01-051-5/+0
* build: add defaults for PKG_SOURCE, PKG_SOURCE_SUBDIR, PKG_VERSIONFelix Fietkau2016-12-221-1/+2
* build: implement make check and make package/X/checkFelix Fietkau2016-12-171-2/+6
* build: remove duplicate Download/default definition from include/host-build.mkFelix Fietkau2016-12-161-10/+0
* include/host-build.mk: use STAGING_DIR_HOSTPKGJo-Philipp Wich2016-11-011-1/+1
* build: copy contents of 'src' folder to build dirs (if present)Alexandru Ardelean2016-10-151-0/+1
* include/host-build.mk: set Host/Exports for Host/Install stepMatthias Schiffer2016-10-061-0/+1
* include/host-build.mk: fix ACLOCAL_INCLUDEMatthias Schiffer2016-10-061-1/+1
* include/host-build.mk: pass HOST_BUILD_PREFIX to Host/installMatthias Schiffer2016-10-061-2/+2
* build: pass $(STAGING_DIR_HOST) to Host/InstallFelix Fietkau2016-08-231-2/+2
* build: don't add -j for parallel builds with Make 4.2+Matthias Schiffer2016-06-151-1/+1
* host-build.mk: change default installation prefix of package/* host builds to...Felix Fietkau2016-01-201-10/+12
* build: include homebrew include/library directory in cflags/ldflags on mac os xFelix Fietkau2015-10-051-0/+5
* build: set CCACHE_DIR for host buildsFelix Fietkau2015-04-141-0/+1
* include: use SHELL, not BASH for HOST_CONFIGURE_VARSJo-Philipp Wich2015-02-061-1/+1
* include: remove static tool linking supportJo-Philipp Wich2015-02-061-6/+0
* build: prevent spurious host-build re-builds by touching .built after the ins...Felix Fietkau2014-12-151-0/+1
* build: BSD compile fixesFelix Fietkau2013-03-071-1/+1
* build: fix host build stampfile usage, fixes spurious errors with missing opk...Felix Fietkau2012-10-151-24/+13
* build: add the + token to any commands that can pass through the jobserver, f...Felix Fietkau2012-09-231-2/+2
* host-build: add HOST_MAKE_FLAGS similar to package MAKE_FLAGSFelix Fietkau2012-09-221-1/+5
* build: ensure that package/host-build build system code does not run in paral...Felix Fietkau2012-09-171-0/+2
* build: add jobserver support for host buildsFelix Fietkau2012-09-151-1/+7
* do not pass optimization flags in HOST_CPPFLAGS (#12153)Jo-Philipp Wich2012-09-091-1/+1
* introduce a menuconfig option to turn off static linking of host utilitiesJo-Philipp Wich2012-08-131-1/+3
* host-build.mk: define a variable HOST_STATIC_LINKING which is set to "-static...Jo-Philipp Wich2012-08-121-0/+4
* build: add PKG_MIRROR_MD5SUM support for host buildsFelix Fietkau2012-06-061-0/+1
/span>TARGET_DIR)/ . endef endif ifneq ($(CONFIG_TARGET_ROOTFS_EXT4FS),) E2SIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE)*1024))) define Image/mkfs/ext4 # generate an ext2 fs $(STAGING_DIR_HOST)/bin/genext2fs -U -b $(E2SIZE) -N $(CONFIG_TARGET_ROOTFS_MAXINODE) -d $(TARGET_DIR)/ $(KDIR)/root.ext4 # convert it to ext4 $(STAGING_DIR_HOST)/bin/tune2fs -O extents,uninit_bg,dir_index $(KDIR)/root.ext4 # fix it up $(STAGING_DIR_HOST)/bin/e2fsck -fy $(KDIR)/root.ext4 $(call Image/Build,ext4) endef endif ifneq ($(CONFIG_TARGET_ROOTFS_ISO),) define Image/mkfs/iso $(call Image/Build,iso) endef endif define Image/mkfs/prepare/default # Use symbolic permissions to avoid clobbering SUID/SGID/sticky bits - $(FIND) $(TARGET_DIR) -type f -not -perm +0100 -not -name 'ssh_host*' -not -name 'shadow' -print0 | $(XARGS) -0 chmod u+rw,g+r,o+r - $(FIND) $(TARGET_DIR) -type f -perm +0100 -print0 | $(XARGS) -0 chmod u+rwx,g+rx,o+rx - $(FIND) $(TARGET_DIR) -type d -print0 | $(XARGS) -0 chmod u+rwx,g+rx,o+rx $(INSTALL_DIR) $(TARGET_DIR)/tmp chmod 1777 $(TARGET_DIR)/tmp endef define Image/mkfs/prepare $(call Image/mkfs/prepare/default) endef define Image/Checksum ( cd ${BIN_DIR} ; \ $(FIND) -maxdepth 1 -type f \! -name 'md5sums' -printf "%P\n" | sort | xargs \ md5sum --binary > md5sums \ ) endef define BuildImage download: prepare: ifeq ($(IB),) compile: compile-targets FORCE $(call Build/Compile) else compile: endif ifeq ($(IB),) install: compile install-targets FORCE $(call Image/Prepare) $(call Image/mkfs/prepare) $(call Image/BuildKernel) $(call Image/mkfs/cpiogz) $(call Image/mkfs/targz) $(call Image/mkfs/ext4) $(call Image/mkfs/iso) $(call Image/mkfs/jffs2) $(call Image/mkfs/squashfs) $(call Image/mkfs/ubifs) $(call Image/Checksum) else install: compile install-targets $(call Image/BuildKernel) $(call Image/mkfs/cpiogz) $(call Image/mkfs/targz) $(call Image/mkfs/ext4) $(call Image/mkfs/iso) $(call Image/mkfs/jffs2) $(call Image/mkfs/squashfs) $(call Image/mkfs/ubifs) $(call Image/Checksum) endif ifeq ($(IB),) clean: clean-targets $(call Build/Clean) else clean: endif compile-targets: install-targets: clean-targets: endef