diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2020-04-02 11:19:34 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-04-02 13:54:18 -0300 |
commit | d15639a0a27393aa455adae113f4692c27367e89 (patch) | |
tree | 3801aaca0e29776d7bdd3d745d93047af7d8fc70 /recipes-bsp/u-boot/u-boot-qoriq-fw-utils_2019.09.bb | |
parent | fdd6ad74bacaa625d2a377d4741ac770c6cb5b29 (diff) | |
download | meta-freescale-d15639a0a27393aa455adae113f4692c27367e89.tar.gz |
u-boot-qoriq-fw-utils: Drop recipe as libubootenv works as replacement
Now we are using libubootenv and dropped the u-boot-qoriq-fw-utils, we
need to move the configuration file to the main recipe.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-qoriq-fw-utils_2019.09.bb')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-qoriq-fw-utils_2019.09.bb | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/recipes-bsp/u-boot/u-boot-qoriq-fw-utils_2019.09.bb b/recipes-bsp/u-boot/u-boot-qoriq-fw-utils_2019.09.bb deleted file mode 100644 index 7a8ad21b..00000000 --- a/recipes-bsp/u-boot/u-boot-qoriq-fw-utils_2019.09.bb +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | require u-boot-qoriq-common_${PV}.inc | ||
2 | |||
3 | SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities" | ||
4 | DEPENDS = "mtd-utils bison-native" | ||
5 | |||
6 | EXTRA_OEMAKE_class-target = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1' | ||
7 | EXTRA_OEMAKE_class-cross = 'ARCH=${TARGET_ARCH} CC="${CC} ${CFLAGS} ${LDFLAGS}" STRIP=true V=1' | ||
8 | |||
9 | inherit uboot-config | ||
10 | |||
11 | do_compile () { | ||
12 | oe_runmake ${UBOOT_MACHINE} | ||
13 | oe_runmake envtools | ||
14 | } | ||
15 | |||
16 | do_install () { | ||
17 | install -d ${D}${base_sbindir} | ||
18 | install -d ${D}${sysconfdir} | ||
19 | install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv | ||
20 | install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv | ||
21 | |||
22 | if [ -e ${WORKDIR}/fw_env.config ]; then | ||
23 | install -m 0644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config | ||
24 | else | ||
25 | install -m 0644 ${S}/tools/env/fw_env.config ${D}${sysconfdir}/fw_env.config | ||
26 | fi | ||
27 | } | ||
28 | |||
29 | do_install_class-cross () { | ||
30 | install -d ${D}${bindir_cross} | ||
31 | install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_printenv | ||
32 | install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_setenv | ||
33 | } | ||
34 | |||
35 | SYSROOT_PREPROCESS_FUNCS_class-cross = "uboot_fw_utils_cross" | ||
36 | uboot_fw_utils_cross() { | ||
37 | sysroot_stage_dir ${D}${bindir_cross} ${SYSROOT_DESTDIR}${bindir_cross} | ||
38 | } | ||
39 | |||
40 | PROVIDES += "u-boot-fw-utils" | ||
41 | RPROVIDES_${PN} += "u-boot-fw-utils" | ||
42 | |||
43 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
44 | BBCLASSEXTEND = "cross" | ||