Changes in kernel/Makefile [2889634:ae7bbfd0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
r2889634 rae7bbfd0 48 48 # 49 49 50 AGDEPEND = Makefile.ag.depend51 50 DEPEND = Makefile.depend 52 51 DEPEND_PREV = $(DEPEND).prev … … 139 138 -include genarch/Makefile.inc 140 139 -include $(DEPEND) 141 -include $(AGDEPEND)142 140 143 141 ## The at-sign … … 379 377 GENARCH_OBJECTS := $(addsuffix .o,$(basename $(GENARCH_SOURCES))) 380 378 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 385 379 ARCH_AUTOGENS_H := $(addsuffix .h,$(basename $(ARCH_AUTOGENS_AG))) 386 380 ARCH_AUTOGENS_PROBE_C := $(addsuffix .ag.probe.c,$(basename $(ARCH_AUTOGENS_AG))) 387 381 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)391 382 392 383 LFLAGS_LTO := $(addprefix -Xlinker ,$(LFLAGS)) … … 469 460 $(GENMAP) $(MAP_PREV) $(DUMP) $@ 470 461 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) 462 $(DEPEND): $(COMMON_HEADER_ARCH) $(ARCH_AUTOGENS_H) 483 463 makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) -- $(ARCH_SOURCES) $(GENARCH_SOURCES) $(GENERIC_SOURCES) > $@ 2> /dev/null 484 464 -[ -f $(DEPEND_PREV) ] && diff -q $(DEPEND_PREV) $@ && mv -f $(DEPEND_PREV) $@ … … 489 469 autogen_clean: 490 470 -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.