mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-22 11:29:26 +00:00
Fix the ldflags.txt and obj.txt checks
There was a minor typo, which caused the files to not be generated and therefore the elf files were always linked.
This commit is contained in:
parent
6d1e916851
commit
13f3c73386
@ -332,11 +332,13 @@ $1/compiler.txt: $1/force
|
|||||||
$$(CC) --version | cmp -s - $$@ || $$(CC) --version > $$@
|
$$(CC) --version | cmp -s - $$@ || $$(CC) --version > $$@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
.PRECIOUS: $(MASTER_OUTPUT)/obj.txt
|
||||||
$(MASTER_OUTPUT)/obj.txt: $(MASTER_OUTPUT)/force
|
$(MASTER_OUTPUT)/obj.txt: $(MASTER_OUTPUT)/force
|
||||||
echo '$(OBJ)' | cmp -s - $$@ || echo '$(OBJ)' > $$@
|
echo '$(OBJ)' | cmp -s - $@ || echo '$(OBJ)' > $@
|
||||||
|
|
||||||
|
.PRECIOUS: $(MASTER_OUTPUT)/ldflags.txt
|
||||||
$(MASTER_OUTPUT)/ldflags.txt: $(MASTER_OUTPUT)/force
|
$(MASTER_OUTPUT)/ldflags.txt: $(MASTER_OUTPUT)/force
|
||||||
echo '$(LDFLAGS)' | cmp -s - $$@ || echo '$(LDFLAGS)' > $$@
|
echo '$(LDFLAGS)' | cmp -s - $@ || echo '$(LDFLAGS)' > $@
|
||||||
|
|
||||||
|
|
||||||
# We have to use static rules for the .d files for some reason
|
# We have to use static rules for the .d files for some reason
|
||||||
|
Loading…
Reference in New Issue
Block a user