nbd
60d7093efa
add -rpath-link to TARGET_LDFLAGS by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-03 13:18:52 +00:00
nbd
56b1ad321a
add TARGET_CXX variable which points to the c++ cross compiler
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-01 18:35:03 +00:00
nbd
3e8bff3590
rework parallel building to get rid of some warnings
...
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
2008-08-16 16:59:47 +00:00
nbd
05e6976da2
add a variable that contains the proper architecture-dependent -fPIC/-fpic cflag for building shared libraries
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-06 22:10:20 +00:00
nbd
df27ff981b
add helper macro for stripping the last part of a version number
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 23:55:39 +00:00
florian
3746779982
Native toolchain does not support -fhonour-copts, do not add it to the TARGET_CFLAGS
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-19 16:29:01 +00:00
blogic
fbaee64c45
adds missing patch for native toolchain
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-10 07:18:41 +00:00
nbd
83b31e078f
large improvement for parallel builds. works without V=99 now and without 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
2008-06-09 15:38:45 +00:00
nico
b28d42be54
$(TARGET) is not anymore, replace it with $(ARCH) in ./bin/packages subdirectories until we find something better
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-15 02:17:38 +00:00
nbd
aa7be8c164
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-14 14:31:31 +00:00
nbd
36ee68ed14
add $(TOOLCHAIN_DIR)/lib to $(TARGET_LDFLAGS) to ensure that all packages process this correctly - fixes build errors with openldap/php5
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-14 12:28:53 +00:00
kaloz
11c2779e23
fixup softfloat handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:06:47 +00:00
nbd
bb25bc5138
add $(STAGING_DIR)/host, which contains target specific, but host executable files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-27 02:10:54 +00:00
nbd
234eabf9cd
remove $(STAGING_DIR)/usr/bin from $(TARGET_PATH)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-23 00:41:35 +00:00
nbd
c15eb41ef9
hopefully fix occasional uClibc/gcc build failures
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-13 01:17:26 +00:00
nbd
d4125cfaa4
fix hostapd rebuild check, isolate the common src/ directory for hostapd 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
2007-11-17 14:14:16 +00:00
nbd
9d70dd66e9
fix config change detect for hostapd
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-16 03:47:11 +00:00
nbd
1cf8903c69
add config symbols for the kernel version
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-10 15:22:53 +00:00
nbd
8418c95a34
fix empty download dir error
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-29 22:05:23 +00:00
florian
92896c8dca
Treat i686 as an i386 if present, fixes build errors with wireless-tools on i686 (x86 mediacenter)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-24 20:03:14 +00:00
blogic
32d35e5428
refreshed madwifi patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-20 19:13:53 +00:00
blogic
871a6908a5
add possibility to set default .config values
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-14 02:15:37 +00:00
blogic
a5d5856756
changed the -fhonours-copts gcc patch, such that the function needs to be turned on explicitly
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-07 00:26:02 +00:00
nbd
2880f4e791
export STAGING_DIR
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-06 19:13:07 +00:00
nbd
900c05f6e1
Refactor downloading code into download.mk
...
Support multiple file downloads
Support svn downloads
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 00:05:48 +00:00
nbd
6db7ad74f6
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
nico
547fd77e20
move TARGET_* flags from ./include/package-default.mk to ./rules.mk, remove 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
2007-09-03 09:06:03 +00:00
nico
39a3cef8d7
move ipkg related vars from ./rules.mk to ./include/package-ipkg.mk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03 06:46:44 +00:00
nico
44ba00bfa1
remove uneeded PATH setting in ipkg invocation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03 05:50:05 +00:00
nbd
40aa2d8b06
clean up recursive dependency handling, use timestamp.pl again, because it saves memory and execution time
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-30 21:12:39 +00:00
nico
5820176c95
add back STAGING_DIR/usr/bin to TARGET_PATH until all library packages that install *-config scripts there are fixed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-19 06:41:38 +00:00
nbd
12c49b6a6a
build system cleanup/restructuring as described in 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
2007-08-07 00:04:25 +00:00
nbd
32a98d23ea
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-31 00:52:27 +00:00
nbd
389529fe35
more build system cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 13:00:43 +00:00
florian
8119784b65
Add optionnal support for a BUILD_DIR suffix ( #2057 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-19 12:09:52 +00:00
nbd
2e8859ece5
don't include .config if DUMP is set
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-26 20:24:55 +00:00
hcg
2f8d658a22
Remove a debug statement from trx.c, add config changes for at91
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-04 17:39:38 +00:00
nbd
7a1a2ed509
the default_subtargets template was a bad idea, since different makefiles require different types of dependencies for subtargets. nuke it...
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-18 17:35:46 +00:00
nbd
83790f74ad
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-18 12:28:38 +00:00
mbm
ccaa720fcf
revert [6857] for rules.mk; make cannot parse dependancies properly
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-04 09:05:34 +00:00
mbm
947ca6f4e8
Tidy up Makefiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-03 23:03:56 +00:00
hcg
6d08e7e4fe
Added rule for objdump
...
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
2007-03-22 18:07:01 +00:00
nbd
d415d5f3e6
clean up stampfile mess for tools/ and toolchain/
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 17:49:25 +00:00
nbd
267cc36546
more fixes for rstrip.sh and kernel modules - fixes #1301
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-09 16:24:34 +00:00
nbd
d286ea505d
fix overzealous kmod stripping - it killed kernel module parameters ( #1301 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-06 00:56:36 +00:00
nbd
5b651a6721
another compile fix
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-21 02:18:53 +00:00
nbd
bbe1e39616
pass the CFLAGS through the environment on compile and fix a few packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-21 02:14:50 +00:00
rwhitby
cde9f30b2a
Added OBJCOPY variable for calling the cross-objcopy command (required for Apex booloader)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-01 00:03:09 +00:00
florian
2751644833
Add an install rule for configuration files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-31 15:54:59 +00:00
nbd
6c93a964d2
add staging_dir_*/usr/sbin to the TARGET_PATH (for grub)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-27 17:37:28 +00:00