summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update-rcconf14
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)