nbd
2b5de05a08
move the package dir to bin/packages/$(BOARD)_$(LIBC)-$(LIBCV) to prevent multiple configs with the same arch from deleting each others' packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-20 15:31:17 +00:00
nbd
b69805034d
add a staging directory for unstripped package files, useful for debugging, will be used for mklibs integration later
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07 21:58:35 +00:00
nbd
6f02f68928
add -L$(TOOLCHAIN_DIR)/lib to the LIBGCC_S variable, if necessary
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-01 21:29:00 +00:00
florian
a31a51e943
[package] do not set anything in DISABLE_IPV6 when set, let the package pick up the defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-01 12:12:48 +00:00
florian
53ea39ed02
[package] globally define IPv6 support or not in OpenWrt, just like for largefiles, ipv6 disabled by default ( #4857 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-25 21:45:51 +00:00
nico
9a319f4c47
add a config option to select the binary stripping method to use (between none, strip & sstrip)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-07 02:34:58 +00:00
lars
e1f39cadfc
Set TARGET_CXX to 'no' if c++ is not enabled in the toolchain.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-30 15:48:44 +00:00
ralph
51def42732
added BUILD_LOG_DIR variable, make clean will delete the ./logs dir
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28 16:30:04 +00:00
nbd
796a9d1091
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
nbd
3ce8595b78
move cflags default setting to target makefiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 03:17:06 +00:00
nbd
12ef7b4712
prepend $(STAGING_DIR)/host to the PATH only in target-package stampfile targets, should fix usage of cross tools with host builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-09 01:15:59 +00:00
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