aboutsummaryrefslogtreecommitdiffstats
path: root/rules.mk
Commit message (Expand)AuthorAgeFilesLines
* librpc: remove packageAndy Walsh2019-01-221-2/+0
* rules.mk: fix syntax errorJo-Philipp Wich2018-11-291-1/+1
* rules.mk: add INSTALL_SUID macroJo-Philipp Wich2018-11-291-0/+1
* rules.mk: add ESED commandKonstantin Demin2018-09-241-0/+1
* toolchain/gcc: add config symbol to determine how to apply path remappingSyrone Wong2018-08-201-3/+3
* rules.mk: replace iremap when using GCC 8Syrone Wong2018-07-221-0/+4
* build: include package directory in sha256sums when running on buildbotJo-Philipp Wich2018-06-271-1/+2
* imagebuilder: reuse rootfs preparation from rootfs.mkMatthias Schiffer2018-03-071-0/+1
* rules.mk: drop `include_mk` build ruleAlexandru Ardelean2018-01-261-4/+0
* build: remove use of STAGING_DIR_HOST/usr (fixes cmake build error on macOS)Felix Fietkau2018-01-171-2/+2
* rules.mk: export TMPDIRJo-Philipp Wich2017-12-121-0/+1
* rukes.mk: this patch broken grub2 buildsJohn Crispin2017-09-011-2/+0
* rules.mk: add missing CPP definitionBangLang Huang2017-08-231-0/+2
* rules.mk: make PKG_CONFIG_DEPENDS properly track string valuesMatthias Schiffer2017-02-271-1/+1
* build: Pass -iremap gcc option as a single argumentMichal Sojka2017-02-091-1/+1
* build: make <subdir>/install opt-in, use it for target/ onlyFelix Fietkau2017-02-091-1/+1
* build: remove libc version suffix from build/staging directoriesFelix Fietkau2017-02-071-2/+1
* build: Suffix build directory with _$(LIBC) for external toolchainsFlorian Fainelli2017-01-291-1/+2
* build: introduce STAGING_DIR_IMAGEJo-Philipp Wich2017-01-271-0/+1
* rules.mk: export STAGING_DIR_HOSTPKGMatthias Schiffer2017-01-191-1/+1
* build: introduce extra targets that contain only proper dependenciesFelix Fietkau2017-01-181-4/+5
* build: define common subdir targets in rules.mkFelix Fietkau2017-01-181-0/+9
* build: move STAGING_DIR_HOSTPKG and BUILD_DIR_HOST back to a common directory...Matthias Schiffer2017-01-181-5/+5
* build: use mkhash to replace various quirky md5sum/openssl callsFelix Fietkau2017-01-051-1/+1
* build: add defaults for PKG_SOURCE, PKG_SOURCE_SUBDIR, PKG_VERSIONFelix Fietkau2016-12-221-0/+2
* build: implement make check and make package/X/checkFelix Fietkau2016-12-171-0/+8
* rules.mk: add STAGING_DIR_HOSTPKG variableJo-Philipp Wich2016-11-011-0/+1
* build: add checksum targetJo-Philipp Wich2016-08-011-0/+7
* rules.mk: introduce new variable OUTPUT_DIRJo-Philipp Wich2016-04-061-1/+4
* build: disable the use of -iremap for UML (#21851)Felix Fietkau2016-02-131-1/+1
* rules.mk: add TARGET_INIT_PATH toplevel variablesJo-Philipp Wich2016-02-081-0/+2
* build: filter out -fno-plt for the kernel build, fixes #21712Felix Fietkau2016-01-281-2/+2
* build: use -iremap feature to replace __FILE__ absolute path names in package...Felix Fietkau2016-01-251-0/+4
* rules.mk: make the locked template available even if flock has not been built...Felix Fietkau2016-01-201-3/+7
* build: use a separate variable checking the subdir path (for host packages)Felix Fietkau2016-01-201-1/+2
* host-build.mk: change default installation prefix of package/* host builds to...Felix Fietkau2016-01-201-2/+2
* build: move host build directories of package/* to build_dir/target-*/host/Felix Fietkau2016-01-201-2/+5
* build: add pure make tolower/toupper funtions that do not require shell callsFelix Fietkau2016-01-031-0/+14
* gcc: remove version 4.6, it is no longer neededFelix Fietkau2015-11-101-1/+1
* build: add -Wno-error=unused-result to target cflagsFelix Fietkau2015-11-101-1/+1
* rules.mk: export STAGING_DIR_HOST to sub-makefiles and shellsFelix Fietkau2015-11-071-1/+1
* build: Allow kernel modules to set build ID debug symbolFelix Fietkau2015-10-301-1/+2
* rules.mk: remove GCC 4.4 and GCC 4.5 conditionalFelix Fietkau2015-08-251-2/+2
* toolchain: only use fortify-headers for muslSteven Barth2015-06-291-1/+5
* toolchain: add fortify-headers, enable FORTIFY_SOURCE by defaultSteven Barth2015-06-231-1/+1
* toolchain: switch to musl by default, except for mips64Felix Fietkau2015-06-151-1/+1
* build: add integration for managing opkg package feed keysFelix Fietkau2015-04-061-0/+2
* rules.mk: add newline definitionJohn Crispin2015-03-151-0/+5
* rules.mk: don't add staging_dir/host/bin/ path againJo-Philipp Wich2015-02-101-1/+1
* scripts: extend rstrip.sh to remove bad rpathsJo-Philipp Wich2015-02-101-0/+1
pan class="p">; \ mkdir -p $(TMP_DIR)/dl && \ cd $(TMP_DIR)/dl && \ rm -rf $(SUBDIR) && \ [ \! -d $(SUBDIR) ] && \ git clone $(URL) $(SUBDIR) && \ (cd $(SUBDIR) && git checkout $(VERSION)) && \ echo "Packing checkout..." && \ rm -rf $(SUBDIR)/.git && \ $(call dl_pack,$(TMP_DIR)/dl/$(FILE),$(SUBDIR)) && \ mv $(TMP_DIR)/dl/$(FILE) $(DL_DIR)/; \ ) endef define DownloadMethod/hg $(call wrap_mirror, \ echo "Checking out files from the hg repository..."; \ mkdir -p $(TMP_DIR)/dl && \ cd $(TMP_DIR)/dl && \ rm -rf $(SUBDIR) && \ [ \! -d $(SUBDIR) ] && \ hg clone -r $(VERSION) $(URL) $(SUBDIR) && \ find $(SUBDIR) -name .hg | xargs rm -rf && \ echo "Packing checkout..." && \ $(call dl_pack,$(TMP_DIR)/dl/$(FILE),$(SUBDIR)) && \ mv $(TMP_DIR)/dl/$(FILE) $(DL_DIR)/; \ ) endef Validate/cvs=VERSION SUBDIR Validate/svn=VERSION SUBDIR Validate/git=VERSION SUBDIR Validate/hg=VERSION SUBDIR define Download/Defaults URL:= FILE:= PROTO:= MD5SUM:= SUBDIR:= MIRROR:=1 VERSION:= endef define Download $(eval $(Download/Defaults)) $(eval $(Download/$(1))) $(foreach FIELD,URL FILE $(Validate/$(call dl_method,$(URL),$(PROTO))), ifeq ($($(FIELD)),) $$(error Download/$(1) is missing the $(FIELD) field.) endif ) $(if $(DOWNLOAD_RDEP),$(DOWNLOAD_RDEP): $(DL_DIR)/$(FILE)) download: $(DL_DIR)/$(FILE) $(DL_DIR)/$(FILE): mkdir -p $(DL_DIR) $(if $(DownloadMethod/$(call dl_method,$(URL),$(PROTO))),$(DownloadMethod/$(call dl_method,$(URL),$(PROTO))),$(DownloadMethod/unknown)) endef