nbd
8e52b00c08
replace a few unnecessary $(shell) calls
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 14:55:53 +00:00
nbd
7f3b481ec9
speed up metadata scanning a lot by avoiding unnecessary shell commands and make recursions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 13:54:29 +00:00
ralph
0ca9e026a8
second part of target rootfs relocation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-20 10:44:19 +00:00
nico
fbdf4d4e51
remove LINUX_HEADERS_DIR, not used anymore
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29 20:37:58 +00:00
nico
6017696061
[cosmetic] indent soft-float options
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29 20:19:00 +00:00
nico
dc14c8ff2a
move IPKG_STATE_DIR from ./rules.mk to ./include/package-ipkg.mk and change its value to suit opkg
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29 20:13:01 +00:00
lars
11fff40857
Use multi libc naming scheme for PACKAGE_DIR
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-24 15:46:57 +00:00
nbd
eed8637788
Revert r14071
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 20:36:38 +00:00
nbd
da900351ff
add eabi suffix to the target name
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 19:15:09 +00:00
nbd
928d915afc
add support for an optional staging directory for debug binaries
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 03:21:25 +00:00
nico
c3c59f4189
[massive] 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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-08 01:49:11 +00:00
nbd
f868e3c1dc
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)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-06 15:56:30 +00:00
nbd
1238a16310
fix whitespace order in cflags without CONFIG_DEBUG to prevent breakage in some packages' configure step
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-13 17:41:02 +00:00
lars
efd888e4be
Revert r12510. Remove -rpath-link form TARGET_LDFLAGS as it breaks some
...
packages.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-13 14:34:43 +00:00
nbd
e5b23cb55a
add new option for enabling debugging symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-13 08:31:15 +00:00
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