diff options
-rw-r--r-- | recipes-bsp/u-boot/u-boot-fslc-mxsboot_2023.01.bb | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2023.01.bb b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2023.01.bb index a7dfd8aa..b7e4ca76 100644 --- a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2023.01.bb +++ b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2023.01.bb | |||
@@ -3,7 +3,17 @@ require u-boot-fslc-common_${PV}.inc | |||
3 | DESCRIPTION = "U-boot bootloader mxsboot tool" | 3 | DESCRIPTION = "U-boot bootloader mxsboot tool" |
4 | SECTION = "bootloader" | 4 | SECTION = "bootloader" |
5 | 5 | ||
6 | DEPENDS = "swig-native bison-native gnutls-native dtc openssl" | 6 | inherit python3native |
7 | |||
8 | DEPENDS += " \ | ||
9 | bison-native \ | ||
10 | dtc \ | ||
11 | gnutls \ | ||
12 | openssl \ | ||
13 | python3-setuptools-native \ | ||
14 | swig-native \ | ||
15 | util-linux-libuuid \ | ||
16 | " | ||
7 | 17 | ||
8 | PROVIDES = "u-boot-mxsboot" | 18 | PROVIDES = "u-boot-mxsboot" |
9 | 19 | ||
@@ -12,7 +22,7 @@ EXTRA_OEMAKE:class-native = 'CC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" H | |||
12 | EXTRA_OEMAKE:class-nativesdk = 'CROSS_COMPILE="${HOST_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1 CONFIG_MX28=y' | 22 | EXTRA_OEMAKE:class-nativesdk = 'CROSS_COMPILE="${HOST_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1 CONFIG_MX28=y' |
13 | 23 | ||
14 | do_compile () { | 24 | do_compile () { |
15 | oe_runmake -C ${S} O=${B} sandbox_defconfig | 25 | oe_runmake -C ${S} O=${B} tools-only_defconfig |
16 | 26 | ||
17 | # Disable CONFIG_CMD_LICENSE, license.h is not used by tools and | 27 | # Disable CONFIG_CMD_LICENSE, license.h is not used by tools and |
18 | # generating it requires bin2header tool, which for target build | 28 | # generating it requires bin2header tool, which for target build |