[poky] [PATCH] linux-xilinx: update to kernel 2.6.35

Adrian Alonso aalonso at secretlab.ca
Fri Nov 26 08:35:30 PST 2010


* 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 at 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 at 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 at 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




More information about the poky mailing list