diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2020-02-14 18:41:34 +0100 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2020-02-19 04:10:32 -0700 |
commit | e2c79ab7d75b4c6ed827e8078e5ebe2d059edafc (patch) | |
tree | 7659a0a9d7869f97bf58499635e9754f013016bc /Documentation/EDID/Makefile | |
parent | b4ce545f349b711351ec4b0df7a3302d91c3dd45 (diff) |
tools/edid: Move EDID data sets from Documentation/
The EDID files are not really documentation.
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/EDID/Makefile')
-rw-r--r-- | Documentation/EDID/Makefile | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/Documentation/EDID/Makefile b/Documentation/EDID/Makefile deleted file mode 100644 index 85a927dfab02..000000000000 --- a/Documentation/EDID/Makefile +++ /dev/null @@ -1,37 +0,0 @@ - -SOURCES := $(wildcard [0-9]*x[0-9]*.S) - -BIN := $(patsubst %.S, %.bin, $(SOURCES)) - -IHEX := $(patsubst %.S, %.bin.ihex, $(SOURCES)) - -CODE := $(patsubst %.S, %.c, $(SOURCES)) - -all: $(BIN) $(IHEX) $(CODE) - -clean: - @rm -f *.o *.bin.ihex *.bin *.c - -%.o: %.S - @cc -c $^ - -%.bin.nocrc: %.o - @objcopy -Obinary $^ $@ - -%.crc: %.bin.nocrc - @list=$$(for i in `seq 1 127`; do head -c$$i $^ | tail -c1 \ - | hexdump -v -e '/1 "%02X+"'; done); \ - echo "ibase=16;100-($${list%?})%100" | bc >$@ - -%.p: %.crc %.S - @cc -c -DCRC="$$(cat $*.crc)" -o $@ $*.S - -%.bin: %.p - @objcopy -Obinary $^ $@ - -%.bin.ihex: %.p - @objcopy -Oihex $^ $@ - @dos2unix $@ 2>/dev/null - -%.c: %.bin - @echo "{" >$@; hexdump -f hex $^ >>$@; echo "};" >>$@ |