diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-08-22 11:40:02 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-08-22 11:40:02 -0400 |
commit | 1b83fb72f5602ab0b050e2df14ed37a2463b53b7 (patch) | |
tree | 871e422795cb6c890638c65f09fac862195aadc8 /Makefile | |
parent | e59d87525600f9171dcf93dd767aac9fe33c6e54 (diff) | |
download | kutter-1b83fb72f5602ab0b050e2df14ed37a2463b53b7.tar.gz kutter-1b83fb72f5602ab0b050e2df14ed37a2463b53b7.tar.xz kutter-1b83fb72f5602ab0b050e2df14ed37a2463b53b7.zip |
Makefile: Use "tr -s" in compile_time_request.txt generation
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -87,7 +87,7 @@ $(OUT)%.o.ctr: $(OUT)%.o $(OUT)compile_time_request.o: $(patsubst %.c, $(OUT)src/%.o.ctr,$(src-y)) ./scripts/buildcommands.py @echo " Building $@" - $(Q)cat $(patsubst %.c, $(OUT)src/%.o.ctr,$(src-y)) | tr '\0' '\n' > $(OUT)compile_time_request.txt + $(Q)cat $(patsubst %.c, $(OUT)src/%.o.ctr,$(src-y)) | tr -s '\0' '\n' > $(OUT)compile_time_request.txt $(Q)$(PYTHON) ./scripts/buildcommands.py -d $(OUT)klipper.dict -t "$(CC);$(AS);$(LD);$(OBJCOPY);$(OBJDUMP);$(STRIP)" $(OUT)compile_time_request.txt $(OUT)compile_time_request.c $(Q)$(CC) $(CFLAGS) -c $(OUT)compile_time_request.c -o $@ |