From owner-svn-ports-head@freebsd.org Mon Dec 18 19:20:10 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 47CB4EA58E1; Mon, 18 Dec 2017 19:20:10 +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 21DCF6AB94; Mon, 18 Dec 2017 19:20:10 +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 vBIJK9oA060469; Mon, 18 Dec 2017 19:20:09 GMT (envelope-from manu@FreeBSD.org) Received: (from manu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBIJK8Zf060464; Mon, 18 Dec 2017 19:20:08 GMT (envelope-from manu@FreeBSD.org) Message-Id: <201712181920.vBIJK8Zf060464@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: manu set sender to manu@FreeBSD.org using -f From: Emmanuel Vadot Date: Mon, 18 Dec 2017 19:20:08 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: manu X-SVN-Commit-Paths: in head/sysutils: . u-boot-tools u-boot-tools/files X-SVN-Commit-Revision: 456671 X-SVN-Commit-Repository: ports 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.25 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: Mon, 18 Dec 2017 19:20:10 -0000 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 +# $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 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