From 8f122e00919e351f260e08103dd7ed4d9f7f32ba Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Fri, 13 Sep 2013 14:35:41 +0200 Subject: imxtools: add pin map and decoding tool Also add the tool which was used to generate the map on wiki. Change-Id: I54f3474028b5fa75348564437ec1b46ba20f071b --- utils/imxtools/misc/Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 utils/imxtools/misc/Makefile (limited to 'utils/imxtools/misc/Makefile') diff --git a/utils/imxtools/misc/Makefile b/utils/imxtools/misc/Makefile new file mode 100644 index 0000000000..ee4dadd953 --- /dev/null +++ b/utils/imxtools/misc/Makefile @@ -0,0 +1,23 @@ +DEFINES= +CC=gcc +LD=gcc +CFLAGS=-O3 -g -std=c99 -W -Wall $(DEFINES) +LDFLAGS= +BINS=io_pins wiki_gen + +all: $(BINS) + +%.o: %.c + $(CC) $(CFLAGS) -c -o $@ $< + +io_pins: io_pins.o + $(LD) -o $@ $^ $(LDFLAGS) + +wiki_gen: wiki_gen.o + $(LD) -o $@ $^ $(LDFLAGS) + +clean: + rm -fr *.o + +veryclean: + rm -rf $(BINS) -- cgit v1.2.3