Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2007 16:47:53 GMT
From:      Marius Nuennerich <mn@bsdgroup.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/116442: New port: devel/u-boot-mkimage The mkimage utility of the u-boot bootloader
Message-ID:  <200709181647.l8IGlrZt045791@www.freebsd.org>
Resent-Message-ID: <200709181650.l8IGo1r2062189@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         116442
>Category:       ports
>Synopsis:       New port: devel/u-boot-mkimage The mkimage utility of the u-boot bootloader
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 18 16:50:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Marius Nuennerich
>Release:        6.1-RELEASE
>Organization:
>Environment:
>Description:
The mkimage utility of the u-boot bootloader. This is not the complete bootloader.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./Makefile
#	./files
#	./files/BSDmakefile
#	./distinfo
#	./pkg-descr
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:   u-boot-mkimage
X# Date created:        18 September 2007
X# Whom:                marius nuennerich
X#
X# $FreeBSD$
X#
X
XPORTNAME=	u-boot
XPORTVERSION=	1.2.0
XCATEGORIES=	devel
XMASTER_SITES=	ftp://ftp.denx.de/pub/u-boot/
XPKGNAMESUFFIX=	-mkimage
X
XMAINTAINER=	mn@bsdgroup.de
XCOMMENT=	The mkimage utility of the u-boot bootloader
X
XUSE_BZIP2=	yes
X
XPLIST_FILES=	bin/mkimage
X
Xdo-patch:
X	@${CP} ${PATCHDIR}/BSDmakefile ${WRKSRC}/tools
X
Xdo-build:
X	@cd ${WRKSRC}/tools && make
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/tools/mkimage ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-./Makefile
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/BSDmakefile
sed 's/^X//' >./files/BSDmakefile << 'END-of-./files/BSDmakefile'
XCFLAGS+=	-I../include -DUSE_HOSTCC
X
Xall: mkimage
X
Xmkimage: mkimage.o crc32.o
X	$(CC) $(CFLAGS) -o $(.TARGET) $(.ALLSRC)
X
Xcrc32.o: ../lib_generic/crc32.c ../include/zlib.h
X
Xclean:
X	rm -f mkimage mkimage.o crc32.o
END-of-./files/BSDmakefile
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XSHA256 (u-boot-1.2.0.tar.bz2) = 62192ddf019c5d24f6538b33c9e69b6e5792bf5b0f464c0149061e2f0871108b
XMD5 (u-boot-1.2.0.tar.bz2) = 17aeee76ca4c07887bbfea8a52d40884
XSIZE (u-boot-1.2.0.tar.bz2) = 6929112
END-of-./distinfo
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
Xmkimage adds a header to a kernel image with information and checksums for
Xthe u-boot bootloader used in embedded systems.
X
XWWW: http://www.denx.de/wiki/UBoot
END-of-./pkg-descr
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



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