summaryrefslogtreecommitdiff
path: root/package/kexec-tools
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-07 03:00:04 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-07 03:00:04 +0000
commit39ed77af1e24c9bee00ee5261f4e44e475e9700b (patch)
tree78abee54dc6c42f9adc2300de7948dbc9029109d /package/kexec-tools
parent9a319f4c479163ac7114c72c1e8c25697cb65e5e (diff)
fix kexec-tools builds when libc != uClibc, strip quotes from KEXEC_TARGET_NAME config option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16729 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kexec-tools')
-rw-r--r--package/kexec-tools/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/kexec-tools/Makefile b/package/kexec-tools/Makefile
index 910b6a25ae..3f6137d3da 100644
--- a/package/kexec-tools/Makefile
+++ b/package/kexec-tools/Makefile
@@ -35,9 +35,11 @@ define Package/kexec-tools/config
source "$(SOURCE)/kexec-config.in"
endef
+KEXEC_TARGET_NAME:=$(call qstrip,$(CONFIG_KEXEC_TOOLS_TARGET_NAME))-linux-$(TARGET_SUFFIX)
+
CONFIGURE_ARGS = \
- --target=$(CONFIG_KEXEC_TOOLS_TARGET_NAME)-linux-$(TARGET_SUFFIX) \
- --host=$(GNU_TARGET_NAME)-uclibc \
+ --target=$(KEXEC_TARGET_NAME) \
+ --host=$(REAL_GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--program-prefix="" \
--program-suffix="" \