linux-xilinx: update to kernel 2.6.35
PATCH 1/1 linux-xilinx: update to kernel 2.6.35
* 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 <[email protected]>
--- .../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
recipes-kernel/linux/linux-xilinx/linux-xilinx-do-not-use-OS-option.patch new file +27 -0
@@ -0,0 +1,27 @@ +From 19f452770d77ba6bf0382c99e124e134b26cb8f6 Mon Sep 17 00:00:00 2001 +From: Adrian Alonso <[email protected]> +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 <[email protected]> +--- + 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
recipes-kernel/linux/linux-xilinx_git.bb +5 -3
@@ -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
Signature · 1 line
1.7.2.3
Quoted 59 lines · 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 PRSigned-off-by Adrian Alonso<[email protected]>--- .../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.patchrecipes-kernel/linux/linux-xilinx/linux-xilinx-do-not-use-OS-option.patch new file +27
-0@@ -0,0 +1,27 @@ +From 19f452770d77ba6bf0382c99e124e134b26cb8f6 Mon Sep 17 00:00:00 2001 +From: Adrian Alonso<[email protected]> +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<[email protected]> +--- + 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 -nostdincrecipes-kernel/linux/linux-xilinx_git.bb +2
-2@@ -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"
recipes-kernel/linux/linux-xilinx_git.bb DEFAULT_PREFERENCE = "-1" · line 20
Quoted 10 lines
recipes-kernel/linux/linux-xilinx_git.bb +3
-1+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!
Signature · 5 lines
Sau! Saul Wold Yocto Component Wrangler @ Intel Yocto Project / Poky Build System