diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2020-01-25 13:55:57 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-01-25 13:56:38 +0100 |
commit | 691b4469b3cf94273514f2f41563ab608120643b (patch) | |
tree | 2db341ea06680f264672cb87f9ac804bc803f3ff /recipes-bsp/u-boot/u-boot-tk1.inc | |
parent | b7b10668564b8a887b2cf507116af8700cd8bbaf (diff) |
u-boot.inc: use python3 for build
OE dropped python2 support.
Unify u-boot.inc with openembedded-core which now uses python3 for the build.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-tk1.inc')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-tk1.inc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/recipes-bsp/u-boot/u-boot-tk1.inc b/recipes-bsp/u-boot/u-boot-tk1.inc index 4679a4f..55d8b47 100644 --- a/recipes-bsp/u-boot/u-boot-tk1.inc +++ b/recipes-bsp/u-boot/u-boot-tk1.inc @@ -7,14 +7,13 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" DEPENDS += "kern-tools-native" -inherit uboot-config uboot-extlinux-config uboot-sign deploy cml1 +inherit uboot-config uboot-extlinux-config uboot-sign deploy cml1 python3native -DEPENDS += "swig-native python-native" +DEPENDS += "swig-native" EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" V=1' EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"' -EXTRA_OEMAKE += 'PYTHON2=nativepython STAGING_INCDIR=${STAGING_INCDIR_NATIVE} STAGING_LIBDIR=${STAGING_LIBDIR_NATIVE}' -PATH_prepend = "${STAGING_BINDIR_NATIVE}/python-native:" +EXTRA_OEMAKE += 'STAGING_INCDIR=${STAGING_INCDIR_NATIVE} STAGING_LIBDIR=${STAGING_LIBDIR_NATIVE}' PACKAGECONFIG ??= "openssl" # u-boot will compile its own tools during the build, with specific |