From b7804d3a77ad1d60bfcdabe18f38cf374e690721 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 7 Mar 2015 09:51:29 +0100 Subject: [PATCH] allow to set target float via environment --- mk/build.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mk/build.mk b/mk/build.mk index 8fc7bcd68..0cc20a2e4 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -438,6 +438,12 @@ endif |sed -e "s#^config \(.*\)#\1=y#" \ >> $(ADK_TOPDIR)/.defconfig; \ fi + @if [ ! -z "$(ADK_TARGET_FLOAT)" ];then \ + grep "^config" target/config/Config.in.float.choice \ + |grep -i "$(ADK_TARGET_FLOAT)$$" \ + |sed -e "s#^config \(.*\)#\1=y#" \ + >> $(ADK_TOPDIR)/.defconfig; \ + fi @if [ ! -z "$(ADK_TARGET_ENDIAN)" ];then \ grep "^config" target/config/Config.in.endian.choice \ |grep -i "$(ADK_TARGET_ENDIAN)" \ -- 2.11.4.GIT