Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/u-boot u-boot: depend on python as a tool



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e93dfa238405
branches:  trunk
changeset: 434217:e93dfa238405
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Jun 13 07:01:32 2020 +0000

description:
u-boot: depend on python as a tool

fixes error when running arch/arm/mach-rockchip/make_fit_atf.py

diffstat:

 sysutils/u-boot/u-boot-rockchip.mk |  4 +---
 sysutils/u-boot/u-boot.mk          |  7 +++----
 2 files changed, 4 insertions(+), 7 deletions(-)

diffs (45 lines):

diff -r 7315933f355a -r e93dfa238405 sysutils/u-boot/u-boot-rockchip.mk
--- a/sysutils/u-boot/u-boot-rockchip.mk        Sat Jun 13 00:53:20 2020 +0000
+++ b/sysutils/u-boot/u-boot-rockchip.mk        Sat Jun 13 07:01:32 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: u-boot-rockchip.mk,v 1.8 2020/05/23 09:39:06 rillig Exp $
+# $NetBSD: u-boot-rockchip.mk,v 1.9 2020/06/13 07:01:32 tnn Exp $
 #
 # should be used by sysutils/u-boot-rock64/Makefile
 # used by sysutils/u-boot-rockpro64/Makefile
@@ -31,7 +31,5 @@
        done < ${WRKSRC}/idbloader.img > ${WRKSRC}/rkspi_loader.img 2> /dev/null
        dd if=${WRKSRC}/u-boot.itb seek=1024 conv=notrunc of=${WRKSRC}/rkspi_loader.img
 
-PYTHON_VERSIONS_ACCEPTED+=     37 38
-
 .include "../../sysutils/arm-trusted-firmware-${U_BOOT_IMAGE_TYPE}/buildlink3.mk"
 .include "../../sysutils/u-boot/u-boot-arm64.mk"
diff -r 7315933f355a -r e93dfa238405 sysutils/u-boot/u-boot.mk
--- a/sysutils/u-boot/u-boot.mk Sat Jun 13 00:53:20 2020 +0000
+++ b/sysutils/u-boot/u-boot.mk Sat Jun 13 07:01:32 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: u-boot.mk,v 1.25 2020/05/23 09:39:06 rillig Exp $
+# $NetBSD: u-boot.mk,v 1.26 2020/06/13 07:01:32 tnn Exp $
 
 .include "../../sysutils/u-boot/u-boot-version.mk"
 
@@ -20,10 +20,11 @@
 
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            bison gmake gsed pkg-config gawk
-PYTHON_FOR_BUILD_ONLY= yes
+PYTHON_FOR_BUILD_ONLY= tool
 ALL_ENV+=              PYTHON2=${PYTHONBIN} PYTHONCONFIG=${PYTHONCONFIG}
 ALL_ENV+=              PYTHONLIBPATH=-L$(LOCALBASE)/lib
 PYTHON_VERSIONS_ACCEPTED=      27
+.include "../../lang/python/tool.mk"
 
 .if defined(PKGREVISION) && !empty(PKGREVISION) && (${PKGREVISION} != "0")
 UBOOT_ENV+=    UBOOT_PKGREVISION=nb${PKGREVISION}
@@ -53,5 +54,3 @@
        ${INSTALL_DATA} ${.CURDIR}/files/${UBOOT_INSTALLBOOT_PLIST} \
            ${DESTDIR}${PREFIX}/share/u-boot/${UBOOT_TARGET}/installboot.plist
 .endif
-
-.include "../../lang/python/tool.mk"



Home | Main Index | Thread Index | Old Index