From owner-svn-ports-head@freebsd.org Thu Mar 9 22:44:34 2017 Return-Path: Delivered-To: svn-ports-head@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 94B22D05AB1; Thu, 9 Mar 2017 22:44:34 +0000 (UTC) (envelope-from ian@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 3F8BFEFA; Thu, 9 Mar 2017 22:44:34 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v29MiX6K097186; Thu, 9 Mar 2017 22:44:33 GMT (envelope-from ian@FreeBSD.org) Received: (from ian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v29MiXEa097185; Thu, 9 Mar 2017 22:44:33 GMT (envelope-from ian@FreeBSD.org) Message-Id: <201703092244.v29MiXEa097185@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ian set sender to ian@FreeBSD.org using -f From: Ian Lepore Date: Thu, 9 Mar 2017 22:44:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435808 - in head/sysutils/u-boot-cubox-hummingboard: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2017 22:44:34 -0000 Author: ian Date: Thu Mar 9 22:44:33 2017 New Revision: 435808 URL: https://svnweb.freebsd.org/changeset/ports/435808 Log: Update SolidRun Cubox and Hummingboard U-Boot to use the new master port; also effectively updates the u-boot version from 2013.10 to 2017.01 Reviewed by: imp Approved by: imp Deleted: head/sysutils/u-boot-cubox-hummingboard/distinfo head/sysutils/u-boot-cubox-hummingboard/files/ Modified: head/sysutils/u-boot-cubox-hummingboard/Makefile Modified: head/sysutils/u-boot-cubox-hummingboard/Makefile ============================================================================== --- head/sysutils/u-boot-cubox-hummingboard/Makefile Thu Mar 9 22:39:52 2017 (r435807) +++ head/sysutils/u-boot-cubox-hummingboard/Makefile Thu Mar 9 22:44:33 2017 (r435808) @@ -1,51 +1,18 @@ # $FreeBSD$ -PORTNAME= u-boot -PORTVERSION= 2013.10 -PORTREVISION= 1 -CATEGORIES= sysutils -PKGNAMESUFFIX= -cubox-hummingboard - -MAINTAINER= ian@FreeBSD.org -COMMENT= Cross-build U-Boot loader for SolidRun Cubox - -LICENSE= GPLv2 - -BUILD_DEPENDS= ${CROSS_GCC}:devel/arm-none-eabi-gcc492 - -CROSS_GCC= arm-none-eabi-gcc-4.9.2 - -USE_GITHUB= yes -GH_ACCOUNT= SolidRun -GH_PROJECT= u-boot-imx6 -GH_TAGNAME= e4bc4c3 - -NO_ARCH= yes - -USES= gmake -SSP_UNSAFE= yes # cross-build static linking dies with -fstack-protector - -U_BOOT_DIR= share/u-boot/${PORTNAME}${PKGNAMESUFFIX} -PLIST_DIRS= ${U_BOOT_DIR} share/u-boot -PLIST_FILES= ${U_BOOT_DIR}/u-boot.imx \ - ${U_BOOT_DIR}/README - -MAKE_ARGS+= ARCH=arm \ - CC=${CROSS_GCC} \ - CROSS_COMPILE=arm-none-eabi- \ - HOSTCC=cc - -do-configure: - cd ${WRKSRC}; ${MAKE_CMD} ${MAKE_ARGS} mx6_cubox-i_config - -# The build results in two output files: SPL, and u-boot.img. -# Combine them into a single u-boot.imx so that there is only one file to be -# copied onto the boot media starting at a 1K offset on the disk. -IMXFILE= ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/u-boot.imx -do-install: - ${MKDIR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} - dd bs=1k oseek=0 conv=sync of=${IMXFILE} if=${WRKSRC}/SPL - dd bs=1k oseek=41 conv=sync of=${IMXFILE} if=${WRKSRC}/u-boot.img - ${INSTALL_DATA} ${DESCR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/README +MAINTAINER= imp@FreeBSD.org +MASTERDIR= ${.CURDIR}/../u-boot-master -.include +MODEL= cubox-hummingboard +BOARD_CONFIG= mx6cuboxi_defconfig +FAMILY= imx6 + +IMXFILE= u-boot.imx +UBOOT_PLIST= ${IMXFILE} + +ALL_TARGET= u-boot-with-spl.imx + +pre-install: .PHONY + @${CP} ${WRKSRC}/u-boot-with-spl.imx ${WRKSRC}/${IMXFILE} + +.include "${MASTERDIR}/Makefile"