Skip to content

Commit 423b7f8

Browse files
committed
make: dont remove intermediate .o.c files
They are needed for source debuginfo packages.
1 parent 1088e2b commit 423b7f8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/makefile.inc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ XASCPP = $(call CROSS_ASCPP, -I $(TOP)/../../include $(1))
3535
$(XCPP) -CC -g0 -MD $< | \
3636
sed -E -e 's/^\*\/#/\*\/\n#/' -e 's/^\*\/ *;/\*\/\n;\n/' >$@.c
3737
$(XGCC) -xc $@.c -c $(EXTRA_CFLAGS) -o $@
38-
$(RM) $@.c
3938
%.o : %.S
4039
$(call XASCPP,$<) -o $@
4140
%.o : %.s
@@ -70,7 +69,7 @@ makefile.oho: makefile
7069
endif
7170

7271
clean ::
73-
-$(RM) *.o *.d *.i makefile.oh makefile.oho
72+
-$(RM) *.o *.d *.o.c *.i makefile.oh makefile.oho
7473

7574
DEPS := $(wildcard *.d)
7675
ifneq ($(DEPS),)

0 commit comments

Comments
 (0)