Changeset 147a066 in mainline for kernel/Makefile
- Timestamp:
- 2016-05-10T06:32:18Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2889634
- Parents:
- 7ba16eb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
r7ba16eb r147a066 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 … … 385 387 ARCH_AUTOGENS_PROBE_S := $(addsuffix .ag.probe.s,$(basename $(ARCH_AUTOGENS_AG))) 386 388 389 AUTOGENS_H := $(ARCH_AUTOGENS_H) $(GENARCH_AUTOGENS_H) 390 AUTOGENS_AG := $(ARCH_AUTOGENS_AG) $(GENARCH_AUTOGENS_AG) 391 387 392 LFLAGS_LTO := $(addprefix -Xlinker ,$(LFLAGS)) 388 393 … … 464 469 $(GENMAP) $(MAP_PREV) $(DUMP) $@ 465 470 466 $(DEPEND): $(COMMON_HEADER_ARCH) $(ARCH_AUTOGENS_H) $(GENARCH_AUTOGENS_H) 471 $(AUTOGENS_H): $(AGDEPEND) 472 473 $(AGDEPEND): $(AUTOGENS_AG) 474 touch $@ 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) 467 483 makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) -- $(ARCH_SOURCES) $(GENARCH_SOURCES) $(GENERIC_SOURCES) > $@ 2> /dev/null 468 484 -[ -f $(DEPEND_PREV) ] && diff -q $(DEPEND_PREV) $@ && mv -f $(DEPEND_PREV) $@ … … 474 490 -rm $(ARCH_AUTOGENS_H) $(ARCH_AUTOGENS_PROBE_C) $(ARCH_AUTOGENS_PROBE_S) 475 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.