diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot-fw-utils_2020.01.bb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2020.01.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2020.01.bb index 04321b7b66..7de91ffbd7 100644 --- a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2020.01.bb +++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2020.01.bb | |||
@@ -12,22 +12,22 @@ EXTRA_OEMAKE_class-cross = 'HOSTCC="${CC} ${CFLAGS} ${LDFLAGS}" V=1' | |||
12 | inherit uboot-config | 12 | inherit uboot-config |
13 | 13 | ||
14 | do_compile () { | 14 | do_compile () { |
15 | oe_runmake ${UBOOT_MACHINE} | 15 | oe_runmake -C ${S} ${UBOOT_MACHINE} O=${B} |
16 | oe_runmake envtools | 16 | oe_runmake -C ${S} envtools O=${B} |
17 | } | 17 | } |
18 | 18 | ||
19 | do_install () { | 19 | do_install () { |
20 | install -d ${D}${base_sbindir} | 20 | install -d ${D}${base_sbindir} |
21 | install -d ${D}${sysconfdir} | 21 | install -d ${D}${sysconfdir} |
22 | install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv | 22 | install -m 755 ${B}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv |
23 | install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv | 23 | install -m 755 ${B}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv |
24 | install -m 0644 ${S}/tools/env/fw_env.config ${D}${sysconfdir}/fw_env.config | 24 | install -m 0644 ${S}/tools/env/fw_env.config ${D}${sysconfdir}/fw_env.config |
25 | } | 25 | } |
26 | 26 | ||
27 | do_install_class-cross () { | 27 | do_install_class-cross () { |
28 | install -d ${D}${bindir_cross} | 28 | install -d ${D}${bindir_cross} |
29 | install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_printenv | 29 | install -m 755 ${B}/tools/env/fw_printenv ${D}${bindir_cross}/fw_printenv |
30 | install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_setenv | 30 | install -m 755 ${B}/tools/env/fw_printenv ${D}${bindir_cross}/fw_setenv |
31 | } | 31 | } |
32 | 32 | ||
33 | SYSROOT_DIRS_append_class-cross = " ${bindir_cross}" | 33 | SYSROOT_DIRS_append_class-cross = " ${bindir_cross}" |