diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-07-05 13:20:32 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-07-05 13:21:38 +0200 |
commit | 13987e7baab1da72f4187ef90229a8ab45f58e01 (patch) | |
tree | 22091ab06506d8f967a2c5ee635fe8ea4761f783 /mk/build.mk | |
parent | 5ce7c00aadc63e34d8629b36b8c7cf3c9ee0c380 (diff) |
add support for uClibc-ng in parallel to uClibc.
This helps to find any regressions made in uClibc-ng.
Diffstat (limited to 'mk/build.mk')
-rw-r--r-- | mk/build.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/build.mk b/mk/build.mk index 29d5023d4..78e371fbc 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -358,7 +358,7 @@ endif |sed -e "s#^config \(.*\)#\1=y#" \ >> $(ADK_TOPDIR)/.defconfig; \ fi - if [ ! -z "$(ADK_TARGET_ENDIAN)" ];then \ + @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#" \ @@ -371,8 +371,9 @@ endif >> $(ADK_TOPDIR)/.defconfig; \ fi @if [ ! -z "$(ADK_TARGET_LIBC)" ];then \ + libc=$(echo $(ADK_TARGET_LIBC)|sed -e "#-#_#") \ grep "^config" target/config/Config.in.libc.choice \ - |grep -i "$(ADK_TARGET_LIBC)" \ + |grep -i $libc \ |sed -e "s#^config \(.*\)#\1=y#" \ >> $(ADK_TOPDIR)/.defconfig; \ fi |