Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2017 22:39:52 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r435807 - in head/sysutils/u-boot-wandboard: . files
Message-ID:  <201703092239.v29Mdqtm093321@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Thu Mar  9 22:39:52 2017
New Revision: 435807
URL: https://svnweb.freebsd.org/changeset/ports/435807

Log:
  Update Wandboard 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-wandboard/distinfo
  head/sysutils/u-boot-wandboard/files/
Modified:
  head/sysutils/u-boot-wandboard/Makefile

Modified: head/sysutils/u-boot-wandboard/Makefile
==============================================================================
--- head/sysutils/u-boot-wandboard/Makefile	Thu Mar  9 22:35:29 2017	(r435806)
+++ head/sysutils/u-boot-wandboard/Makefile	Thu Mar  9 22:39:52 2017	(r435807)
@@ -1,49 +1,18 @@
 # $FreeBSD$
 
-PORTNAME=	u-boot
-PORTVERSION=	2013.10
-PORTREVISION=	2
-CATEGORIES=	sysutils
-PKGNAMESUFFIX=	-wandboard
-
-MAINTAINER=	ian@FreeBSD.org
-COMMENT=	Cross-build U-Boot loader for Wandboard (solo, dual, and quad)
-
-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=	TechNexion
-GH_PROJECT=	u-boot-edm
-GH_TAGNAME=	87f595d
-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_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} edm_cf_imx6_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=68 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 <bsd.port.mk>
+MODEL=		wandboard
+BOARD_CONFIG=	wandboard_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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703092239.v29Mdqtm093321>