diff options
-rw-r--r-- | recipes-bsp/u-boot/u-boot-qoriq-common_2018.03.inc | 19 | ||||
-rw-r--r-- | recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb | 19 |
2 files changed, 20 insertions, 18 deletions
diff --git a/recipes-bsp/u-boot/u-boot-qoriq-common_2018.03.inc b/recipes-bsp/u-boot/u-boot-qoriq-common_2018.03.inc new file mode 100644 index 00000000..5be64e49 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-qoriq-common_2018.03.inc | |||
@@ -0,0 +1,19 @@ | |||
1 | |||
2 | inherit fsl-u-boot-localversion | ||
3 | |||
4 | LICENSE = "GPLv2 & BSD-3-Clause & BSD-2-Clause & LGPL-2.0 & LGPL-2.1" | ||
5 | LIC_FILES_CHKSUM = " \ | ||
6 | file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
7 | file://Licenses/bsd-2-clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \ | ||
8 | file://Licenses/bsd-3-clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c \ | ||
9 | file://Licenses/lgpl-2.0.txt;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | ||
10 | file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \ | ||
11 | " | ||
12 | |||
13 | SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/u-boot;nobranch=1 \ | ||
14 | " | ||
15 | SRCREV = "1e96fd8f464dfe23eb692a11018c20d70546783b" | ||
16 | |||
17 | S = "${WORKDIR}/git" | ||
18 | PV_append = "+fslgit" | ||
19 | LOCALVERSION = "+fsl" \ No newline at end of file | ||
diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb b/recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb index 48646c03..0ad754f7 100644 --- a/recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb +++ b/recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb | |||
@@ -1,29 +1,15 @@ | |||
1 | require recipes-bsp/u-boot/u-boot.inc | 1 | require recipes-bsp/u-boot/u-boot.inc |
2 | require u-boot-qoriq-common_${PV}.inc | ||
2 | 3 | ||
3 | DESCRIPTION = "U-Boot provided by Freescale with focus on QorIQ boards" | 4 | DESCRIPTION = "U-Boot provided by Freescale with focus on QorIQ boards" |
4 | PROVIDES += "u-boot" | 5 | PROVIDES += "u-boot" |
5 | LICENSE = "GPLv2 & BSD-3-Clause & BSD-2-Clause & LGPL-2.0 & LGPL-2.1" | ||
6 | LIC_FILES_CHKSUM = " \ | ||
7 | file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
8 | file://Licenses/bsd-2-clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \ | ||
9 | file://Licenses/bsd-3-clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c \ | ||
10 | file://Licenses/lgpl-2.0.txt;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | ||
11 | file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \ | ||
12 | " | ||
13 | 6 | ||
14 | PV_append = "+fslgit" | ||
15 | INHIBIT_DEFAULT_DEPS = "1" | 7 | INHIBIT_DEFAULT_DEPS = "1" |
16 | DEPENDS = "libgcc virtual/${TARGET_PREFIX}gcc" | 8 | DEPENDS = "libgcc virtual/${TARGET_PREFIX}gcc" |
17 | DEPENDS_append_qoriq-arm64 = " change-file-endianess-native dtc-native tcl-native" | 9 | DEPENDS_append_qoriq-arm64 = " change-file-endianess-native dtc-native tcl-native" |
18 | DEPENDS_append_qoriq-arm = " change-file-endianess-native dtc-native tcl-native" | 10 | DEPENDS_append_qoriq-arm = " change-file-endianess-native dtc-native tcl-native" |
19 | DEPENDS_append_qoriq-ppc = " boot-format-native" | 11 | DEPENDS_append_qoriq-ppc = " boot-format-native" |
20 | 12 | ||
21 | SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/u-boot;nobranch=1 \ | ||
22 | " | ||
23 | SRCREV = "1e96fd8f464dfe23eb692a11018c20d70546783b" | ||
24 | |||
25 | S = "${WORKDIR}/git" | ||
26 | |||
27 | python () { | 13 | python () { |
28 | if d.getVar("TCMODE", True) == "external-fsl": | 14 | if d.getVar("TCMODE", True) == "external-fsl": |
29 | return | 15 | return |
@@ -61,9 +47,6 @@ WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" | |||
61 | EXTRA_OEMAKE = 'CROSS_COMPILE=${WRAP_TARGET_PREFIX} CC="${WRAP_TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${ENDIANNESS_GCC}" LD="${WRAP_TARGET_PREFIX}ld ${ENDIANNESS_LD}" V=1' | 47 | EXTRA_OEMAKE = 'CROSS_COMPILE=${WRAP_TARGET_PREFIX} CC="${WRAP_TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${ENDIANNESS_GCC}" LD="${WRAP_TARGET_PREFIX}ld ${ENDIANNESS_LD}" V=1' |
62 | EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"' | 48 | EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"' |
63 | 49 | ||
64 | inherit fsl-u-boot-localversion | ||
65 | LOCALVERSION = "+fsl" | ||
66 | |||
67 | do_compile_append_qoriq() { | 50 | do_compile_append_qoriq() { |
68 | unset i j k | 51 | unset i j k |
69 | for config in ${UBOOT_MACHINE}; do | 52 | for config in ${UBOOT_MACHINE}; do |