aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-12-25 00:31:26 -0500
committerMichal Marek <mmarek@suse.cz>2015-01-09 11:25:44 -0500
commit3df8094727bd1972eb8e231e56ecdbd6e8fb2210 (patch)
tree02cc2233312aaf8c308f4d84824deaa15e4514ca
parent842857dedc40df7c86e990b7153a069d0040e552 (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/Makefile6
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)
14endif 14endif
15 15
16obj-$(CONFIG_GCOV_KERNEL) := base.o fs.o 16obj-y := base.o fs.o
17 17
18ifeq ($(call if-lt, $(cc-ver), 0407),1) 18ifeq ($(call if-lt, $(cc-ver), 0407),1)
19 obj-$(CONFIG_GCOV_KERNEL) += gcc_3_4.o 19 obj-y += gcc_3_4.o
20else 20else
21 obj-$(CONFIG_GCOV_KERNEL) += gcc_4_7.o 21 obj-y += gcc_4_7.o
22endif 22endif