summaryrefslogtreecommitdiffstats
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@pefoley.com>2014-09-25 11:23:02 -0700
committerJiri Kosina <jkosina@suse.cz>2014-09-26 11:02:55 +0200
commitdf68a01014fd5dea890349321787ca08a5377f0b (patch)
tree1e49292b3dfef57e91ca5bfcb031d4bff08e1dd1 /Documentation/Makefile
parentf4cb707e7ad9727a046b463232f2de166e327d3e (diff)
downloadlinux-df68a01014fd5dea890349321787ca08a5377f0b.tar.bz2
Documentation: use subdir-y to avoid unnecessary built-in.o files
Change the Documentation makefiles from obj-m to subdir-y to avoid generating unnecessary built-in.o files since nothing in Documentation/ is ever linked in to vmlinux. Signed-off-by: Peter Foley <pefoley2@pefoley.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 31d302bc5863..605f84f29bae 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -1,3 +1,3 @@
-obj-m := DocBook/ accounting/ auxdisplay/ connector/ \
- filesystems/ filesystems/configfs/ ia64/ laptops/ networking/ \
- pcmcia/ spi/ timers/ watchdog/src/ misc-devices/mei/
+subdir-y := DocBook accounting auxdisplay connector \
+ filesystems filesystems ia64 laptops networking \
+ pcmcia spi timers watchdog misc-devices