* [PATCH] linux-xilinx: update to kernel 2.6.35
@ 2010-11-26 16:35 Adrian Alonso
2010-12-09 5:21 ` Saul Wold
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Alonso @ 2010-11-26 16:35 UTC (permalink / raw)
To: poky; +Cc: Adrian Alonso
* Update to kernel 2.6.35 version
* Add path linux-xilinx-do-not-use-OS-option.patch to
* Fix error: Do not use -Os option if --enable-target-optspace
is not set.
* Gcc optospace options is disabled for powerpc machines
* Bump PR
Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
---
.../linux-xilinx-do-not-use-OS-option.patch | 27 ++++++++++++++++++++
recipes-kernel/linux/linux-xilinx_git.bb | 8 +++--
2 files changed, 32 insertions(+), 3 deletions(-)
create mode 100644 recipes-kernel/linux/linux-xilinx/linux-xilinx-do-not-use-OS-option.patch
diff --git a/recipes-kernel/linux/linux-xilinx/linux-xilinx-do-not-use-OS-option.patch b/recipes-kernel/linux/linux-xilinx/linux-xilinx-do-not-use-OS-option.patch
new file mode 100644
index 0000000..ee06d9e
--- /dev/null
+++ b/recipes-kernel/linux/linux-xilinx/linux-xilinx-do-not-use-OS-option.patch
@@ -0,0 +1,27 @@
+From 19f452770d77ba6bf0382c99e124e134b26cb8f6 Mon Sep 17 00:00:00 2001
+From: Adrian Alonso <aalonso@secretlab.ca>
+Date: Wed, 24 Nov 2010 14:35:26 -0600
+Subject: [PATCH] linux-xilinx: do not use -OS option
+
+* Fix error: Do not use -Os option if --enable-target-optspace
+ is not set.
+* Gcc optospace options is disabled for powerpc machines
+
+Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
+---
+ arch/powerpc/boot/Makefile | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+Index: git/arch/powerpc/boot/Makefile
+===================================================================
+--- git.orig/arch/powerpc/boot/Makefile
++++ git/arch/powerpc/boot/Makefile
+@@ -20,7 +20,7 @@
+ all: $(obj)/zImage
+
+ BOOTCFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
+- -fno-strict-aliasing -Os -msoft-float -pipe \
++ -fno-strict-aliasing -msoft-float -pipe \
+ -fomit-frame-pointer -fno-builtin -fPIC -nostdinc \
+ -isystem $(shell $(CROSS32CC) -print-file-name=include)
+ BOOTAFLAGS := -D__ASSEMBLY__ $(BOOTCFLAGS) -traditional -nostdinc
diff --git a/recipes-kernel/linux/linux-xilinx_git.bb b/recipes-kernel/linux/linux-xilinx_git.bb
index 424bd67..9b44e83 100644
--- a/recipes-kernel/linux/linux-xilinx_git.bb
+++ b/recipes-kernel/linux/linux-xilinx_git.bb
@@ -7,12 +7,14 @@ DEFAULT_PREFERENCE = "-1"
DEFAULT_PREFERENCE_virtex4 = "1"
DEFAULT_PREFERENCE_virtex5 = "1"
-PV = "2.6.34+git"
-PR = "r1"
+TAG="xilinx_v2.6.35"
+PV = "2.6.35+git"
+PR = "r2"
-SRCREV = "17431547113100a3ae0a622b9f76ad17fb76eb56"
+SRCREV = "${TAG}"
SRC_URI = "git://git.xilinx.com/linux-2.6-xlnx.git;protocol=git \
file://xilinxfb-update-tft-comp.patch \
+ file://linux-xilinx-do-not-use-OS-option.patch \
file://defconfig"
inherit kernel xilinx-bsp
--
1.7.2.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] linux-xilinx: update to kernel 2.6.35
2010-11-26 16:35 [PATCH] linux-xilinx: update to kernel 2.6.35 Adrian Alonso
@ 2010-12-09 5:21 ` Saul Wold
0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2010-12-09 5:21 UTC (permalink / raw)
To: Adrian Alonso; +Cc: poky@yoctoproject.org
On 11/26/2010 08:35 AM, Adrian Alonso wrote:
> * Update to kernel 2.6.35 version
> * Add path linux-xilinx-do-not-use-OS-option.patch to
> * Fix error: Do not use -Os option if --enable-target-optspace
> is not set.
> * Gcc optospace options is disabled for powerpc machines
> * Bump PR
>
> Signed-off-by: Adrian Alonso<aalonso@secretlab.ca>
> ---
> .../linux-xilinx-do-not-use-OS-option.patch | 27 ++++++++++++++++++++
> recipes-kernel/linux/linux-xilinx_git.bb | 8 +++--
> 2 files changed, 32 insertions(+), 3 deletions(-)
> create mode 100644 recipes-kernel/linux/linux-xilinx/linux-xilinx-do-not-use-OS-option.patch
>
> diff --git a/recipes-kernel/linux/linux-xilinx/linux-xilinx-do-not-use-OS-option.patch b/recipes-kernel/linux/linux-xilinx/linux-xilinx-do-not-use-OS-option.patch
> new file mode 100644
> index 0000000..ee06d9e
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-xilinx/linux-xilinx-do-not-use-OS-option.patch
> @@ -0,0 +1,27 @@
> +From 19f452770d77ba6bf0382c99e124e134b26cb8f6 Mon Sep 17 00:00:00 2001
> +From: Adrian Alonso<aalonso@secretlab.ca>
> +Date: Wed, 24 Nov 2010 14:35:26 -0600
> +Subject: [PATCH] linux-xilinx: do not use -OS option
> +
> +* Fix error: Do not use -Os option if --enable-target-optspace
> + is not set.
> +* Gcc optospace options is disabled for powerpc machines
> +
> +Signed-off-by: Adrian Alonso<aalonso@secretlab.ca>
> +---
> + arch/powerpc/boot/Makefile | 2 +-
> + 1 files changed, 1 insertions(+), 1 deletions(-)
> +
> +Index: git/arch/powerpc/boot/Makefile
> +===================================================================
> +--- git.orig/arch/powerpc/boot/Makefile
> ++++ git/arch/powerpc/boot/Makefile
> +@@ -20,7 +20,7 @@
> + all: $(obj)/zImage
> +
> + BOOTCFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
> +- -fno-strict-aliasing -Os -msoft-float -pipe \
> ++ -fno-strict-aliasing -msoft-float -pipe \
> + -fomit-frame-pointer -fno-builtin -fPIC -nostdinc \
> + -isystem $(shell $(CROSS32CC) -print-file-name=include)
> + BOOTAFLAGS := -D__ASSEMBLY__ $(BOOTCFLAGS) -traditional -nostdinc
> diff --git a/recipes-kernel/linux/linux-xilinx_git.bb b/recipes-kernel/linux/linux-xilinx_git.bb
> index 424bd67..9b44e83 100644
> --- a/recipes-kernel/linux/linux-xilinx_git.bb
> +++ b/recipes-kernel/linux/linux-xilinx_git.bb
> @@ -7,12 +7,14 @@ DEFAULT_PREFERENCE = "-1"
> DEFAULT_PREFERENCE_virtex4 = "1"
> DEFAULT_PREFERENCE_virtex5 = "1"
>
> -PV = "2.6.34+git"
> -PR = "r1"
> +TAG="xilinx_v2.6.35"
> +PV = "2.6.35+git"
> +PR = "r2"
>
> -SRCREV = "17431547113100a3ae0a622b9f76ad17fb76eb56"
> +SRCREV = "${TAG}"
> SRC_URI = "git://git.xilinx.com/linux-2.6-xlnx.git;protocol=git \
> file://xilinxfb-update-tft-comp.patch \
> + file://linux-xilinx-do-not-use-OS-option.patch \
> file://defconfig"
>
> inherit kernel xilinx-bsp
Adrian,
Thanks for the patch, I have pulled it into meta-xilinx
Sau!
--
Sau!
Saul Wold
Yocto Component Wrangler @ Intel
Yocto Project / Poky Build System
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-09 5:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-26 16:35 [PATCH] linux-xilinx: update to kernel 2.6.35 Adrian Alonso
2010-12-09 5:21 ` 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.