aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-09-10 20:01:52 -0400
committerKevin O'Connor <kevin@koconnor.net>2016-09-10 20:01:52 -0400
commit33a48d926c4c5e1ac578d69f75efa84ab46c5426 (patch)
treef04bc1dffd7a9144d67ce30c47e20b70b499e606 /Makefile
parentc5f50e73c232a2d7bed9df1218c9a85a0ad8c773 (diff)
downloadkutter-33a48d926c4c5e1ac578d69f75efa84ab46c5426.tar.gz
kutter-33a48d926c4c5e1ac578d69f75efa84ab46c5426.tar.xz
kutter-33a48d926c4c5e1ac578d69f75efa84ab46c5426.zip
build: Support creating and storing the data dictionary on each build
Generate the data dictionary in out/klipper.dict on each build. This makes it easier to use the dictionary when debugging. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fedc4d56..2cbc7281 100644
--- a/Makefile
+++ b/Makefile
@@ -88,7 +88,7 @@ $(OUT)klipper.o: $(patsubst %.c, $(OUT)src/%.o,$(src-y)) $(OUT)declfunc.lds
$(OUT)compile_time_request.o: $(OUT)klipper.o ./scripts/buildcommands.py
@echo " Building $@"
$(Q)$(OBJCOPY) -j '.compile_time_request' -O binary $< $(OUT)klipper.o.compile_time_request
- $(Q)$(PYTHON) ./scripts/buildcommands.py $(OUT)klipper.o.compile_time_request $(OUT)autoconf.h $(OUT)compile_time_request.c
+ $(Q)$(PYTHON) ./scripts/buildcommands.py -d $(OUT)klipper.dict $(OUT)klipper.o.compile_time_request $(OUT)autoconf.h $(OUT)compile_time_request.c
$(Q)$(CC) $(CFLAGS) -c $(OUT)compile_time_request.c -o $@
$(OUT)klipper.elf: $(OUT)klipper.o $(OUT)compile_time_request.o