[oe] [meta-handheld][PATCH 3/3] linux(-kexecboot)_git: add CC_OPTIMIZE_FOR_SIZE=y
Paul Eggleton
paul.eggleton at linux.intel.com
Mon Apr 9 22:33:41 UTC 2012
On Tuesday 10 April 2012 00:05:36 Andrea Adami wrote:
> * to spitz kernel
> * bump PR
>
> Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
> ---
> .../linux/linux-kexecboot/spitz/defconfig | 1 +
> recipes-kernel/linux/linux-kexecboot_git.bbappend | 2 ++
> recipes-kernel/linux/linux/spitz/defconfig | 1 +
> recipes-kernel/linux/linux_git.bb | 2 +-
> 4 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/recipes-kernel/linux/linux-kexecboot/spitz/defconfig
> b/recipes-kernel/linux/linux-kexecboot/spitz/defconfig index
> c64f831..60960d7 100644
> --- a/recipes-kernel/linux/linux-kexecboot/spitz/defconfig
> +++ b/recipes-kernel/linux/linux-kexecboot/spitz/defconfig
> @@ -11,6 +11,7 @@ CONFIG_INITRAMFS_COMPRESSION_LZMA=y
> # CONFIG_KALLSYMS is not set
> # CONFIG_ELF_CORE is not set
> # CONFIG_BASE_FULL is not set
> +CONFIG_CC_OPTIMIZE_FOR_SIZE=y
> CONFIG_EMBEDDED=y
> # CONFIG_VM_EVENT_COUNTERS is not set
> # CONFIG_COMPAT_BRK is not set
> diff --git a/recipes-kernel/linux/linux-kexecboot_git.bbappend
> b/recipes-kernel/linux/linux-kexecboot_git.bbappend index 1acab8a..49dd75f
> 100644
> --- a/recipes-kernel/linux/linux-kexecboot_git.bbappend
> +++ b/recipes-kernel/linux/linux-kexecboot_git.bbappend
> @@ -1,6 +1,8 @@
> FILESEXTRAPATHS_prepend :=
> "${THISDIR}/linux-kexecboot-${PV}:${THISDIR}/files:"
>
> DEFAULT_PREFERENCE = "-2"
> +
> +PR = "${INC_PR}.1"
> #COMPATIBLE_MACHINE = "(akita|c7x0|collie|poodle|tosa|spitz)"
> COMPATIBLE_MACHINE = "(spitz)"
>
> diff --git a/recipes-kernel/linux/linux/spitz/defconfig
> b/recipes-kernel/linux/linux/spitz/defconfig index 4370819..fb5eaee 100644
> --- a/recipes-kernel/linux/linux/spitz/defconfig
> +++ b/recipes-kernel/linux/linux/spitz/defconfig
> @@ -17,6 +17,7 @@ CONFIG_BLK_DEV_INITRD=y
> CONFIG_RD_BZIP2=y
> CONFIG_RD_LZMA=y
> CONFIG_RD_LZO=y
> +CONFIG_CC_OPTIMIZE_FOR_SIZE=y
> CONFIG_EMBEDDED=y
> CONFIG_SLOB=y
> CONFIG_PROFILING=y
> diff --git a/recipes-kernel/linux/linux_git.bb
> b/recipes-kernel/linux/linux_git.bb index 222df31..2897d19 100644
> --- a/recipes-kernel/linux/linux_git.bb
> +++ b/recipes-kernel/linux/linux_git.bb
> @@ -1,6 +1,6 @@
> require linux.inc
>
> -PR = "${INC_PR}.0"
> +PR = "${INC_PR}.1"
> COMPATIBLE_MACHINE = "spitz"
>
> DEFAULT_PREFERENCE = "-2"
Merged these three to meta-handheld, with a fix for accidental revert of the
CONFIG_GPIO_PCA953X option. Thanks.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-devel
mailing list