Changes in kernel/Makefile [95b2276:91db0280] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
r95b2276 r91db0280 66 66 SIZEOK_MAP = generic/src/debug/sizeok_map.o 67 67 68 .PHONY: all clean autogen_clean68 .PHONY: all clean 69 69 70 70 all: $(VERSION_DEF) $(COMMON_MAKEFILE) $(COMMON_HEADER) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) $(BIN) $(DISASM) 71 71 -[ -f $(DEPEND) ] && cp -a $(DEPEND) $(DEPEND_PREV) 72 72 73 clean: autogen_clean73 clean: 74 74 rm -f $(DEPEND) $(DEPEND_PREV) $(RAW) $(BIN) $(MAP) $(JOB) $(MAP_PREV) $(DISASM) $(DUMP) $(REAL_MAP).* arch/*/_link.ld arch/*/include/arch/common.h 75 find generic/src/ arch/*/src/ genarch/src/ test/ -name '*.o' -follow -exec rm '{}'\;75 find generic/src/ arch/*/src/ genarch/src/ test/ -name '*.o' -follow -exec rm \{\} \; 76 76 77 77 ## Common compiler flags … … 367 367 GENARCH_OBJECTS := $(addsuffix .o,$(basename $(GENARCH_SOURCES))) 368 368 369 ARCH_AUTOGENS_H := $(addsuffix .h,$(basename $(ARCH_AUTOGENS_AG)))370 ARCH_AUTOGENS_PROBE_C := $(addsuffix .ag.probe.c,$(basename $(ARCH_AUTOGENS_AG)))371 ARCH_AUTOGENS_PROBE_S := $(addsuffix .ag.probe.s,$(basename $(ARCH_AUTOGENS_AG)))372 373 369 LFLAGS_LTO := $(addprefix -Xlinker ,$(LFLAGS)) 374 370 … … 401 397 $(LINK): $(LINK).in $(DEPEND) 402 398 $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -D__LINKER__ -E -x c $< | grep -v "^\#" > $@ 403 404 %.h: %.ag405 $(AUTOGEN) probe $< >$<.probe.c406 $(CC) $(DEFS) $(CFLAGS) -S -o $<.probe.s $<.probe.c407 $(AUTOGEN) generate $< <$<.probe.s >$@408 399 409 400 %.o: %.S $(DEPEND) … … 450 441 $(GENMAP) $(MAP_PREV) $(DUMP) $@ 451 442 452 $(DEPEND): $(COMMON_HEADER_ARCH) $(ARCH_AUTOGENS_H)443 $(DEPEND): $(COMMON_HEADER_ARCH) 453 444 makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) -- $(ARCH_SOURCES) $(GENARCH_SOURCES) $(GENERIC_SOURCES) > $@ 2> /dev/null 454 445 -[ -f $(DEPEND_PREV) ] && diff -q $(DEPEND_PREV) $@ && mv -f $(DEPEND_PREV) $@ … … 456 447 $(COMMON_HEADER_ARCH): $(COMMON_HEADER) 457 448 ln -sfn ../../../../$< $@ 458 459 autogen_clean:460 -rm $(ARCH_AUTOGENS_H) $(ARCH_AUTOGENS_PROBE_C) $(ARCH_AUTOGENS_PROBE_S)
Note:
See TracChangeset
for help on using the changeset viewer.