From 8acf95f705c2c4ef5af86bf68abacf5589bdcb0b Mon Sep 17 00:00:00 2001 From: Stelios Koroneos Date: Wed, 22 Aug 2007 15:40:40 +0000 Subject: packages/linux/linux-ml403-slab-2.6.x_git.bb : Make sure git-native builds before the ml403 kernel fetcher kicks in --- packages/linux/linux-ml403-slab-2.6.x_git.bb | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/linux/linux-ml403-slab-2.6.x_git.bb b/packages/linux/linux-ml403-slab-2.6.x_git.bb index bdaeb39526..75233492eb 100644 --- a/packages/linux/linux-ml403-slab-2.6.x_git.bb +++ b/packages/linux/linux-ml403-slab-2.6.x_git.bb @@ -4,8 +4,7 @@ SECTION = "kernel" DESCRIPTION = "Linux kernel for Xilinx ML403 Virtex 4 fpga board" LICENSE = "GPL" -DEPENDS = "git-native" -PR = "r1" +PR = "r2" PV = "2.6+git${SRCDATE}" COMPATIBLE_MACHINE = "xilinx-ml403" @@ -24,6 +23,18 @@ ARCH = "ppc" KERNEL_IMAGETYPE = "zImage" KERNEL_OUTPUT = "arch/ppc/boot/images/zImage.elf" +#make sure git-native gets build before as +python __anonymous () { + + import bb + + + depends = bb.data.getVarFlag('do_fetch', 'depends', d) or "" + depends = depends + " git-native:do_populate_staging" + bb.data.setVarFlag('do_fetch', 'depends', depends, d) + +} + do_fetch () { -- cgit v1.2.3