Changes in kernel/Makefile [ae7bbfd0:2889634] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
rae7bbfd0 r2889634 48 48 # 49 49 50 AGDEPEND = Makefile.ag.depend 50 51 DEPEND = Makefile.depend 51 52 DEPEND_PREV = $(DEPEND).prev … … 138 139 -include genarch/Makefile.inc 139 140 -include $(DEPEND) 141 -include $(AGDEPEND) 140 142 141 143 ## The at-sign … … 377 379 GENARCH_OBJECTS := $(addsuffix .o,$(basename $(GENARCH_SOURCES))) 378 380 381 GENARCH_AUTOGENS_H := $(addsuffix .h,$(basename $(GENARCH_AUTOGENS_AG))) 382 GENARCH_AUTOGENS_PROBE_C := $(addsuffix .ag.probe.c,$(basename $(GENARCH_AUTOGENS_AG))) 383 GENARCH_AUTOGENS_PROBE_S := $(addsuffix .ag.probe.s,$(basename $(GENARCH_AUTOGENS_AG))) 384 379 385 ARCH_AUTOGENS_H := $(addsuffix .h,$(basename $(ARCH_AUTOGENS_AG))) 380 386 ARCH_AUTOGENS_PROBE_C := $(addsuffix .ag.probe.c,$(basename $(ARCH_AUTOGENS_AG))) 381 387 ARCH_AUTOGENS_PROBE_S := $(addsuffix .ag.probe.s,$(basename $(ARCH_AUTOGENS_AG))) 388 389 AUTOGENS_H := $(ARCH_AUTOGENS_H) $(GENARCH_AUTOGENS_H) 390 AUTOGENS_AG := $(ARCH_AUTOGENS_AG) $(GENARCH_AUTOGENS_AG) 382 391 383 392 LFLAGS_LTO := $(addprefix -Xlinker ,$(LFLAGS)) … … 460 469 $(GENMAP) $(MAP_PREV) $(DUMP) $@ 461 470 462 $(DEPEND): $(COMMON_HEADER_ARCH) $(ARCH_AUTOGENS_H) 471 $(AUTOGENS_H): $(AGDEPEND) 472 473 $(AGDEPEND): $(AUTOGENS_AG) 474 echo "# DO NOT EDIT" >$@ 475 for g in $^; do \ 476 h=`dirname $$g`/`basename $$g .ag`.h; \ 477 for l in `$(AUTOGEN) depend $$g`; do \ 478 echo "$$h: $$l" >>$@; \ 479 done \ 480 done 481 482 $(DEPEND): $(COMMON_HEADER_ARCH) $(AUTOGENS_H) 463 483 makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) -- $(ARCH_SOURCES) $(GENARCH_SOURCES) $(GENERIC_SOURCES) > $@ 2> /dev/null 464 484 -[ -f $(DEPEND_PREV) ] && diff -q $(DEPEND_PREV) $@ && mv -f $(DEPEND_PREV) $@ … … 469 489 autogen_clean: 470 490 -rm $(ARCH_AUTOGENS_H) $(ARCH_AUTOGENS_PROBE_C) $(ARCH_AUTOGENS_PROBE_S) 491 -rm $(GENARCH_AUTOGENS_H) $(GENARCH_AUTOGENS_PROBE_C) $(GENARCH_AUTOGENS_PROBE_S) 492 -rm $(AGDEPEND)
Note:
See TracChangeset
for help on using the changeset viewer.