summaryrefslogtreecommitdiffstats
path: root/rules.mk
Commit message (Collapse)AuthorAgeFilesLines
...
* [massive] add support for alternative C libraries (currently only glibc/eglibc)nico2009-01-081-10/+13
| | | | | | | | | | | other (related) changes: - kernel headers are now installed using "make headers_install" on 2.6 - target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu) - build directory names now contain gcc/libc name/version - default cpu for x86 is now i486 (required to build glibc/eglibc) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add the make variable LIBGCC_S, which points to the correct libgcc ldflag ↵nbd2009-01-061-0/+1
| | | | | | (avr32 only has a static library, most targets use the dynamic one) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13892 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix whitespace order in cflags without CONFIG_DEBUG to prevent breakage in ↵nbd2008-09-131-1/+1
| | | | | | some packages' configure step git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12601 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert r12510. Remove -rpath-link form TARGET_LDFLAGS as it breaks somelars2008-09-131-3/+4
| | | | | | | packages. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12597 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add new option for enabling debugging symbolsnbd2008-09-131-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12591 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add -rpath-link to TARGET_LDFLAGS by defaultnbd2008-09-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12510 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add TARGET_CXX variable which points to the c++ cross compilernbd2008-09-011-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12466 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rework parallel building to get rid of some warningsnbd2008-08-161-1/+1
| | | | | | | | and add back support for parallelizing the kernel build fixes #3882 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12322 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a variable that contains the proper architecture-dependent -fPIC/-fpic ↵nbd2008-08-061-0/+6
| | | | | | cflag for building shared libraries git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add helper macro for stripping the last part of a version numbernbd2008-07-311-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12054 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Native toolchain does not support -fhonour-copts, do not add it to the ↵florian2008-07-191-5/+6
| | | | | | TARGET_CFLAGS git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11874 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adds missing patch for native toolchainblogic2008-06-101-5/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11425 3c298f89-4303-0410-b956-a3cf2f4a3e73
* large improvement for parallel builds. works without V=99 now and without ↵nbd2008-06-091-5/+6
| | | | | | warnings. tested with -j on an 2x dual core opteron machine git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11414 3c298f89-4303-0410-b956-a3cf2f4a3e73
* $(TARGET) is not anymore, replace it with $(ARCH) in ./bin/packages ↵nico2008-04-151-1/+1
| | | | | | subdirectories until we find something better git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10840 3c298f89-4303-0410-b956-a3cf2f4a3e73
* revert ARM to oabi by default, add some eabi patches for fixing up the ↵nbd2008-02-141-2/+2
| | | | | | toolchain, which unfortunately break eabi userland, but are IMHO a necessary basis for further eabi fixes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add $(TOOLCHAIN_DIR)/lib to $(TARGET_LDFLAGS) to ensure that all packages ↵nbd2008-01-141-1/+1
| | | | | | process this correctly - fixes build errors with openldap/php5 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10190 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixup softfloat handlingkaloz2007-12-281-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add $(STAGING_DIR)/host, which contains target specific, but host executable ↵nbd2007-12-271-1/+1
| | | | | | files git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9939 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove $(STAGING_DIR)/usr/bin from $(TARGET_PATH)nbd2007-12-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hopefully fix occasional uClibc/gcc build failuresnbd2007-12-131-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9717 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix hostapd rebuild check, isolate the common src/ directory for hostapd ↵nbd2007-11-171-6/+4
| | | | | | variants as well to fix compile errors when both variants are selected (#2722) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9575 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix config change detect for hostapdnbd2007-11-161-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9565 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add config symbols for the kernel versionnbd2007-11-101-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9520 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix empty download dir errornbd2007-10-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9462 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Treat i686 as an i386 if present, fixes build errors with wireless-tools on ↵florian2007-10-241-1/+1
| | | | | | i686 (x86 mediacenter) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* refreshed madwifi patchesblogic2007-10-201-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9380 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add possibility to set default .config valuesblogic2007-10-141-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9300 3c298f89-4303-0410-b956-a3cf2f4a3e73
* changed the -fhonours-copts gcc patch, such that the function needs to be ↵blogic2007-10-071-0/+1
| | | | | | turned on explicitly git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9167 3c298f89-4303-0410-b956-a3cf2f4a3e73
* export STAGING_DIRnbd2007-10-061-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9160 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Refactor downloading code into download.mknbd2007-09-291-1/+4
| | | | | | | | Support multiple file downloads Support svn downloads git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* major target cleanup. it is now possible to have subtargets that can ↵nbd2007-09-081-3/+7
| | | | | | override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move TARGET_* flags from ./include/package-default.mk to ./rules.mk, remove ↵nico2007-09-031-4/+2
| | | | | | EXTRA_* flags but still use them in configure and make git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8592 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move ipkg related vars from ./rules.mk to ./include/package-ipkg.mknico2007-09-031-12/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8581 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove uneeded PATH setting in ipkg invocationnico2007-09-031-3/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8580 3c298f89-4303-0410-b956-a3cf2f4a3e73
* clean up recursive dependency handling, use timestamp.pl again, because it ↵nbd2007-08-301-0/+2
| | | | | | saves memory and execution time git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8558 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add back STAGING_DIR/usr/bin to TARGET_PATH until all library packages that ↵nico2007-08-191-1/+1
| | | | | | install *-config scripts there are fixed git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8429 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build system cleanup/restructuring as described in ↵nbd2007-08-071-28/+36
| | | | | | http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will ↵nbd2007-07-311-1/+1
| | | | | | emit warnings in packages that don't use our target cflags properly git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8256 3c298f89-4303-0410-b956-a3cf2f4a3e73
* more build system cleanupnbd2007-07-281-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8206 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add optionnal support for a BUILD_DIR suffix (#2057)florian2007-07-191-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* don't include .config if DUMP is setnbd2007-06-261-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7738 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Remove a debug statement from trx.c, add config changes for at91hcg2007-06-041-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7491 3c298f89-4303-0410-b956-a3cf2f4a3e73
* the default_subtargets template was a bad idea, since different makefiles ↵nbd2007-04-181-21/+0
| | | | | | require different types of dependencies for subtargets. nuke it... git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Improved autorebuild for kernel related stuff.nbd2007-04-181-1/+1
| | | | | | | | | | - make modules_install in the kernel tree is no longer called - make modules is called on every target/compile run - kmod packages pull the kernel modules directly out of the kernel tree and have proper file depends on them git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* revert [6857] for rules.mk; make cannot parse dependancies properlymbm2007-04-041-3/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Tidy up Makefilesmbm2007-04-031-11/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6857 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Added rule for objdumphcg2007-03-221-1/+2
| | | | | | | Added support for AT91 SD-Card in primary bootloader (romboot) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6638 3c298f89-4303-0410-b956-a3cf2f4a3e73
* clean up stampfile mess for tools/ and toolchain/nbd2007-02-251-0/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6357 3c298f89-4303-0410-b956-a3cf2f4a3e73
* more fixes for rstrip.sh and kernel modules - fixes #1301nbd2007-02-091-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix overzealous kmod stripping - it killed kernel module parameters (#1301)nbd2007-02-061-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6271 3c298f89-4303-0410-b956-a3cf2f4a3e73