All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i386 machine.cfg: Explicitly disable 64BIT
@ 2017-03-30 16:27 Saul Wold
  0 siblings, 0 replies; 5+ messages in thread
From: Saul Wold @ 2017-03-30 16:27 UTC (permalink / raw)
  To: openembedded-core, richard.purdie; +Cc: bruce.ashfield

Since we do not set the 64 bit flags, newer kernels seem to build 64bit
config files by default. This is due to a hard-coded uname -m check that
selects the KBUILD_DEFCONFIG based on the host, not the cross target.

Similar to e9ec769926b2378e63380bd7762ce7ce201af151 in the yocto-kernel-cache repo

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg
index 3b168b7..fe5b882 100644
--- a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg
+++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg
@@ -1,5 +1,8 @@
 # yocto-bsp-filename {{=machine}}.cfg
 CONFIG_X86_32=y
+# Must explicitly disable 64BIT
+# CONFIG_64BIT is not set
+
 CONFIG_MATOM=y
 CONFIG_PRINTK=y
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] i386 machine.cfg: Explicitly disable 64BIT
@ 2017-03-30 16:56 Saul Wold
  2017-03-30 17:14 ` Leonardo Sandoval
  0 siblings, 1 reply; 5+ messages in thread
From: Saul Wold @ 2017-03-30 16:56 UTC (permalink / raw)
  To: yocto

Since we do not set the 64 bit flags, newer kernels seem to build 64bit
config files by default. This is due to a hard-coded uname -m check that
selects the KBUILD_DEFCONFIG based on the host, not the cross target.

Similar to e9ec769926b2378e63380bd7762ce7ce201af151 in the yocto-kernel-cache repo

[YOCTO #11230]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg
index 3b168b7..fe5b882 100644
--- a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg
+++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg
@@ -1,5 +1,8 @@
 # yocto-bsp-filename {{=machine}}.cfg
 CONFIG_X86_32=y
+# Must explicitly disable 64BIT
+# CONFIG_64BIT is not set
+
 CONFIG_MATOM=y
 CONFIG_PRINTK=y
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] i386 machine.cfg: Explicitly disable 64BIT
  2017-03-30 16:56 [PATCH] i386 machine.cfg: Explicitly disable 64BIT Saul Wold
@ 2017-03-30 17:14 ` Leonardo Sandoval
  2017-03-30 17:38   ` Saul Wold
  0 siblings, 1 reply; 5+ messages in thread
From: Leonardo Sandoval @ 2017-03-30 17:14 UTC (permalink / raw)
  To: Saul Wold; +Cc: yocto

On Thu, 2017-03-30 at 09:56 -0700, Saul Wold wrote:
> Since we do not set the 64 bit flags, newer kernels seem to build 64bit
> config files by default. This is due to a hard-coded uname -m check that
> selects the KBUILD_DEFCONFIG based on the host, not the cross target.
> 


Saul, this is poky code, so wrong list.



> Similar to e9ec769926b2378e63380bd7762ce7ce201af151 in the yocto-kernel-cache repo
> 
> [YOCTO #11230]
> 
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>  .../substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg  | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg
> index 3b168b7..fe5b882 100644
> --- a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg
> +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg
> @@ -1,5 +1,8 @@
>  # yocto-bsp-filename {{=machine}}.cfg
>  CONFIG_X86_32=y
> +# Must explicitly disable 64BIT
> +# CONFIG_64BIT is not set
> +
>  CONFIG_MATOM=y
>  CONFIG_PRINTK=y
>  
> -- 
> 2.7.4
> 




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] i386 machine.cfg: Explicitly disable 64BIT
  2017-03-30 17:14 ` Leonardo Sandoval
@ 2017-03-30 17:38   ` Saul Wold
  0 siblings, 0 replies; 5+ messages in thread
From: Saul Wold @ 2017-03-30 17:38 UTC (permalink / raw)
  To: Leonardo Sandoval; +Cc: yocto

On Thu, 2017-03-30 at 11:14 -0600, Leonardo Sandoval wrote:
> On Thu, 2017-03-30 at 09:56 -0700, Saul Wold wrote:
> > 
> > Since we do not set the 64 bit flags, newer kernels seem to build
> > 64bit
> > config files by default. This is due to a hard-coded uname -m check
> > that
> > selects the KBUILD_DEFCONFIG based on the host, not the cross
> > target.
> > 
> 
> 
> Saul, this is poky code, so wrong list.
> 
I am just having a bad day with email!

Sau!

> 
> 
> > 
> > Similar to e9ec769926b2378e63380bd7762ce7ce201af151 in the yocto-
> > kernel-cache repo
> > 
> > [YOCTO #11230]
> > 
> > Signed-off-by: Saul Wold <sgw@linux.intel.com>
> > ---
> >  .../substrate/target/arch/i386/recipes-
> > kernel/linux/files/machine.cfg  | 3 +++
> >  1 file changed, 3 insertions(+)
> > 
> > diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-
> > kernel/linux/files/machine.cfg
> > b/scripts/lib/bsp/substrate/target/arch/i386/recipes-
> > kernel/linux/files/machine.cfg
> > index 3b168b7..fe5b882 100644
> > --- a/scripts/lib/bsp/substrate/target/arch/i386/recipes-
> > kernel/linux/files/machine.cfg
> > +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-
> > kernel/linux/files/machine.cfg
> > @@ -1,5 +1,8 @@
> >  # yocto-bsp-filename {{=machine}}.cfg
> >  CONFIG_X86_32=y
> > +# Must explicitly disable 64BIT
> > +# CONFIG_64BIT is not set
> > +
> >  CONFIG_MATOM=y
> >  CONFIG_PRINTK=y
> >  
> > -- 
> > 2.7.4
> > 
> 
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] i386 machine.cfg: Explicitly disable 64BIT
@ 2017-03-30 17:38 Saul Wold
  0 siblings, 0 replies; 5+ messages in thread
From: Saul Wold @ 2017-03-30 17:38 UTC (permalink / raw)
  To: poky

Since we do not set the 64 bit flags, newer kernels seem to build 64bit
config files by default. This is due to a hard-coded uname -m check that
selects the KBUILD_DEFCONFIG based on the host, not the cross target.

Similar to e9ec769926b2378e63380bd7762ce7ce201af151 in the yocto-kernel-cache repo

[YOCTO #11230]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg
index 3b168b7..fe5b882 100644
--- a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg
+++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg
@@ -1,5 +1,8 @@
 # yocto-bsp-filename {{=machine}}.cfg
 CONFIG_X86_32=y
+# Must explicitly disable 64BIT
+# CONFIG_64BIT is not set
+
 CONFIG_MATOM=y
 CONFIG_PRINTK=y
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-03-30 17:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-30 16:56 [PATCH] i386 machine.cfg: Explicitly disable 64BIT Saul Wold
2017-03-30 17:14 ` Leonardo Sandoval
2017-03-30 17:38   ` Saul Wold
  -- strict thread matches above, loose matches on Subject: below --
2017-03-30 17:38 Saul Wold
2017-03-30 16:27 Saul Wold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.