summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Galbusera <gizero@gmail.com>2016-10-30 23:55:07 +0100
committerKhem Raj <raj.khem@gmail.com>2016-11-01 08:49:10 -0700
commitad40e0d1262dfc9f7924e7212adef8f316ce5584 (patch)
tree33f3ae7ad105e52422d2e44791c5cf21d7ffc72d
parentc56e9935de14385e03e8af6a3221b1f158ce4f0a (diff)
downloadmeta-altera-ad40e0d1262dfc9f7924e7212adef8f316ce5584.tar.gz
u-boot-socfpga_2016.05: fix build with new upstream u-boot.inc
Commit a40f5d34065129ab19a3c981cbb38f854e9ae0ec in poky master moved some bits out of u-boot.inc (from oe-core) into u-boot-common_${PV}.inc. This breaks u-boot-socfpga_2016.05 recipe from this layer since SRC_URI itself results undefined. u-boot-socfpga_2014.10, which re-defines itself all the upstream factored-out bits, seems unaffected at the moment but might deserve some reworking anyway. Since u-boot_2016.05 is not yet in oe-core, we follow the same approach and we add back the missing bits in a new file u-boot-common_2016.05.inc which is then required by u-boot-socfpga_2016.05.bb.
-rw-r--r--recipes-bsp/u-boot/u-boot-common_2016.05.inc16
-rw-r--r--recipes-bsp/u-boot/u-boot-socfpga_2016.05.bb10
2 files changed, 17 insertions, 9 deletions
diff --git a/recipes-bsp/u-boot/u-boot-common_2016.05.inc b/recipes-bsp/u-boot/u-boot-common_2016.05.inc
new file mode 100644
index 0000000..985e221
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-common_2016.05.inc
@@ -0,0 +1,16 @@
1HOMEPAGE = "http://www.denx.de/wiki/U-Boot/WebHome"
2SECTION = "bootloaders"
3
4LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
6
7# This revision corresponds to the tag "v2016.05"
8# We use the revision in order to avoid having to fetch it from the
9# repo during parse
10SRCREV = "aeaec0e682f45b9e0c62c522fafea353931f73ed"
11
12PV = "v2016.05+git${SRCPV}"
13
14SRC_URI = "git://git.denx.de/u-boot.git;branch=master"
15
16S = "${WORKDIR}/git"
diff --git a/recipes-bsp/u-boot/u-boot-socfpga_2016.05.bb b/recipes-bsp/u-boot/u-boot-socfpga_2016.05.bb
index fdf0320..8f5e038 100644
--- a/recipes-bsp/u-boot/u-boot-socfpga_2016.05.bb
+++ b/recipes-bsp/u-boot/u-boot-socfpga_2016.05.bb
@@ -1,14 +1,6 @@
1require u-boot-common_${PV}.inc
1require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc 2require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc
2 3
3# This revision is the v2016.05 release
4SRCREV = "aeaec0e682f45b9e0c62c522fafea353931f73ed"
5
6LICENSE = "GPLv2+"
7LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
8
9PV = "2016.05"
10PV_append = "+git${SRCPV}"
11
12DEPENDS += "dtc-native" 4DEPENDS += "dtc-native"
13 5
14do_install_append_10m50 () { 6do_install_append_10m50 () {