summaryrefslogtreecommitdiffstats
path: root/kernel/gcov
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-12-25 14:31:26 +0900
committerMichal Marek <mmarek@suse.cz>2015-01-09 17:25:44 +0100
commit3df8094727bd1972eb8e231e56ecdbd6e8fb2210 (patch)
tree02cc2233312aaf8c308f4d84824deaa15e4514ca /kernel/gcov
parent842857dedc40df7c86e990b7153a069d0040e552 (diff)
downloadop-kernel-dev-3df8094727bd1972eb8e231e56ecdbd6e8fb2210.zip
op-kernel-dev-3df8094727bd1972eb8e231e56ecdbd6e8fb2210.tar.gz
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>
Diffstat (limited to 'kernel/gcov')
-rw-r--r--kernel/gcov/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/gcov/Makefile b/kernel/gcov/Makefile
index 42323c7..69b3515 100644
--- a/kernel/gcov/Makefile
+++ b/kernel/gcov/Makefile
@@ -13,10 +13,10 @@ else
cc-ver := $(cc-version)
endif
-obj-$(CONFIG_GCOV_KERNEL) := base.o fs.o
+obj-y := base.o fs.o
ifeq ($(call if-lt, $(cc-ver), 0407),1)
- obj-$(CONFIG_GCOV_KERNEL) += gcc_3_4.o
+ obj-y += gcc_3_4.o
else
- obj-$(CONFIG_GCOV_KERNEL) += gcc_4_7.o
+ obj-y += gcc_4_7.o
endif
OpenPOWER on IntegriCloud