summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-03-07 09:51:29 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-03-07 09:51:29 +0100
commitb7804d3a77ad1d60bfcdabe18f38cf374e690721 (patch)
treef22fd2fb2a36484ff4afe292abab717cc2c0f86b /mk
parent2e8dfd38c5a575dab56c52f36fee51f345b20518 (diff)
allow to set target float via environment
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk6
1 files changed, 6 insertions, 0 deletions
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)" \