diff options
author | Peter Foley <pefoley2@pefoley.com> | 2014-09-25 20:23:02 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-09-26 11:02:55 +0200 |
commit | df68a01014fd5dea890349321787ca08a5377f0b (patch) | |
tree | 1e49292b3dfef57e91ca5bfcb031d4bff08e1dd1 /Documentation/networking | |
parent | Merge tag 'pm+acpi-3.17-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
download | linux-df68a01014fd5dea890349321787ca08a5377f0b.tar.xz linux-df68a01014fd5dea890349321787ca08a5377f0b.zip |
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/networking')
-rw-r--r-- | Documentation/networking/Makefile | 8 | ||||
-rw-r--r-- | Documentation/networking/timestamping/Makefile | 3 |
2 files changed, 1 insertions, 10 deletions
diff --git a/Documentation/networking/Makefile b/Documentation/networking/Makefile index 0aa1ac98fc2b..4c5d7c485439 100644 --- a/Documentation/networking/Makefile +++ b/Documentation/networking/Makefile @@ -1,7 +1 @@ -# kbuild trick to avoid linker error. Can be omitted if a module is built. -obj- := dummy.o - -# Tell kbuild to always build the programs -always := $(hostprogs-y) - -obj-m := timestamping/ +subdir-y := timestamping diff --git a/Documentation/networking/timestamping/Makefile b/Documentation/networking/timestamping/Makefile index d934afc8306a..bbe6f810535d 100644 --- a/Documentation/networking/timestamping/Makefile +++ b/Documentation/networking/timestamping/Makefile @@ -1,6 +1,3 @@ -# kbuild trick to avoid linker error. Can be omitted if a module is built. -obj- := dummy.o - # List of programs to build hostprogs-y := timestamping hwtstamp_config |