summaryrefslogtreecommitdiff
path: root/conf/distro/unslung.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/distro/unslung.conf')
-rw-r--r--conf/distro/unslung.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/conf/distro/unslung.conf b/conf/distro/unslung.conf
index 482f47881a..22b041f521 100644
--- a/conf/distro/unslung.conf
+++ b/conf/distro/unslung.conf
@@ -17,6 +17,19 @@ include conf/distro/freeze.conf
TARGET_FPU = "soft"
TARGET_OS = "linux"
+# select distro specific options to match that of the original LinkSys build
+ARCH_BYTE_SEX = "be"
+ARM_INSTRUCTION_SET = "arm"
+THUMB_INTERWORK = "no"
+
+# for compatibility PACKAGE_ARCH stays as TARGET_ARCH and TARGET_ARCH is hard-wired
+# to armeb - this makes this stuff independent of changes in machine/nslu2.conf
+TARGET_ARCH = "armeb"
+PACKAGE_ARCH = "${TARGET_ARCH}"
+# IPKG_ARCHS has the full list of supported architectures (from nslu2.conf)
+
+# match the optimisation settings to that which has traditionally been used
+# in unslung
FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
INHERIT += " package_ipk nslu2-jffs2-image"