diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-12-25 00:31:26 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2015-01-09 11:25:44 -0500 |
commit | 3df8094727bd1972eb8e231e56ecdbd6e8fb2210 (patch) | |
tree | 02cc2233312aaf8c308f4d84824deaa15e4514ca | |
parent | 842857dedc40df7c86e990b7153a069d0040e552 (diff) |
kbuild,gcov: simplify kernel/gcov/Makefile
Kbuild descends into kernel/gcov/ directory only when
CONFIG_GCOV_KERNEL is enabled. (See kernel/Makefile)
CONFIG_GCOV_KERNEL check can be omitted in kernel/gcov/Makefile.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
-rw-r--r-- | kernel/gcov/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/gcov/Makefile b/kernel/gcov/Makefile index 42323c7ec106..69b3515c1806 100644 --- a/kernel/gcov/Makefile +++ b/kernel/gcov/Makefile | |||
@@ -13,10 +13,10 @@ else | |||
13 | cc-ver := $(cc-version) | 13 | cc-ver := $(cc-version) |
14 | endif | 14 | endif |
15 | 15 | ||
16 | obj-$(CONFIG_GCOV_KERNEL) := base.o fs.o | 16 | obj-y := base.o fs.o |
17 | 17 | ||
18 | ifeq ($(call if-lt, $(cc-ver), 0407),1) | 18 | ifeq ($(call if-lt, $(cc-ver), 0407),1) |
19 | obj-$(CONFIG_GCOV_KERNEL) += gcc_3_4.o | 19 | obj-y += gcc_3_4.o |
20 | else | 20 | else |
21 | obj-$(CONFIG_GCOV_KERNEL) += gcc_4_7.o | 21 | obj-y += gcc_4_7.o |
22 | endif | 22 | endif |