mirror of
https://github.com/akatrevorjay/edid-generator.git
synced 2026-01-15 23:50:28 +01:00
Fix "EDID length 127 is not a multiple of 128"
Fix issue EDID bin length issue that apperead on recent versions of gcc or objcopy (see gh-21). The fix has been originally suggested by marwanramadan.
This commit is contained in:
4
Makefile
4
Makefile
@@ -16,7 +16,7 @@ clean:
|
||||
cc -c -DCRC="0x00" -o $@ $^
|
||||
|
||||
%.bin.nocrc: %.o
|
||||
objcopy -Obinary $^ $@
|
||||
objcopy -j .data -Obinary $^ $@
|
||||
|
||||
%.crc: %.bin.nocrc
|
||||
cat $^ | edid-decode \
|
||||
@@ -26,7 +26,7 @@ clean:
|
||||
cc -c -DCRC="$$(cat $*.crc)" -o $@ $*.S
|
||||
|
||||
%.bin: %.p
|
||||
objcopy -Obinary $^ $@
|
||||
objcopy -j .data -Obinary $^ $@
|
||||
|
||||
%.bin.ihex: %.p
|
||||
objcopy -Oihex $^ $@
|
||||
|
||||
Reference in New Issue
Block a user