Commit Graph

76 Commits (956c268381a5ac936fc8f7bf58d215e8c34c233b)

Author SHA1 Message Date
Lars-Peter Clausen ebeb3829e1 Set TARGET_CXX to 'no' if c++ is not enabled in the toolchain.
SVN-Revision: 16213
2009-05-30 15:48:44 +00:00
Ralph Hempel c4d7af7094 added BUILD_LOG_DIR variable, make clean will delete the ./logs dir
SVN-Revision: 16148
2009-05-28 16:30:04 +00:00
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Felix Fietkau 72faa09dff move cflags default setting to target makefiles
SVN-Revision: 14866
2009-03-14 03:17:06 +00:00
Felix Fietkau b6f0cb5366 prepend $(STAGING_DIR)/host to the PATH only in target-package stampfile targets, should fix usage of cross tools with host builds
SVN-Revision: 14800
2009-03-09 01:15:59 +00:00
Felix Fietkau 431c9267b4 replace a few unnecessary $(shell) calls
SVN-Revision: 14739
2009-03-03 14:55:53 +00:00
Felix Fietkau 127296bc45 speed up metadata scanning a lot by avoiding unnecessary shell commands and make recursions
SVN-Revision: 14734
2009-03-03 13:54:29 +00:00
Ralph Hempel 70633d5f2f second part of target rootfs relocation
SVN-Revision: 14578
2009-02-20 10:44:19 +00:00
Nicolas Thill db059cc0ff remove LINUX_HEADERS_DIR, not used anymore
SVN-Revision: 14271
2009-01-29 20:37:58 +00:00
Nicolas Thill 343c412a22 indent soft-float options
SVN-Revision: 14270
2009-01-29 20:19:00 +00:00
Nicolas Thill 1be5092692 move IPKG_STATE_DIR from ./rules.mk to ./include/package-ipkg.mk and change its value to suit opkg
SVN-Revision: 14269
2009-01-29 20:13:01 +00:00
Lars-Peter Clausen 28abf79c44 Use multi libc naming scheme for PACKAGE_DIR
SVN-Revision: 14168
2009-01-24 15:46:57 +00:00
Felix Fietkau ab0c71fe99 Revert r14071
SVN-Revision: 14077
2009-01-17 20:36:38 +00:00
Felix Fietkau 55a7b0a6e1 add eabi suffix to the target name
SVN-Revision: 14071
2009-01-17 19:15:09 +00:00
Felix Fietkau eb1c4db039 add support for an optional staging directory for debug binaries
SVN-Revision: 14018
2009-01-13 03:21:25 +00:00
Nicolas Thill a3edea1b91 add support for alternative C libraries (currently only glibc/eglibc) 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)
SVN-Revision: 13931
2009-01-08 01:49:11 +00:00
Felix Fietkau 0434df7fee add the make variable LIBGCC_S, which points to the correct libgcc ldflag (avr32 only has a static library, most targets use the dynamic one)
SVN-Revision: 13892
2009-01-06 15:56:30 +00:00
Felix Fietkau 87f9c56103 fix whitespace order in cflags without CONFIG_DEBUG to prevent breakage in some packages' configure step
SVN-Revision: 12601
2008-09-13 17:41:02 +00:00
Lars-Peter Clausen b7b1b8dc73 Revert r12510. Remove -rpath-link form TARGET_LDFLAGS as it breaks some packages.
SVN-Revision: 12597
2008-09-13 14:34:43 +00:00
Felix Fietkau 373e5f5e8d add new option for enabling debugging symbols
SVN-Revision: 12591
2008-09-13 08:31:15 +00:00
Felix Fietkau 6acecfb3cd add -rpath-link to TARGET_LDFLAGS by default
SVN-Revision: 12510
2008-09-03 13:18:52 +00:00
Felix Fietkau eef95be7a2 add TARGET_CXX variable which points to the c++ cross compiler
SVN-Revision: 12466
2008-09-01 18:35:03 +00:00
Felix Fietkau a3a37d0bb1 rework parallel building to get rid of some warnings and add back support for parallelizing the kernel build fixes #3882
SVN-Revision: 12322
2008-08-16 16:59:47 +00:00
Felix Fietkau 14ac8769b2 add a variable that contains the proper architecture-dependent -fPIC/-fpic cflag for building shared libraries
SVN-Revision: 12224
2008-08-06 22:10:20 +00:00
Felix Fietkau 214cac6482 add helper macro for stripping the last part of a version number
SVN-Revision: 12054
2008-07-31 23:55:39 +00:00
Florian Fainelli 958c4eac47 Native toolchain does not support -fhonour-copts, do not add it to the TARGET_CFLAGS
SVN-Revision: 11874
2008-07-19 16:29:01 +00:00
John Crispin c9d9f8045c adds missing patch for native toolchain
SVN-Revision: 11425
2008-06-10 07:18:41 +00:00
Felix Fietkau 4c665e6ca4 large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine
SVN-Revision: 11414
2008-06-09 15:38:45 +00:00
Nicolas Thill 7a0b9f1d28 $(TARGET) is not anymore, replace it with $(ARCH) in ./bin/packages subdirectories until we find something better
SVN-Revision: 10840
2008-04-15 02:17:38 +00:00
Felix Fietkau 82572cf767 revert ARM to oabi by default, add some eabi patches for fixing up the toolchain, which unfortunately break eabi userland, but are IMHO a necessary basis for further eabi fixes
SVN-Revision: 10458
2008-02-14 14:31:31 +00:00
Felix Fietkau 903af2c13e add $(TOOLCHAIN_DIR)/lib to $(TARGET_LDFLAGS) to ensure that all packages process this correctly - fixes build errors with openldap/php5
SVN-Revision: 10190
2008-01-14 12:28:53 +00:00
Imre Kaloz 915e6b89b5 fixup softfloat handling
SVN-Revision: 10003
2007-12-28 18:06:47 +00:00
Felix Fietkau 28922775b6 add $(STAGING_DIR)/host, which contains target specific, but host executable files
SVN-Revision: 9939
2007-12-27 02:10:54 +00:00
Felix Fietkau abf6bfff51 remove $(STAGING_DIR)/usr/bin from $(TARGET_PATH)
SVN-Revision: 9851
2007-12-23 00:41:35 +00:00
Felix Fietkau d48912ffe9 hopefully fix occasional uClibc/gcc build failures
SVN-Revision: 9717
2007-12-13 01:17:26 +00:00
Felix Fietkau 4235aee8c2 fix hostapd rebuild check, isolate the common src/ directory for hostapd variants as well to fix compile errors when both variants are selected (#2722)
SVN-Revision: 9575
2007-11-17 14:14:16 +00:00
Felix Fietkau a8c17898cc fix config change detect for hostapd
SVN-Revision: 9565
2007-11-16 03:47:11 +00:00
Felix Fietkau 6e03b9ce43 add config symbols for the kernel version
SVN-Revision: 9520
2007-11-10 15:22:53 +00:00
Felix Fietkau 42f055bfda fix empty download dir error
SVN-Revision: 9462
2007-10-29 22:05:23 +00:00
Florian Fainelli d22f50a252 Treat i686 as an i386 if present, fixes build errors with wireless-tools on i686 (x86 mediacenter)
SVN-Revision: 9439
2007-10-24 20:03:14 +00:00
John Crispin 9f73ab51f3 refreshed madwifi patches
SVN-Revision: 9380
2007-10-20 19:13:53 +00:00
John Crispin 1a3c4d1090 add possibility to set default .config values
SVN-Revision: 9300
2007-10-14 02:15:37 +00:00
John Crispin cfd0fecd47 changed the -fhonours-copts gcc patch, such that the function needs to be turned on explicitly
SVN-Revision: 9167
2007-10-07 00:26:02 +00:00
Felix Fietkau 446881738f export STAGING_DIR
SVN-Revision: 9160
2007-10-06 19:13:07 +00:00
Felix Fietkau dbeb0fad24 Refactor downloading code into download.mk Support multiple file downloads Support svn downloads
SVN-Revision: 9057
2007-09-29 00:05:48 +00:00
Felix Fietkau a9d683ca91 major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
SVN-Revision: 8694
2007-09-08 19:55:42 +00:00
Nicolas Thill 5b4bfbd6d4 move TARGET_* flags from ./include/package-default.mk to ./rules.mk, remove EXTRA_* flags but still use them in configure and make
SVN-Revision: 8592
2007-09-03 09:06:03 +00:00
Nicolas Thill 3f80599cda move ipkg related vars from ./rules.mk to ./include/package-ipkg.mk
SVN-Revision: 8581
2007-09-03 06:46:44 +00:00
Nicolas Thill 9400ad240f remove uneeded PATH setting in ipkg invocation
SVN-Revision: 8580
2007-09-03 05:50:05 +00:00
Felix Fietkau 5f748a6c24 clean up recursive dependency handling, use timestamp.pl again, because it saves memory and execution time
SVN-Revision: 8558
2007-08-30 21:12:39 +00:00