diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2003-01-26 22:50:23 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2003-01-26 22:50:23 +0100 |
commit | 8aba4e437f95b45a461d81974a755ecef5eab8d1 (patch) | |
tree | f800e97dd64534e465c593377f6d552ed2674329 /Makefile | |
parent | 590f234210c09bfec177c7e8ef377eb07b204315 (diff) | |
download | history-8aba4e437f95b45a461d81974a755ecef5eab8d1.tar.gz |
kbuild: Enable the syntax "make dir/"
"make dir/" is used to build a subsystem without going through the
full kernel tree, neither completing the build.
This is solely useful during development, when focus is on a
single subsystem.
This is the counterpart to "make dir/module.ko"
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile index 529ad6d2e28b11..c2a7cce4eb229d 100644 --- a/Makefile +++ b/Makefile @@ -444,6 +444,8 @@ targets += arch/$(ARCH)/vmlinux.lds.s $(Q)$(MAKE) $(build)=$(@D) $@ %.o: %.c scripts FORCE $(Q)$(MAKE) $(build)=$(@D) $@ +%/: scripts prepare FORCE + $(Q)$(MAKE) $(build)=$(@D) %.ko: scripts FORCE $(Q)$(MAKE) $(build)=$(@D) $@ %.lst: %.c scripts FORCE |