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

login
register
mail settings
Submitter Khem Raj
Date Jan. 10, 2011, 6:14 a.m.
Message ID <1294640096-21868-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/209/
State Accepted
Headers show

Comments

Khem Raj - Jan. 10, 2011, 6:14 a.m.
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 conf/distro/slugos.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Mike Westerhof - Jan. 10, 2011, 4:49 p.m.
On 1/10/2011 12:14 AM, Khem Raj wrote:
> 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
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>

Acked-by: Mike Westerhof <mike@mwester.net>

> ---
>  conf/distro/slugos.conf |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/conf/distro/slugos.conf b/conf/distro/slugos.conf
> index e2e7cc0..853a58e 100644
> --- a/conf/distro/slugos.conf
> +++ b/conf/distro/slugos.conf
> @@ -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"

Patch

diff --git a/conf/distro/slugos.conf b/conf/distro/slugos.conf
index e2e7cc0..853a58e 100644
--- a/conf/distro/slugos.conf
+++ b/conf/distro/slugos.conf
@@ -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"