From b68bfe3ffa8cbc2b0789eaf53140cc11c606a59a Mon Sep 17 00:00:00 2001 From: ad Date: Sun, 4 May 2008 23:50:32 +0000 Subject: A couple of dumb utilities: array2bin: take array[] from array.h and spit it out as a binary. bin2blob: take a binary file and output a compressed image as a C array. --- sys/dev/microcode/tools/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sys/dev/microcode/tools/Makefile (limited to 'sys/dev/microcode/tools/Makefile') diff --git a/sys/dev/microcode/tools/Makefile b/sys/dev/microcode/tools/Makefile new file mode 100644 index 00000000000..c7fedf1d5e3 --- /dev/null +++ b/sys/dev/microcode/tools/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1 2008/05/04 23:50:32 ad Exp $ + +BIN= bin2blob array2bin + +all: ${BIN} + +bin2blob: bin2blob.c + cc -Wall -O2 -lz -o bin2blob bin2blob.c + +array2bin: array2bin.c + cc -Wall -O2 -lz -o array2bin array2bin.c + +clean: + rm -f ${BIN} *~ -- cgit