diff options
author | Andrey Zhizhikin <andrey.z@gmail.com> | 2019-01-09 13:25:06 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-02-25 10:31:32 -0800 |
commit | 1278843c4ab07df70aaeacac0816ce271b931739 (patch) | |
tree | 5a15d3f70109d3a6baa00ba860531f9683800210 | |
parent | 2c0fc7caf2b20853c51a42dcf9aa540b7399d919 (diff) | |
download | meta-altera-1278843c4ab07df70aaeacac0816ce271b931739.tar.gz |
u-boot-socfpga: cleanup u-boot binary suffix definition
UBOOT_BINARY and UBOOT_SUFFIX are defined on a machine
basis, and therefore are moved from u-boot-socfpga
recipe to the machine configuration.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
-rw-r--r-- | conf/machine/cyclone5.conf | 6 | ||||
-rw-r--r-- | recipes-bsp/u-boot/u-boot-socfpga_v2018.05.bb | 8 |
2 files changed, 6 insertions, 8 deletions
diff --git a/conf/machine/cyclone5.conf b/conf/machine/cyclone5.conf index 164c108..7210566 100644 --- a/conf/machine/cyclone5.conf +++ b/conf/machine/cyclone5.conf | |||
@@ -15,6 +15,12 @@ UBOOT_CONFIG[sockit] = "socfpga_sockit_defconfig" | |||
15 | UBOOT_CONFIG[socrates] = "socfpga_socrates_defconfig" | 15 | UBOOT_CONFIG[socrates] = "socfpga_socrates_defconfig" |
16 | UBOOT_CONFIG[sr1500] = "socfpga_sr1500_defconfig" | 16 | UBOOT_CONFIG[sr1500] = "socfpga_sr1500_defconfig" |
17 | 17 | ||
18 | # Some versions of u-boot use .bin and others use .img. | ||
19 | # By default we use .sfp as this is what is generated | ||
20 | # for Cyclone V by the U-Boot. | ||
21 | UBOOT_SUFFIX = "sfp" | ||
22 | UBOOT_BINARY = "u-boot-with-spl.${UBOOT_SUFFIX}" | ||
23 | |||
18 | KMACHINE = "cyclone5" | 24 | KMACHINE = "cyclone5" |
19 | 25 | ||
20 | # Default kernel devicetrees | 26 | # Default kernel devicetrees |
diff --git a/recipes-bsp/u-boot/u-boot-socfpga_v2018.05.bb b/recipes-bsp/u-boot/u-boot-socfpga_v2018.05.bb index 9f0e176..81492cb 100644 --- a/recipes-bsp/u-boot/u-boot-socfpga_v2018.05.bb +++ b/recipes-bsp/u-boot/u-boot-socfpga_v2018.05.bb | |||
@@ -8,12 +8,4 @@ SRCREV = "890e79f2b1c26c5ba1a86d179706348aec7feef7" | |||
8 | SRC_URI_append = "\ | 8 | SRC_URI_append = "\ |
9 | " | 9 | " |
10 | 10 | ||
11 | # Some versions of u-boot use .bin and others use .img. | ||
12 | # By default we use .sfp as this is what is generated | ||
13 | # for Cyclone V by the U-Boot. | ||
14 | UBOOT_SUFFIX = "sfp" | ||
15 | UBOOT_BINARY = "u-boot-with-spl.${UBOOT_SUFFIX}" | ||
16 | |||
17 | UBOOT_MAKE_TARGET ?= "all" | ||
18 | |||
19 | DEPENDS += "dtc-native bc-native u-boot-mkimage-native" | 11 | DEPENDS += "dtc-native bc-native u-boot-mkimage-native" |