From owner-svn-ports-all@freebsd.org Mon Dec 11 17:54:22 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 1796AE98E11; Mon, 11 Dec 2017 17:54:22 +0000 (UTC) (envelope-from manu@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 E347B706E9; Mon, 11 Dec 2017 17:54:21 +0000 (UTC) (envelope-from manu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBBHsLfi070831; Mon, 11 Dec 2017 17:54:21 GMT (envelope-from manu@FreeBSD.org) Received: (from manu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBBHsKVV070828; Mon, 11 Dec 2017 17:54:20 GMT (envelope-from manu@FreeBSD.org) Message-Id: <201712111754.vBBHsKVV070828@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: manu set sender to manu@FreeBSD.org using -f From: Emmanuel Vadot Date: Mon, 11 Dec 2017 17:54:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456054 - in head/sysutils: u-boot-master u-boot-pine64 u-boot-sopine X-SVN-Group: ports-head X-SVN-Commit-Author: manu X-SVN-Commit-Paths: in head/sysutils: u-boot-master u-boot-pine64 u-boot-sopine X-SVN-Commit-Revision: 456054 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: Mon, 11 Dec 2017 17:54:22 -0000 Author: manu (src committer) Date: Mon Dec 11 17:54:20 2017 New Revision: 456054 URL: https://svnweb.freebsd.org/changeset/ports/456054 Log: u-boot: Move allwinner 64 bits dep to u-boot-master We have more than one Allwinner 64bits SoC u-boot ports now and others are coming. Move the dependencies into the u-boot-master ports. While here, switch maintainer on u-boot-pine64 and u-boot-sopine to uboot@ as discussed with imp@ and brd@ Reviewed by: imp (maintainer) Approved by: imp Differential Revision: https://reviews.freebsd.org/D13450 Modified: head/sysutils/u-boot-master/Makefile head/sysutils/u-boot-pine64/Makefile head/sysutils/u-boot-sopine/Makefile Modified: head/sysutils/u-boot-master/Makefile ============================================================================== --- head/sysutils/u-boot-master/Makefile Mon Dec 11 17:39:19 2017 (r456053) +++ head/sysutils/u-boot-master/Makefile Mon Dec 11 17:54:20 2017 (r456054) @@ -5,6 +5,7 @@ PORTNAME= u-boot PORTVERSION= ${UBOOT_VERSION} +PORTREVISION= 1 DISTVERSIONPREFIX= ports-v CATEGORIES= sysutils PKGNAMESUFFIX?= -${MODEL} @@ -97,6 +98,12 @@ COMPILER?=${CROSS_COMPILE}gcc UBOOT_MOVE=${UBOOT_MOVE_${FAMILY:tu}} .endif +# Per family dependancies +.if ${FAMILY} == allwinner64 +BUILD_DEPENDS+= ${LOCALBASE}/share/atf-allwinner/bl31.bin:sysutils/atf-allwinner +MAKE_ENV+= BL31=${LOCALBASE}/share/atf-allwinner/bl31.bin +.endif + # Each u-boot family has different files to include, bring them in. .for i in ${UBOOT_PLIST} PLIST_FILES+= ${UBOOT_DIR}/${i} @@ -105,6 +112,13 @@ PLIST_FILES+= ${UBOOT_DIR}/README do-configure: (cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${MAKE_CMD} ${BOARD_CONFIG}) + +# U-Boot for Allwinner 64bits SoCs is splited in two parts +# Generate a single binary to ease deployement on sdcard +.if ${FAMILY} == allwinner64 +post-build: + ${CAT} ${WRKSRC}/spl/sunxi-spl.bin ${WRKSRC}/u-boot.itb > ${WRKSRC}/u-boot-sunxi-with-spl.bin +.endif # If we need to put anything into WRKSRC, do so now so we can build the PLIST # in do-install Modified: head/sysutils/u-boot-pine64/Makefile ============================================================================== --- head/sysutils/u-boot-pine64/Makefile Mon Dec 11 17:39:19 2017 (r456053) +++ head/sysutils/u-boot-pine64/Makefile Mon Dec 11 17:54:20 2017 (r456054) @@ -1,16 +1,10 @@ # $FreeBSD$ -MAINTAINER= manu@FreeBSD.org +MAINTAINER= uboot@FreeBSD.org MASTERDIR= ${.CURDIR}/../u-boot-master MODEL= pine64 BOARD_CONFIG= pine64_plus_defconfig FAMILY= allwinner64 - -BUILD_DEPENDS= ${LOCALBASE}/share/atf-allwinner/bl31.bin:sysutils/atf-allwinner -MAKE_ENV+= BL31=${LOCALBASE}/share/atf-allwinner/bl31.bin - -post-build: - ${CAT} ${WRKSRC}/spl/sunxi-spl.bin ${WRKSRC}/u-boot.itb > ${WRKSRC}/u-boot-sunxi-with-spl.bin .include "${MASTERDIR}/Makefile" Modified: head/sysutils/u-boot-sopine/Makefile ============================================================================== --- head/sysutils/u-boot-sopine/Makefile Mon Dec 11 17:39:19 2017 (r456053) +++ head/sysutils/u-boot-sopine/Makefile Mon Dec 11 17:54:20 2017 (r456054) @@ -1,16 +1,10 @@ # $FreeBSD$ -MAINTAINER= manu@FreeBSD.org +MAINTAINER= uboot@FreeBSD.org MASTERDIR= ${.CURDIR}/../u-boot-master MODEL= sopine BOARD_CONFIG= sopine_baseboard_defconfig FAMILY= allwinner64 - -BUILD_DEPENDS= ${LOCALBASE}/share/atf-allwinner/bl31.bin:sysutils/atf-allwinner -MAKE_ENV+= BL31=${LOCALBASE}/share/atf-allwinner/bl31.bin - -post-build: - ${CAT} ${WRKSRC}/spl/sunxi-spl.bin ${WRKSRC}/u-boot.itb > ${WRKSRC}/u-boot-sunxi-with-spl.bin .include "${MASTERDIR}/Makefile"