X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/6f5a624c71b763189516925c0af5319bddfac28c..e6862c42e8b57520083d47e676a6be5c6058f39d:/package/kexec-tools/Makefile diff --git a/package/kexec-tools/Makefile b/package/kexec-tools/Makefile index 910b6a25a..3f6137d3d 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="" \