aboutsummaryrefslogtreecommitdiffstats
path: root/rules.mk
Commit message (Expand)AuthorAgeFilesLines
* Set TARGET_CXX to 'no' if c++ is not enabled in the toolchain.Lars-Peter Clausen2009-05-301-1/+1
* added BUILD_LOG_DIR variable, make clean will delete the ./logs dirRalph Hempel2009-05-281-0/+1
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-171-1/+0
* move cflags default setting to target makefilesFelix Fietkau2009-03-141-0/+1
* prepend $(STAGING_DIR)/host to the PATH only in target-package stampfile targ...Felix Fietkau2009-03-091-1/+2
* replace a few unnecessary $(shell) callsFelix Fietkau2009-03-031-5/+3
* speed up metadata scanning a lot by avoiding unnecessary shell commands and m...Felix Fietkau2009-03-031-0/+2
* second part of target rootfs relocationRalph Hempel2009-02-201-1/+2
* remove LINUX_HEADERS_DIR, not used anymoreNicolas Thill2009-01-291-2/+0
* indent soft-float optionsNicolas Thill2009-01-291-3/+3
* move IPKG_STATE_DIR from ./rules.mk to ./include/package-ipkg.mk and change i...Nicolas Thill2009-01-291-1/+0
* Use multi libc naming scheme for PACKAGE_DIRLars-Peter Clausen2009-01-241-1/+1
* Revert r14071Felix Fietkau2009-01-171-1/+1
* add eabi suffix to the target nameFelix Fietkau2009-01-171-1/+1
* add support for an optional staging directory for debug binariesFelix Fietkau2009-01-131-0/+1
* add support for alternative C libraries (currently only glibc/eglibc) other (...Nicolas Thill2009-01-081-10/+13
* add the make variable LIBGCC_S, which points to the correct libgcc ldflag (av...Felix Fietkau2009-01-061-0/+1
* fix whitespace order in cflags without CONFIG_DEBUG to prevent breakage in so...Felix Fietkau2008-09-131-1/+1
* Revert r12510. Remove -rpath-link form TARGET_LDFLAGS as it breaks some packa...Lars-Peter Clausen2008-09-131-3/+4
* add new option for enabling debugging symbolsFelix Fietkau2008-09-131-2/+2
* add -rpath-link to TARGET_LDFLAGS by defaultFelix Fietkau2008-09-031-1/+1
* add TARGET_CXX variable which points to the c++ cross compilerFelix Fietkau2008-09-011-1/+2
* rework parallel building to get rid of some warnings and add back support for...Felix Fietkau2008-08-161-1/+1
* add a variable that contains the proper architecture-dependent -fPIC/-fpic cf...Felix Fietkau2008-08-061-0/+6
* add helper macro for stripping the last part of a version numberFelix Fietkau2008-07-311-0/+1
* Native toolchain does not support -fhonour-copts, do not add it to the TARGET...Florian Fainelli2008-07-191-5/+6
* adds missing patch for native toolchainJohn Crispin2008-06-101-5/+9
* large improvement for parallel builds. works without V=99 now and without war...Felix Fietkau2008-06-091-5/+6
* $(TARGET) is not anymore, replace it with $(ARCH) in ./bin/packages subdirect...Nicolas Thill2008-04-151-1/+1
* revert ARM to oabi by default, add some eabi patches for fixing up the toolch...Felix Fietkau2008-02-141-2/+2
* add $(TOOLCHAIN_DIR)/lib to $(TARGET_LDFLAGS) to ensure that all packages pro...Felix Fietkau2008-01-141-1/+1
* fixup softfloat handlingImre Kaloz2007-12-281-0/+7
* add $(STAGING_DIR)/host, which contains target specific, but host executable ...Felix Fietkau2007-12-271-1/+1
* remove $(STAGING_DIR)/usr/bin from $(TARGET_PATH)Felix Fietkau2007-12-231-1/+1
* hopefully fix occasional uClibc/gcc build failuresFelix Fietkau2007-12-131-2/+2
* fix hostapd rebuild check, isolate the common src/ directory for hostapd vari...Felix Fietkau2007-11-171-6/+4
* fix config change detect for hostapdFelix Fietkau2007-11-161-1/+4
* add config symbols for the kernel versionFelix Fietkau2007-11-101-0/+4
* fix empty download dir errorFelix Fietkau2007-10-291-1/+1
* Treat i686 as an i386 if present, fixes build errors with wireless-tools on i...Florian Fainelli2007-10-241-1/+1
* refreshed madwifi patchesJohn Crispin2007-10-201-0/+4
* add possibility to set default .config valuesJohn Crispin2007-10-141-1/+1
* changed the -fhonours-copts gcc patch, such that the function needs to be tur...John Crispin2007-10-071-0/+1
* export STAGING_DIRFelix Fietkau2007-10-061-0/+1
* Refactor downloading code into download.mk Support multiple file downloads Su...Felix Fietkau2007-09-291-1/+4
* major target cleanup. it is now possible to have subtargets that can override...Felix Fietkau2007-09-081-3/+7
* move TARGET_* flags from ./include/package-default.mk to ./rules.mk, remove E...Nicolas Thill2007-09-031-4/+2
* move ipkg related vars from ./rules.mk to ./include/package-ipkg.mkNicolas Thill2007-09-031-12/+0
* remove uneeded PATH setting in ipkg invocationNicolas Thill2007-09-031-3/+2
* clean up recursive dependency handling, use timestamp.pl again, because it sa...Felix Fietkau2007-08-301-0/+2
an class="k">$(package/$(pkg)/variants)), \ $(package/$(pkg)/variants), \ $(if $(package/$(pkg)/default-variant), \ $(package/$(pkg)/default-variant), \ default \ ) \ ), \ $(PKG_INFO_DIR)/$(lastword $(subst /,$(space),$(pkg))).$(variant).install \ ) \ ) $(curdir)/cleanup: $(TMP_DIR)/.build rm -rf $(STAGING_DIR_ROOT) $(curdir)/install: $(TMP_DIR)/.build - find $(STAGING_DIR_ROOT) -type d | $(XARGS) chmod 0755 rm -rf $(TARGET_DIR) [ -d $(TARGET_DIR)/tmp ] || mkdir -p $(TARGET_DIR)/tmp @$(FIND) `sed -e 's|.*|$(PACKAGE_DIR)/&_*.ipk|' $(PACKAGE_INSTALL_FILES)` | sort -u | $(OPKG) install @for file in $(PACKAGE_INSTALL_FILES); do \ [ -s $$file.flags ] || continue; \ for flag in `cat $$file.flags`; do \ $(OPKG) flag $$flag < $$file; \ done; \ done || true @-$(MAKE) package/preconfig @if [ -d $(TOPDIR)/files ]; then \ $(call file_copy,$(TOPDIR)/files/.,$(TARGET_DIR)); \ fi @mkdir -p $(TARGET_DIR)/etc/rc.d @( \ cd $(TARGET_DIR); \ for script in ./etc/init.d/*; do \ grep '#!/bin/sh /etc/rc.common' $$script >/dev/null || continue; \ IPKG_INSTROOT=$(TARGET_DIR) $$(which bash) ./etc/rc.common $$script enable; \ done || true \ ) @-find $(TARGET_DIR) -name CVS | $(XARGS) rm -rf @-find $(TARGET_DIR) -name .svn | $(XARGS) rm -rf @-find $(TARGET_DIR) -name '.#*' | $(XARGS) rm -f rm -f $(TARGET_DIR)/usr/lib/opkg/info/*.postinst $(if $(CONFIG_CLEAN_IPKG),rm -rf $(TARGET_DIR)/usr/lib/opkg) $(call mklibs) PASSOPT="" PASSARG="" ifndef CONFIG_OPKGSMIME_PASSPHRASE ifneq ($(call qstrip,$(CONFIG_OPKGSMIME_PASSFILE)),) PASSOPT="-passin" PASSARG="file:$(call qstrip,$(CONFIG_OPKGSMIME_PASSFILE))" endif endif $(curdir)/index: FORCE @echo Generating package index... @(cd $(PACKAGE_DIR); \ $(SCRIPT_DIR)/ipkg-make-index.sh . 2>&1 > Packages && \ gzip -9c Packages > Packages.gz ) ifeq ($(call qstrip,$(CONFIG_OPKGSMIME_KEY)),) @echo Signing key has not been configured else ifeq ($(call qstrip,$(CONFIG_OPKGSMIME_CERT)),) @echo Certificate has not been configured else @echo Signing package index... @(cd $(PACKAGE_DIR); \ openssl smime -binary -in Packages.gz \ -out Packages.sig -outform PEM -sign \ -signer $(CONFIG_OPKGSMIME_CERT) \ -inkey $(CONFIG_OPKGSMIME_KEY) \ $(PASSOPT) $(PASSARG) ) endif endif $(curdir)/preconfig: $(curdir)/flags-install:= -j1 $(eval $(call stampfile,$(curdir),package,prereq,.config)) $(eval $(call stampfile,$(curdir),package,cleanup,$(TMP_DIR)/.build)) $(eval $(call stampfile,$(curdir),package,compile,$(TMP_DIR)/.build)) $(eval $(call stampfile,$(curdir),package,install,$(TMP_DIR)/.build)) $(eval $(call subdir,$(curdir)))