Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2017 19:20:08 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456671 - in head/sysutils: . u-boot-tools u-boot-tools/files
Message-ID:  <201712181920.vBIJK8Zf060464@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu (src committer)
Date: Mon Dec 18 19:20:08 2017
New Revision: 456671
URL: https://svnweb.freebsd.org/changeset/ports/456671

Log:
  Add new port sysutils/u-boot-tools
  
  U-Boot tools for creating and analyzing u-boot images.
  U-Boot images are used to embed kernels into a know format for u-boot.
  It can also be FIT (Flattened Image Tree) images when the source describing
  the image is written like a DTS (Device Tree Source).
  
  Reviewed by:	imp
  Approved by:	imp
  Differential Revision:	https://reviews.freebsd.org/D13455

Added:
  head/sysutils/u-boot-tools/
  head/sysutils/u-boot-tools/Makefile   (contents, props changed)
  head/sysutils/u-boot-tools/distinfo   (contents, props changed)
  head/sysutils/u-boot-tools/files/
  head/sysutils/u-boot-tools/files/patch-Makefile   (contents, props changed)
  head/sysutils/u-boot-tools/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Mon Dec 18 19:14:32 2017	(r456670)
+++ head/sysutils/Makefile	Mon Dec 18 19:20:08 2017	(r456671)
@@ -1228,6 +1228,7 @@
     SUBDIR += u-boot-rpi3
     SUBDIR += u-boot-sinovoip-bpi-m3
     SUBDIR += u-boot-sopine
+    SUBDIR += u-boot-tools
     SUBDIR += u-boot-utilite
     SUBDIR += u-boot-wandboard
     SUBDIR += u-boot-zedboard

Added: head/sysutils/u-boot-tools/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/u-boot-tools/Makefile	Mon Dec 18 19:20:08 2017	(r456671)
@@ -0,0 +1,33 @@
+# Created by: Emmanuel Vadot <manu@freebsd.org>
+# $FreeBSD$
+
+PORTNAME=	u-boot-tools
+DISTVERSION=	2017.09
+CATEGORIES=	sysutils
+MASTER_SITES=	ftp://ftp.denx.de/pub/u-boot/
+DISTNAME=	u-boot-${PORTVERSION}
+
+MAINTAINER=	uboot@FreeBSD.org
+COMMENT=	U-boot related tools
+
+LICENSE=	GPLv2
+
+USES=	tar:bzip2 gmake python:2.7,build
+
+CONFLICT=	uboot-mkimage
+
+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)
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/tools/dumpimage ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/tools/fit_info ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/tools/mkenvimage ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/tools/mkimage ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>

Added: head/sysutils/u-boot-tools/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/u-boot-tools/distinfo	Mon Dec 18 19:20:08 2017	(r456671)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1513026851
+SHA256 (u-boot-2017.09.tar.bz2) = b2d15f2cf5f72e706025cde73d67247c6da8cd35f7e10891eefe7d9095089744
+SIZE (u-boot-2017.09.tar.bz2) = 11434323

Added: head/sysutils/u-boot-tools/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/u-boot-tools/files/patch-Makefile	Mon Dec 18 19:20:08 2017	(r456671)
@@ -0,0 +1,20 @@
+--- Makefile.orig	2017-09-11 18:10:40 UTC
++++ Makefile
+@@ -338,7 +338,7 @@ LD		= $(CROSS_COMPILE)ld.bfd
+ else
+ LD		= $(CROSS_COMPILE)ld
+ endif
+-CC		= $(CROSS_COMPILE)gcc
++CC		= $(CROSS_COMPILE)cc
+ CPP		= $(CC) -E
+ AR		= $(CROSS_COMPILE)ar
+ NM		= $(CROSS_COMPILE)nm
+@@ -633,7 +633,7 @@ UBOOTINCLUDE    := \
+ 		-I$(srctree)/arch/$(ARCH)/include \
+ 		-include $(srctree)/include/linux/kconfig.h
+ 
+-NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
++NOSTDINC_FLAGS += -isystem $(shell $(CC) -print-file-name=include)
+ CHECKFLAGS     += $(NOSTDINC_FLAGS)
+ 
+ # FIX ME

Added: head/sysutils/u-boot-tools/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/u-boot-tools/pkg-descr	Mon Dec 18 19:20:08 2017	(r456671)
@@ -0,0 +1,7 @@
+U-Boot tools for creating and analyzing u-boot images.
+
+U-Boot images are used to embed kernels into a know format for u-boot.
+It can also be FIT (Flattened Image Tree) images when the source describing
+the image is written like a DTS (Device Tree Source).
+
+WWW: http://www.denx.de/wiki/U-Boot



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