Commit Graph

53 Commits

Author SHA1 Message Date
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
Nicolas Thill
de265bba1c add back STAGING_DIR/usr/bin to TARGET_PATH until all library packages that install *-config scripts there are fixed
SVN-Revision: 8429
2007-08-19 06:41:38 +00:00
Felix Fietkau
c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
2007-08-07 00:04:25 +00:00
Felix Fietkau
99368862e4 Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will emit warnings in packages that don't use our target cflags properly
SVN-Revision: 8256
2007-07-31 00:52:27 +00:00
Felix Fietkau
9c88ba80b9 more build system cleanup
SVN-Revision: 8206
2007-07-28 13:00:43 +00:00
Florian Fainelli
38c3a1299e Add optionnal support for a BUILD_DIR suffix (#2057)
SVN-Revision: 8050
2007-07-19 12:09:52 +00:00
Felix Fietkau
4b0c035a93 don't include .config if DUMP is set
SVN-Revision: 7738
2007-06-26 20:24:55 +00:00
Hamish Guthrie
e970f61273 Remove a debug statement from trx.c, add config changes for at91
SVN-Revision: 7491
2007-06-04 17:39:38 +00:00
Felix Fietkau
1099e2d679 the default_subtargets template was a bad idea, since different makefiles require different types of dependencies for subtargets. nuke it...
SVN-Revision: 7003
2007-04-18 17:35:46 +00:00
Felix Fietkau
4c6c987f09 Improved autorebuild for kernel related stuff. - 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
SVN-Revision: 6998
2007-04-18 12:28:38 +00:00
Mike Baker
9f142dcc0d revert [6857] for rules.mk; make cannot parse dependancies properly
SVN-Revision: 6860
2007-04-04 09:05:34 +00:00
Mike Baker
23efe5fc83 Tidy up Makefiles
SVN-Revision: 6857
2007-04-03 23:03:56 +00:00
Hamish Guthrie
d9b2f5c07b Added rule for objdump Added support for AT91 SD-Card in primary bootloader (romboot)
SVN-Revision: 6638
2007-03-22 18:07:01 +00:00
Felix Fietkau
ced1277147 clean up stampfile mess for tools/ and toolchain/
SVN-Revision: 6357
2007-02-25 17:49:25 +00:00
Felix Fietkau
d0e1033a26 more fixes for rstrip.sh and kernel modules - fixes #1301
SVN-Revision: 6280
2007-02-09 16:24:34 +00:00
Felix Fietkau
0637295704 fix overzealous kmod stripping - it killed kernel module parameters (#1301)
SVN-Revision: 6271
2007-02-06 00:56:36 +00:00
Felix Fietkau
583ce4598b another compile fix
SVN-Revision: 6155
2007-01-21 02:18:53 +00:00
Felix Fietkau
3133fefe06 pass the CFLAGS through the environment on compile and fix a few packages
SVN-Revision: 6154
2007-01-21 02:14:50 +00:00
Rod Whitby
6d90528963 Added OBJCOPY variable for calling the cross-objcopy command (required for Apex booloader)
SVN-Revision: 5949
2007-01-01 00:03:09 +00:00
Florian Fainelli
9f048d5ac7 Add an install rule for configuration files
SVN-Revision: 5946
2006-12-31 15:54:59 +00:00
Felix Fietkau
6f6d4cf717 add staging_dir_*/usr/sbin to the TARGET_PATH (for grub)
SVN-Revision: 5904
2006-12-27 17:37:28 +00:00
Felix Fietkau
392966798b add INSTALL_BIN, INSTALL_DIR, INSTALL_DATA variables
SVN-Revision: 5619
2006-11-22 23:05:54 +00:00
Felix Fietkau
8838ffd68d speed up the build system a little bit
SVN-Revision: 5506
2006-11-12 01:49:35 +00:00
Felix Fietkau
cf4e7af392 make target/linux/* directories self-contained, use the selected kernel version for the toolchain, autogenerate menuconfig and makefile code for target selection
SVN-Revision: 5498
2006-11-11 23:11:02 +00:00