Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kbuild: use pattern rule for building built-in.a in sub-directories

The built-in.a in a sub-directory is created by descending into that
directory. It does not depend on the other sub-directories. Loosen
the dependency.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

+1 -1
+1 -1
scripts/Makefile.build
··· 372 372 # --------------------------------------------------------------------------- 373 373 374 374 # To build objects in subdirs, we need to descend into the directories 375 - $(sort $(subdir-obj-y)): $(subdir-ym) ; 375 + $(obj)/%/built-in.a: $(obj)/% ; 376 376 377 377 # 378 378 # Rule to compile a set of .o files into one .a file (without symbol table)