diff options
author | emaste <emaste@FreeBSD.org> | 2011-03-31 15:12:40 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2011-03-31 15:12:40 +0000 |
commit | 3666785171ab6fafe3466579d69d661e79599f96 (patch) | |
tree | bee677a660c9e2be629392f7e39b9161156f33fa /share/examples | |
parent | 2bf6daa9c4461455da89020adf4c7e8f825e49e8 (diff) | |
download | FreeBSD-src-3666785171ab6fafe3466579d69d661e79599f96.zip FreeBSD-src-3666785171ab6fafe3466579d69d661e79599f96.tar.gz |
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.
Diffstat (limited to 'share/examples')
-rw-r--r-- | share/examples/kld/firmware/fwimage/Makefile | 4 | ||||
-rw-r--r-- | share/examples/kld/firmware/fwimage/firmware.img.in (renamed from share/examples/kld/firmware/fwimage/firmware.img) | bin | 537 -> 532 bytes |
2 files changed, 4 insertions, 0 deletions
diff --git a/share/examples/kld/firmware/fwimage/Makefile b/share/examples/kld/firmware/fwimage/Makefile index 5c0ad7a..6c62182 100644 --- a/share/examples/kld/firmware/fwimage/Makefile +++ b/share/examples/kld/firmware/fwimage/Makefile @@ -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> diff --git a/share/examples/kld/firmware/fwimage/firmware.img b/share/examples/kld/firmware/fwimage/firmware.img.in Binary files differindex afc3c23..a77e080 100644 --- a/share/examples/kld/firmware/fwimage/firmware.img +++ b/share/examples/kld/firmware/fwimage/firmware.img.in |