summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-bsp
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2017-06-26 14:49:59 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-06-28 14:39:32 +0000
commit62e2c5e9af874034ad2a6e17f23deca63feea2b7 (patch)
treea15929f8499e17abc15ae645bfd0f223f22cb893 /meta-phosphor/common/recipes-bsp
parentb42df4d91a64f72dc94d58f484a1560b2607ba48 (diff)
downloadtalos-openbmc-62e2c5e9af874034ad2a6e17f23deca63feea2b7.tar.gz
talos-openbmc-62e2c5e9af874034ad2a6e17f23deca63feea2b7.zip
u-boot: add common inc file
SRCREV, SRC_URI, UBRANCH, etc. were duplicated across 3 recipes so move them to a common include file. Change-Id: I2a5e8e26b7d1aca3a2da285023812b555fe38407 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'meta-phosphor/common/recipes-bsp')
-rw-r--r--meta-phosphor/common/recipes-bsp/u-boot/u-boot-fw-utils_2016.07.bb7
-rw-r--r--meta-phosphor/common/recipes-bsp/u-boot/u-boot-mkimage_2016.07.bb7
-rw-r--r--meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc7
-rw-r--r--meta-phosphor/common/recipes-bsp/u-boot/u-boot_2016.07.bb8
4 files changed, 10 insertions, 19 deletions
diff --git a/meta-phosphor/common/recipes-bsp/u-boot/u-boot-fw-utils_2016.07.bb b/meta-phosphor/common/recipes-bsp/u-boot/u-boot-fw-utils_2016.07.bb
index 2dd34eaed..251e04494 100644
--- a/meta-phosphor/common/recipes-bsp/u-boot/u-boot-fw-utils_2016.07.bb
+++ b/meta-phosphor/common/recipes-bsp/u-boot/u-boot-fw-utils_2016.07.bb
@@ -1,14 +1,9 @@
SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities"
LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
SECTION = "bootloader"
DEPENDS = "mtd-utils"
-SRCREV = "a5e0a21ed4b62ab4d8ff09f70b751db0f46ddaac"
-UBRANCH = "v2016.07-aspeed-openbmc"
-SRC_URI = "git://git@github.com/openbmc/u-boot.git;branch=${UBRANCH};protocol=https"
-
-PV = "v2016.07+git${SRCPV}"
+require u-boot.inc
S = "${WORKDIR}/git"
diff --git a/meta-phosphor/common/recipes-bsp/u-boot/u-boot-mkimage_2016.07.bb b/meta-phosphor/common/recipes-bsp/u-boot/u-boot-mkimage_2016.07.bb
index 715eaf406..7f4043524 100644
--- a/meta-phosphor/common/recipes-bsp/u-boot/u-boot-mkimage_2016.07.bb
+++ b/meta-phosphor/common/recipes-bsp/u-boot/u-boot-mkimage_2016.07.bb
@@ -1,15 +1,10 @@
SUMMARY = "U-Boot bootloader image creation tool"
LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
SECTION = "bootloader"
DEPENDS = "openssl"
-SRCREV = "a5e0a21ed4b62ab4d8ff09f70b751db0f46ddaac"
-UBRANCH = "v2016.07-aspeed-openbmc"
-SRC_URI = "git://git@github.com/openbmc/u-boot.git;branch=${UBRANCH};protocol=https"
-
-PV = "v2016.07+git${SRCPV}"
+require u-boot.inc
S = "${WORKDIR}/git"
diff --git a/meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc b/meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc
new file mode 100644
index 000000000..4c5e302a1
--- /dev/null
+++ b/meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc
@@ -0,0 +1,7 @@
+LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
+
+SRCREV = "a5e0a21ed4b62ab4d8ff09f70b751db0f46ddaac"
+UBRANCH = "v2016.07-aspeed-openbmc"
+SRC_URI = "git://git@github.com/openbmc/u-boot.git;branch=${UBRANCH};protocol=https"
+
+PV = "v2016.07+git${SRCPV}"
diff --git a/meta-phosphor/common/recipes-bsp/u-boot/u-boot_2016.07.bb b/meta-phosphor/common/recipes-bsp/u-boot/u-boot_2016.07.bb
index 5213a4f6a..884758af8 100644
--- a/meta-phosphor/common/recipes-bsp/u-boot/u-boot_2016.07.bb
+++ b/meta-phosphor/common/recipes-bsp/u-boot/u-boot_2016.07.bb
@@ -1,10 +1,4 @@
require recipes-bsp/u-boot/u-boot.inc
+require u-boot.inc
-LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
DEPENDS += "dtc-native"
-
-SRCREV = "a5e0a21ed4b62ab4d8ff09f70b751db0f46ddaac"
-UBRANCH = "v2016.07-aspeed-openbmc"
-SRC_URI = "git://git@github.com/openbmc/u-boot.git;branch=${UBRANCH};protocol=https"
-
-PV = "v2016.07+git${SRCPV}"
OpenPOWER on IntegriCloud