Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2016 21:24:39 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424736 - in head/sysutils: u-boot-duovero u-boot-duovero/files u-boot-pandaboard
Message-ID:  <201610262124.u9QLOd7Q027828@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Wed Oct 26 21:24:39 2016
New Revision: 424736
URL: https://svnweb.freebsd.org/changeset/ports/424736

Log:
  Convert duovero over to u-boot-master.

Added:
  head/sysutils/u-boot-duovero/files/keep-me   (contents, props changed)
Deleted:
  head/sysutils/u-boot-duovero/files/patch-api_api.c
  head/sysutils/u-boot-duovero/files/patch-api_api__storage.c
  head/sysutils/u-boot-duovero/files/patch-common_cmd__elf.c
  head/sysutils/u-boot-duovero/files/patch-common_cmd__test.c
  head/sysutils/u-boot-duovero/files/patch-drivers_mmc_mmc.c
  head/sysutils/u-boot-duovero/files/patch-include_configs_duovero.h
Modified:
  head/sysutils/u-boot-duovero/Makefile   (contents, props changed)
  head/sysutils/u-boot-duovero/distinfo   (contents, props changed)
  head/sysutils/u-boot-pandaboard/Makefile   (contents, props changed)
  head/sysutils/u-boot-pandaboard/distinfo   (contents, props changed)

Modified: head/sysutils/u-boot-duovero/Makefile
==============================================================================
--- head/sysutils/u-boot-duovero/Makefile	Wed Oct 26 21:09:18 2016	(r424735)
+++ head/sysutils/u-boot-duovero/Makefile	Wed Oct 26 21:24:39 2016	(r424736)
@@ -1,42 +1,10 @@
 # $FreeBSD$
 
-PORTNAME=	u-boot
-PORTVERSION=	2014.10
-CATEGORIES=	sysutils
-MASTER_SITES=	ftp://ftp.denx.de/pub/u-boot/
-PKGNAMESUFFIX=	-duovero
+MAINTAINER=	imp@FreeBSD.org
+MASTERDIR=	${.CURDIR}/../u-boot-master
 
-MAINTAINER=	ian@FreeBSD.org
-COMMENT=	Cross-build U-Boot loader for Duovero
+MODEL=		duovero
+BOARD_CONFIG=	duovero_config
+FAMILY=		omap
 
-LICENSE=	GPLv2
-
-BUILD_DEPENDS=	${CROSS_GCC}:devel/arm-none-eabi-gcc492
-
-CROSS_GCC=	arm-none-eabi-gcc-4.9.2
-
-NO_ARCH=	yes
-
-WRKSRC=		${WRKDIR}/u-boot-${PORTVERSION}
-USES=		gmake tar:bzip2
-SSP_UNSAFE=	yes # cross-LD does not support -fstack-protector
-
-U_BOOT_DIR=	share/u-boot/${PORTNAME}${PKGNAMESUFFIX}
-PLIST_FILES=	${U_BOOT_DIR}/u-boot.img \
-		${U_BOOT_DIR}/MLO \
-		${U_BOOT_DIR}/README
-
-MAKE_ARGS+=	ARCH=arm \
-		CC=${CROSS_GCC} \
-		CROSS_COMPILE=arm-none-eabi-
-
-do-configure:
-	(cd ${WRKSRC}; ${MAKE_CMD} duovero_config)
-
-do-install:
-	${MKDIR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}
-	${INSTALL_DATA} ${WRKSRC}/MLO ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}
-	${INSTALL_DATA} ${WRKSRC}/u-boot.img ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}
-	${INSTALL_DATA} ${DESCR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/README
-
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"

Modified: head/sysutils/u-boot-duovero/distinfo
==============================================================================
--- head/sysutils/u-boot-duovero/distinfo	Wed Oct 26 21:09:18 2016	(r424735)
+++ head/sysutils/u-boot-duovero/distinfo	Wed Oct 26 21:24:39 2016	(r424736)
@@ -1,2 +1,3 @@
-SHA256 (u-boot-2014.10.tar.bz2) = d3b132a7a9b3f3182b7aad71c2dfbd4fc15bea83e12c76134eb3ffefc07d1c71
-SIZE (u-boot-2014.10.tar.bz2) = 10217685
+TIMESTAMP = 1476682023
+SHA256 (bsdimp-u-boot-duovero-ports-v2016.05_GH0.tar.gz) = aa9dfb1167398dc7e649f7a9062f628a6bbe89f018a6b1ab856a8a8cd81c8ac0
+SIZE (bsdimp-u-boot-duovero-ports-v2016.05_GH0.tar.gz) = 14363966

Added: head/sysutils/u-boot-duovero/files/keep-me
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/u-boot-duovero/files/keep-me	Wed Oct 26 21:24:39 2016	(r424736)
@@ -0,0 +1 @@
+bite-me

Modified: head/sysutils/u-boot-pandaboard/Makefile
==============================================================================
--- head/sysutils/u-boot-pandaboard/Makefile	Wed Oct 26 21:09:18 2016	(r424735)
+++ head/sysutils/u-boot-pandaboard/Makefile	Wed Oct 26 21:24:39 2016	(r424736)
@@ -1,42 +1,10 @@
 # $FreeBSD$
 
-PORTNAME=	u-boot
-PORTVERSION=	2014.10
-CATEGORIES=	sysutils
-MASTER_SITES=	ftp://ftp.denx.de/pub/u-boot/
-PKGNAMESUFFIX=	-pandaboard
+MAINTAINER=	imp@FreeBSD.org
+USES=		u-boot gmake
 
-MAINTAINER=	ian@FreeBSD.org
-COMMENT=	Cross-build U-Boot loader for PandaBoard
-
-LICENSE=	GPLv2
-
-BUILD_DEPENDS=	${CROSS_GCC}:devel/arm-none-eabi-gcc492
-
-CROSS_GCC=	arm-none-eabi-gcc-4.9.2
-
-NO_ARCH=	yes
-
-WRKSRC=		${WRKDIR}/u-boot-${PORTVERSION}
-USES=		gmake tar:bzip2
-SSP_UNSAFE=	yes # cross-LD does not support -fstack-protector
-
-U_BOOT_DIR=	share/u-boot/${PORTNAME}${PKGNAMESUFFIX}
-PLIST_FILES=	${U_BOOT_DIR}/u-boot.img \
-		${U_BOOT_DIR}/MLO \
-		${U_BOOT_DIR}/README
-
-MAKE_ARGS+=	ARCH=arm \
-		CC=${CROSS_GCC} \
-		CROSS_COMPILE=arm-none-eabi-
-
-do-configure:
-	(cd ${WRKSRC}; ${MAKE_CMD} omap4_panda_config)
-
-do-install:
-	${MKDIR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}
-	${INSTALL_DATA} ${WRKSRC}/MLO ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}
-	${INSTALL_DATA} ${WRKSRC}/u-boot.img ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}
-	${INSTALL_DATA} ${DESCR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/README
+MODEL=		pandaboard
+BOARD_CONFIG=	omap4_panda_config
+FAMILY=		omap
 
 .include <bsd.port.mk>

Modified: head/sysutils/u-boot-pandaboard/distinfo
==============================================================================
--- head/sysutils/u-boot-pandaboard/distinfo	Wed Oct 26 21:09:18 2016	(r424735)
+++ head/sysutils/u-boot-pandaboard/distinfo	Wed Oct 26 21:24:39 2016	(r424736)
@@ -1,2 +1,3 @@
-SHA256 (u-boot-2014.10.tar.bz2) = d3b132a7a9b3f3182b7aad71c2dfbd4fc15bea83e12c76134eb3ffefc07d1c71
-SIZE (u-boot-2014.10.tar.bz2) = 10217685
+TIMESTAMP = 1476680246
+SHA256 (bsdimp-u-boot-pandaboard-ports-v2016.05_GH0.tar.gz) = cadfbec97a3a19714db2f0b7002e3fb0ec046e21ef8eee4c9423fa8fdb29c2e1
+SIZE (bsdimp-u-boot-pandaboard-ports-v2016.05_GH0.tar.gz) = 14364867



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