diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-03-09 09:37:03 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-03-09 09:37:03 +0100 |
commit | 810f44fbd0fb3016c6c567a91a9656a2f7b44fc5 (patch) | |
tree | d0cf60e5084df0175de12523bb2887f07b39f322 /scripts | |
parent | aa2fbaad5880a5d5057d1ee6a64628e9b17203b1 (diff) |
fix update-rcconf
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update-rcconf | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/scripts/update-rcconf b/scripts/update-rcconf index 8791a8849..fc0518ec8 100755 --- a/scripts/update-rcconf +++ b/scripts/update-rcconf @@ -5,16 +5,22 @@ topdir=$(readlink -nf $(dirname $0)/.. 2>/dev/null || (cd $(dirname $0)/..; pwd -P)) . $topdir/.config -suffix=${ADK_TARGET_SYSTEM}_${ADK_TARGET_LIBC}_${ADK_TARGET_CPU_ARCH} +suffix=${ADK_TARGET_SYSTEM} +if [ ! -z ${ADK_TARGET_ENDIAN_SUFFIX} ];then + suffix=${suffix}_${ADK_TARGET_ENDIAN_SUFFIX} +fi +if [ ! -z ${ADK_TARGET_LIBC} ];then + suffix=${suffix}_${ADK_TARGET_LIBC} +fi +if [ ! -z ${ADK_TARGET_CPU_TYPE} ];then + suffix=${suffix}_${ADK_TARGET_CPU_TYPE} +fi if [ ! -z ${ADK_TARGET_FLOAT} ];then suffix=${suffix}_${ADK_TARGET_FLOAT} fi if [ ! -z ${ADK_TARGET_ABI} ];then suffix=${suffix}_${ADK_TARGET_ABI} fi -if [ -z ${ADK_TARGET_WITH_MMU} ];then - suffix=${suffix}_nommu -fi rcconf=$(ls $topdir/root_${suffix}/etc/rc.conf) |