From owner-svn-ports-all@freebsd.org Tue Dec 19 15:08:42 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D3404E88F11; Tue, 19 Dec 2017 15:08:42 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9FB2F7C6EF; Tue, 19 Dec 2017 15:08:42 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBJF8fCt063006; Tue, 19 Dec 2017 15:08:41 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBJF8fmN063005; Tue, 19 Dec 2017 15:08:41 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201712191508.vBJF8fmN063005@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Tue, 19 Dec 2017 15:08:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456722 - in head/sysutils/u-boot-tools: . files X-SVN-Group: ports-head X-SVN-Commit-Author: bapt X-SVN-Commit-Paths: in head/sysutils/u-boot-tools: . files X-SVN-Commit-Revision: 456722 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2017 15:08:42 -0000 Author: bapt Date: Tue Dec 19 15:08:41 2017 New Revision: 456722 URL: https://svnweb.freebsd.org/changeset/ports/456722 Log: CLeanup u-boot-tools - Do not overwrite do-build, it is not necessary - Ensure the env variables are respected during configure phase - Now that we use the regular do-build kernel we can pass gmake variables via arguments which allows to overwrites predefine ones without custom patches - Force verbose mode when building to see what command line is invoke, in in particular which compiler is called - Overwrite NOSTDINC_FLAGS because on freebsd we do actually want to use our regular standard include files - Register the dependency on libssl/libcrypto Approved by: manu Differential Revision: https://reviews.freebsd.org/D13543 Deleted: head/sysutils/u-boot-tools/files/ Modified: head/sysutils/u-boot-tools/Makefile Modified: head/sysutils/u-boot-tools/Makefile ============================================================================== --- head/sysutils/u-boot-tools/Makefile Tue Dec 19 14:58:15 2017 (r456721) +++ head/sysutils/u-boot-tools/Makefile Tue Dec 19 15:08:41 2017 (r456722) @@ -12,17 +12,19 @@ COMMENT= U-boot related tools LICENSE= GPLv2 -USES= tar:bzip2 gmake python:2.7,build +USES= tar:bzip2 gmake python:2.7,build ssl CONFLICT= uboot-mkimage +ALL_TARGET= tools-only +MAKE_ARGS= ARCH=sandbox \ + CC="${CC}" \ + KBUILD_VERBOSE=1 \ + NOSTDINC_FLAGS="" \ PLIST_FILES= bin/mkimage bin/mkenvimage bin/dumpimage bin/fit_info do-configure: - (cd ${WRKSRC}/ && ${MAKE_CMD} sandbox_defconfig) - -do-build: - (cd ${WRKSRC}/ && ${MAKE_CMD} ARCH=sandbox tools-only) + (cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} sandbox_defconfig) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tools/dumpimage ${STAGEDIR}${PREFIX}/bin