mirror of
https://xff.cz/git/pinephone-keyboard/
synced 2024-11-08 13:38:24 +01:00
firmware: Rebuild if any source file changes
This catches changes to the stock IVT assembly. Instead of adding that to the list, use $(wildcard) to be more future-proof.
This commit is contained in:
parent
1fd0bac031
commit
78b438a747
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -38,7 +38,7 @@ $(OUT)ppkb-i2c-selftest: i2c-selftest.c common.c
|
|||
@mkdir -p $(OUT)
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
$(OUT)fw-stock.bin $(OUT)fw-user.bin: firmware/em85f684a.h firmware/main.c firmware/build.sh firmware/bootloader.bin
|
||||
$(OUT)fw-stock.bin $(OUT)fw-user.bin: $(wildcard firmware/*.*)
|
||||
@mkdir -p $(OUT)
|
||||
cd firmware && ./build.sh
|
||||
cp -f firmware/build/fw-stock.bin $(OUT)fw-stock.bin
|
||||
|
|
Loading…
Reference in a new issue