Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2011 15:12:40 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r220205 - head/share/examples/kld/firmware/fwimage
Message-ID:  <201103311512.p2VFCeEn010300@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Thu Mar 31 15:12:40 2011
New Revision: 220205
URL: http://svn.freebsd.org/changeset/base/220205

Log:
  Avoid having a binary file in our source tree and instead create it at
  build time, to avoid possible grief maintaining FreeBSD source in
  alternative version control tools.

Added:
  head/share/examples/kld/firmware/fwimage/firmware.img.in
     - copied, changed from r220153, head/share/examples/kld/firmware/fwimage/firmware.img
Deleted:
  head/share/examples/kld/firmware/fwimage/firmware.img
Modified:
  head/share/examples/kld/firmware/fwimage/Makefile

Modified: head/share/examples/kld/firmware/fwimage/Makefile
==============================================================================
--- head/share/examples/kld/firmware/fwimage/Makefile	Thu Mar 31 15:11:12 2011	(r220204)
+++ head/share/examples/kld/firmware/fwimage/Makefile	Thu Mar 31 15:12:40 2011	(r220205)
@@ -3,4 +3,8 @@
 KMOD=	beastie
 FIRMWS=	firmware.img:beastie
 
+firmware.img: firmware.img.in
+	cp ${.ALLSRC} ${.TARGET}
+	printf '\0\0\0\0\0' >> ${.TARGET}
+
 .include <bsd.kmod.mk>

Copied and modified: head/share/examples/kld/firmware/fwimage/firmware.img.in (from r220153, head/share/examples/kld/firmware/fwimage/firmware.img)
==============================================================================
Files head/share/examples/kld/firmware/fwimage/firmware.img	Wed Mar 30 01:19:00 2011	(r220153, copy source) and head/share/examples/kld/firmware/fwimage/firmware.img.in	Thu Mar 31 15:12:40 2011	(r220205) differ



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