[poky] [PATCH 15/25] linux-xilinx: remove hardcoded include path

Adrian Alonso aalonso at secretlab.ca
Mon Jan 17 12:29:28 PST 2011


* Remove hardcodded include path
* Fix inherit xilinx-kernel for sw/hw integration
* Remove configure prepend function, use default config
  mechanism
* Bump PR

Signed-off-by: Adrian Alonso <aalonso at secretlab.ca>
---
 recipes-kernel/linux/linux-xilinx_git.bb |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/recipes-kernel/linux/linux-xilinx_git.bb b/recipes-kernel/linux/linux-xilinx_git.bb
index 0541b3f..47f19b1 100644
--- a/recipes-kernel/linux/linux-xilinx_git.bb
+++ b/recipes-kernel/linux/linux-xilinx_git.bb
@@ -1,4 +1,4 @@
-require ../meta/recipes-kernel/linux/linux.inc
+require recipes-kernel/linux/linux.inc
 
 DESCRIPTION = "Linux kernel for Xilinx platforms"
 
@@ -9,21 +9,17 @@ DEFAULT_PREFERENCE_virtex5 = "1"
 
 TAG="xilinx_v2.6.37-rc4"
 PV = "2.6.37.4"
-PR = "r3"
+PR = "r4"
 
 SRCREV = "${TAG}"
 SRC_URI = "git://git.xilinx.com/linux-2.6-xlnx.git;protocol=git \
            file://linux-xilinx-do-not-use-OS-option.patch \
 		   file://defconfig"
 
-inherit kernel xilinx-bsp
+inherit kernel xilinx-kernel
 
 TARGET_BOARD = "${@map_target(bb.data.getVar('TARGET_ARCH', d, 1), d)}"
 KERNEL_DEVICETREE_virtex4 = "arch/${ARCH}/boot/dts/virtex${TARGET_BOARD}.dts"
 KERNEL_DEVICETREE_virtex5 = "arch/${ARCH}/boot/dts/virtex${TARGET_BOARD}.dts"
 
 S = "${WORKDIR}/git"
-
-do_configure_prepend() {
-    install -m 0644 ${WORKDIR}/defconfig ${S}/.config
-}
-- 
1.7.3.4




More information about the poky mailing list