diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2019-09-06 11:40:02 +0000 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2019-09-09 12:39:19 +0300 |
commit | 81f79f15c39ccdb058b0e91aa7e4fac7fc94ed3f (patch) | |
tree | 268361b65ce241145818594c97c8ed92c6fce7b2 | |
parent | d1614999e11bd36c770855e782a5770319a3dbc6 (diff) | |
download | meta-raspberrypi-81f79f15c39ccdb058b0e91aa7e4fac7fc94ed3f.tar.gz |
u-boot-fw-utils: apply the same rpi4 patches as for u-boot recipe
* otherwise u-boot-fw-utils build for rpi4 fails with:
scripts/kconfig/conf --defconfig=arch/../configs/rpi_4_defconfig
Kconfig
***
*** Can't find default configuration "arch/../configs/rpi_4_defconfig"!
***
scripts/kconfig/Makefile:128: recipe for target 'rpi_4_defconfig' failed
* cannot include/require u-boot_2019.07.bbappend directly in
u-boot-fw-utils_2019.07.bbappend, because then it fails with:
"u-boot_2019.01.bbappend: not a BitBake file"
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | recipes-bsp/u-boot/u-boot-fw-utils_2019.07.bbappend | 2 | ||||
-rw-r--r-- | recipes-bsp/u-boot/u-boot-rpi4-2019.07.inc | 12 | ||||
-rw-r--r-- | recipes-bsp/u-boot/u-boot_2019.07.bbappend | 14 |
3 files changed, 16 insertions, 12 deletions
diff --git a/recipes-bsp/u-boot/u-boot-fw-utils_2019.07.bbappend b/recipes-bsp/u-boot/u-boot-fw-utils_2019.07.bbappend new file mode 100644 index 0000000..3daf157 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-fw-utils_2019.07.bbappend | |||
@@ -0,0 +1,2 @@ | |||
1 | # Apply the same patches for rpi4 as u-boot recipe | ||
2 | require u-boot-rpi4-${PV}.inc | ||
diff --git a/recipes-bsp/u-boot/u-boot-rpi4-2019.07.inc b/recipes-bsp/u-boot/u-boot-rpi4-2019.07.inc new file mode 100644 index 0000000..2ce55a2 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-rpi4-2019.07.inc | |||
@@ -0,0 +1,12 @@ | |||
1 | FILESEXTRAPATHS_prepend_raspberrypi4 := "${THISDIR}/u-boot-2019.07:" | ||
2 | UBOOT_RPI4_SUPPORT_PATCHES = " \ | ||
3 | file://0001-configs-rpi4-Add-defconfigs-for-rpi4-32-64.patch \ | ||
4 | file://0002-ARM-bcm283x-Add-BCM283x_BASE-define.patch \ | ||
5 | file://0003-arm-mach-bcm283x-Define-configs-for-RaspberryPi-4.patch \ | ||
6 | file://0004-rpi-Add-entry-for-Raspberry-Pi-4-model-B.patch \ | ||
7 | file://0005-arm-bcm283x-Include-definition-for-additional-emmc-c.patch \ | ||
8 | file://0006-mmc-bcm2835_sdhci-Add-support-for-bcm2711-device.patch \ | ||
9 | file://0007-rpi-Add-memory-map-for-bcm2838.patch \ | ||
10 | " | ||
11 | |||
12 | SRC_URI_append_raspberrypi4 = "${UBOOT_RPI4_SUPPORT_PATCHES}" | ||
diff --git a/recipes-bsp/u-boot/u-boot_2019.07.bbappend b/recipes-bsp/u-boot/u-boot_2019.07.bbappend index 7cd8d66..3daf157 100644 --- a/recipes-bsp/u-boot/u-boot_2019.07.bbappend +++ b/recipes-bsp/u-boot/u-boot_2019.07.bbappend | |||
@@ -1,12 +1,2 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" | 1 | # Apply the same patches for rpi4 as u-boot recipe |
2 | UBOOT_RPI4_SUPPORT_PATCHES = " \ | 2 | require u-boot-rpi4-${PV}.inc |
3 | file://0001-configs-rpi4-Add-defconfigs-for-rpi4-32-64.patch \ | ||
4 | file://0002-ARM-bcm283x-Add-BCM283x_BASE-define.patch \ | ||
5 | file://0003-arm-mach-bcm283x-Define-configs-for-RaspberryPi-4.patch \ | ||
6 | file://0004-rpi-Add-entry-for-Raspberry-Pi-4-model-B.patch \ | ||
7 | file://0005-arm-bcm283x-Include-definition-for-additional-emmc-c.patch \ | ||
8 | file://0006-mmc-bcm2835_sdhci-Add-support-for-bcm2711-device.patch \ | ||
9 | file://0007-rpi-Add-memory-map-for-bcm2838.patch \ | ||
10 | " | ||
11 | |||
12 | SRC_URI_append_raspberrypi4 = "${UBOOT_RPI4_SUPPORT_PATCHES}" | ||