Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2022 19:32:06 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Free BSD <freebsd-arm@freebsd.org>
Subject:   What was sufficient to get sysutils/u-boot-tools to build a 2022.04 vintage
Message-ID:  <E8F79B66-10FE-40B9-812A-274BDEA60551@yahoo.com>
References:  <E8F79B66-10FE-40B9-812A-274BDEA60551.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I've abandoned the overall experiment that lead to building an
updated sysutils/u-boot-tools (in preparation for the experiment).
But I figured that, for future reference, I'd report what was
sufficient to allow the build:

# git -C /usr/ports diff sysutils/u-boot-tools/
diff --git a/sysutils/u-boot-tools/Makefile =
b/sysutils/u-boot-tools/Makefile
index 62ade2765607..28813f0032f2 100644
--- a/sysutils/u-boot-tools/Makefile
+++ b/sysutils/u-boot-tools/Makefile
@@ -1,7 +1,7 @@
 # Created by: Emmanuel Vadot <manu@freebsd.org>
=20
 PORTNAME=3D      u-boot-tools
-DISTVERSION=3D   2020.07
+DISTVERSION=3D   2022.04
 CATEGORIES=3D    sysutils
 MASTER_SITES=3D  ftp://ftp.denx.de/pub/u-boot/
 DISTNAME=3D      u-boot-${PORTVERSION}
@@ -14,6 +14,9 @@ LICENSE=3D      GPLv2
 BROKEN_SSL=3D    libressl
 BROKEN_SSL_REASON_libressl=3D    not supported by the upstream
=20
+BUILD_DEPENDS=3D gnutls>0:security/gnutls \
+               e2fsprogs-libuuid>0:misc/e2fsprogs-libuuid
+
 USES=3D          bison compiler:c11 gmake python:build ssl tar:bzip2
=20
 CONFLICTS=3D     uboot-mkimage
@@ -23,6 +26,7 @@ MAKE_ARGS=3D    ARCH=3Dsandbox \
                HOSTCC=3D"${CC}" \
                KBUILD_VERBOSE=3D1 \
                NOSTDINC_FLAGS=3D"" \
+               HOSTCFLAGS=3D"-I${LOCALBASE}/include -L${LOCALBASE}/lib"
=20
 PLIST_FILES=3D   bin/mkimage bin/mkenvimage bin/dumpimage bin/fit_info
=20
diff --git a/sysutils/u-boot-tools/distinfo =
b/sysutils/u-boot-tools/distinfo
index 7556c3f85224..edb5af20acd7 100644
--- a/sysutils/u-boot-tools/distinfo
+++ b/sysutils/u-boot-tools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP =3D 1594115686
-SHA256 (u-boot-2020.07.tar.bz2) =3D =
c1f5bf9ee6bb6e648edbf19ce2ca9452f614b08a9f886f1a566aa42e8cf05f6a
-SIZE (u-boot-2020.07.tar.bz2) =3D 15338841
+TIMESTAMP =3D 1650330735
+SHA256 (u-boot-2022.04.tar.bz2) =3D =
68e065413926778e276ec3abd28bb32fa82abaa4a6898d570c1f48fbdb08bcd0
+SIZE (u-boot-2022.04.tar.bz2) =3D 17772787


portlint had no new messages. poudriere testport looked to
be okay with it on amd64 and aarch64. For reference:

=3D>> Checking shared library dependencies
 0x0000000000000001 NEEDED               Shared library: [libc.so.7]
 0x0000000000000001 NEEDED               Shared library: =
[libcrypto.so.111]
 0x0000000000000001 NEEDED               Shared library: [libssl.so.111]

The HOSTCFLAGS use does result in a bunch of messages:

cc: warning: argument unused during compilation: '-L/usr/local/lib' =
[-Wunused-command-line-argument]

but the -L was sometimes used.

I did not install and test the build before abandoning
the overall experiment.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E8F79B66-10FE-40B9-812A-274BDEA60551>