Skip to contentSkip to conversation

slugos.conf: Use thumb mode to save some more space

PATCH In review Khem Raj 2 participants 2 messages Jan 10, 2011

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 slugos.conf: Use thumb mode to save some more space

I have successfully nfs booted nslu box with the console-image generated with thumb enabled gcc. This should help in reducing the code size a bit more. I will build the image in all arm mode and compare how much we really save

---
 conf/distro/slugos.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
conf/distro/slugos.conf +1 -1
index e2e7cc0..853a58e 100644
@@ -10,7 +10,7 @@ DISTRO_NAME = "SlugOS"
 # DISTRO_FEED = "unstable"
 DISTRO_TYPE = "alpha"
 TARGET_ARCH ?= "armeb"
-ARM_INSTRUCTION_SET = "arm"
+ARM_INSTRUCTION_SET = "thumb"
 IPKG_VARIANT ?= "opkg-nogpg-nocurl-slugos"
 PREFERRED_PROVIDER_opkg ?= "opkg-nogpg-nocurl-slugos"
 PREFERRED_PROVIDER_virtual/update-alternatives ?= "opkg-nogpg-nocurl-slugos"
Signature · 1 line
1.7.0.4
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Khem Raj

I have successfully nfs booted nslu box with the console-image generated with thumb enabled gcc. This should help in reducing the code size a bit more. I will build the image in all arm mode and compare how much we really save

Quoted 17 lines
---
 conf/distro/slugos.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
conf/distro/slugos.conf +1 -1
index e2e7cc0..853a58e 100644
@@ -10,7 +10,7 @@ DISTRO_NAME = "SlugOS"
 # DISTRO_FEED = "unstable"
 DISTRO_TYPE = "alpha"
 TARGET_ARCH ?= "armeb"
-ARM_INSTRUCTION_SET = "arm"
+ARM_INSTRUCTION_SET = "thumb"
 IPKG_VARIANT ?= "opkg-nogpg-nocurl-slugos"
 PREFERRED_PROVIDER_opkg ?= "opkg-nogpg-nocurl-slugos"
 PREFERRED_PROVIDER_virtual/update-alternatives ?= "opkg-nogpg-nocurl-slugos"