svn commit: r220205 - head/share/examples/kld/firmware/fwimage
Ed Maste
emaste at FreeBSD.org
Thu Mar 31 15:12:40 UTC 2011
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
More information about the svn-src-head
mailing list