diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-01-08 01:49:11 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-01-08 01:49:11 +0000 |
commit | c3c59f418996d48f4df202e480a34f32c90f8ee5 (patch) | |
tree | e9676ee4d01368996c17caf45fd31f861e3686af /package/kexec-tools | |
parent | 018a28f15805f8c1e3635314f0f96538a2912a5c (diff) |
[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
Diffstat (limited to 'package/kexec-tools')
-rw-r--r-- | package/kexec-tools/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/package/kexec-tools/Makefile b/package/kexec-tools/Makefile index cef46db4f..e49754246 100644 --- a/package/kexec-tools/Makefile +++ b/package/kexec-tools/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006 OpenWrt.org +# Copyright (C) 2006-2008 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -37,7 +37,7 @@ define Package/kexec-tools/config endef CONFIGURE_ARGS = \ - --target=$(CONFIG_KEXEC_TOOLS_TARGET_NAME)-linux-uclibc \ + --target=$(CONFIG_KEXEC_TOOLS_TARGET_NAME)-linux-$(TARGET_SUFFIX) \ --host=$(GNU_TARGET_NAME)-uclibc \ --build=$(GNU_HOST_NAME) \ --program-prefix="" \ @@ -49,7 +49,9 @@ CONFIGURE_ARGS = \ --libexecdir=/usr/lib \ --sysconfdir=/etc \ -CONFIGURE_VARS += BUILD_CC=$(HOSTCC) +CONFIGURE_VARS += \ + BUILD_CC=$(HOSTCC) \ + TARGET_CC=$(TARGET_CC) \ define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) all |