linux: changed way of adding uboot-mkimage dependency so #2926 should be fixed
authorMarcin Juszkiewicz <hrw@openembedded.org>
Sun, 9 Sep 2007 21:33:05 +0000 (21:33 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Sun, 9 Sep 2007 21:33:05 +0000 (21:33 +0000)
Something is wrong wen it comes to overrides and adding into variable - bug
#2966 opened.

packages/linux/linux.inc
packages/linux/linux_2.6.14.bb
packages/linux/linux_2.6.20.bb
packages/linux/linux_2.6.21+2.6.22-rc1.bb
packages/linux/linux_2.6.21.bb
packages/linux/linux_2.6.22+2.6.23-rc3.bb
packages/linux/linux_2.6.22+2.6.23-rc5.bb
packages/linux/linux_2.6.22.6.bb
packages/linux/linux_2.6.22.bb

index 05bfc2f..97adebf 100644 (file)
@@ -2,18 +2,19 @@ DESCRIPTION = "Linux Kernel"
 SECTION = "kernel"
 LICENSE = "GPL"
 
+inherit kernel
+
 # These devices need mkimage to generate a kernel image 
-DEPENDS_kb9202 = "u-boot-mkimage-openmoko-native"
-DEPENDS_at32stk1000 = "u-boot-mkimage-openmoko-native" 
-DEPENDS_atngw100 = "u-boot-mkimage-openmoko-native"
-DEPENDS_at91sam9263ek = "u-boot-mkimage-openmoko-native"
-DEPENDS_at91sam9261ek = "u-boot-mkimage-openmoko-native"
-DEPENDS_at91sam9260ek = "u-boot-mkimage-openmoko-native"
-DEPENDS_sarge-at91 = "u-boot-mkimage-openmoko-native"
-DEPENDS_gumstix-connex = "u-boot-mkimage-openmoko-native"
-DEPENDS_gumstix-verdex = "u-boot-mkimage-openmoko-native"
+DEPENDS_append_kb9202         = " u-boot-mkimage-openmoko-native "
+DEPENDS_append_at32stk1000    = " u-boot-mkimage-openmoko-native "
+DEPENDS_append_atngw100       = " u-boot-mkimage-openmoko-native "
+DEPENDS_append_at91sam9263ek  = " u-boot-mkimage-openmoko-native "
+DEPENDS_append_at91sam9261ek  = " u-boot-mkimage-openmoko-native "
+DEPENDS_append_at91sam9260ek  = " u-boot-mkimage-openmoko-native "
+DEPENDS_append_sarge-at91     = " u-boot-mkimage-openmoko-native "
+DEPENDS_append_gumstix-connex = " u-boot-mkimage-openmoko-native "
+DEPENDS_append_gumstix-verdex = " u-boot-mkimage-openmoko-native "
 
-inherit kernel
 
 # Specify the commandline for you device here:
 
@@ -63,7 +64,7 @@ do_install_prepend() {
 
 UBOOT_ENTRYPOINT ?= "20008000"
 
-KERNEL_IMAGE_BASE_NAME = ${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}-${DATETIME}
+KERNEL_IMAGE_BASE_NAME = ${KERNEL_IMAGETYPE}-${KERNEL_RELEASE}-${PR}-${MACHINE}-${DATETIME}
 
 do_deploy() {
         install -d ${DEPLOY_DIR_IMAGE}
index 85febb4..d625d15 100644 (file)
@@ -1,14 +1,10 @@
 DESCRIPTION = "Linux Kernel"
 SECTION = "kernel"
 LICENSE = "GPL"
-PR = "r0"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
            file://defconfig"
 
-SRC_URI_append_progear = " \
-           file://progear_bl-r6.patch;patch=1 \
-          "
 SRC_URI_append_acern30 = "\
            http://lechat.rtp-net.org/ipaq/patches/2.6.14-3/v2.6.14-gitcurrent.patch;patch=1 \
            http://lechat.rtp-net.org/ipaq/patches/2.6.14-3/full.patch;patch=1 \
index 50defd3..81033e0 100644 (file)
@@ -4,7 +4,7 @@ DEFAULT_PREFERENCE_at91sam9263ek = "20"
 DEFAULT_PREFERENCE_at91sam9261ek = "20"
 DEFAULT_PREFERENCE_at91sam9260ek = "20"
 
-PR = "r7"
+PR = "r8"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
            file://defconfig"
index faca5a8..35b2efe 100644 (file)
@@ -6,7 +6,7 @@ DEFAULT_PREFERENCE_at91sam9263ek = "-1"
 KERNEL_VERSION = "2.6.22-rc1"
 KERNEL_RELEASE = "2.6.22-rc1"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.21.tar.bz2 \
            ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/patch-2.6.22-rc1.bz2;patch=1 \
index 15d2241..2144dd2 100644 (file)
@@ -4,7 +4,7 @@ DEFAULT_PREFERENCE_at91sam9263ek = "-1"
 DEFAULT_PREFERENCE_gumstix-connex = "1"
 DEFAULT_PREFERENCE_gumstix-verdex = "1"
 
-PR = "r7"
+PR = "r8"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
            file://defconfig \
index 5671173..618b6bf 100644 (file)
@@ -8,7 +8,7 @@ BASE_KERNEL_VERSION = "2.6.22"
 KERNEL_VERSION = "2.6.23-rc3"
 KERNEL_RELEASE = "2.6.23-rc3"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${BASE_KERNEL_VERSION}.tar.bz2 \
            ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/patch-${KERNEL_VERSION}.bz2;patch=1 \
index 5807335..3165c39 100644 (file)
@@ -3,14 +3,12 @@ require linux.inc
 DEFAULT_PREFERENCE = "-1"
 DEFAULT_PREFERENCE_ts72xx = "-1"
 
-PR = "r0"
+PR = "r1"
 
 BASE_KERNEL_VERSION = "2.6.22"
 KERNEL_VERSION = "2.6.23-rc5"
 KERNEL_RELEASE = "2.6.23-rc5"
 
-PR = "r0"
-
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${BASE_KERNEL_VERSION}.tar.bz2 \
            ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/patch-${KERNEL_VERSION}.bz2;patch=1 \
            file://defconfig \
index 2d0bb71..dfe1e2e 100644 (file)
@@ -3,7 +3,7 @@ require linux.inc
 DEFAULT_PREFERENCE = "-1"
 DEFAULT_PREFERENCE_ts72xx = "1"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.22.tar.bz2 \
            ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.bz2;patch=1 \
index 8674d63..64b57d3 100644 (file)
@@ -4,7 +4,7 @@ require linux.inc
 DEFAULT_PREFERENCE = "-1"
 DEFAULT_PREFERENCE_avr32 = "1"
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.22.tar.bz2 \
            file://defconfig \