diff options
Diffstat (limited to 'mk/build.mk')
-rw-r--r-- | mk/build.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mk/build.mk b/mk/build.mk index ac03c6881..29d5023d4 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -358,6 +358,12 @@ endif |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)" \ + |sed -e "s#^config \(.*\)#\1=y#" \ + >> $(ADK_TOPDIR)/.defconfig; \ + fi @if [ ! -z "$(ADK_TARGET_COLLECTION)" ];then \ grep -h "^config" target/collections/* \ |grep -i "$(ADK_TARGET_COLLECTION)" \ |