summaryrefslogtreecommitdiffstats
path: root/arch/kvx
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-05-16 00:22:15 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2020-05-18 08:20:44 +0200
commita6db3b044c5b6b2431227d7eca942dec2307053b (patch)
tree67368047b8baf6b389e6736d8ad617d7589cad2e /arch/kvx
parentc10b20dc83ac25b1d81c39eaad4529d9911813b1 (diff)
downloadbarebox-a6db3b044c5b6b2431227d7eca942dec2307053b.tar.gz
barebox-a6db3b044c5b6b2431227d7eca942dec2307053b.tar.xz
kvx: do not include empty <config.h>
<config.h> is per-board config file, which is only allowed for old boards. For new boards, the top Makefile creates an empty include/config.h kvx does not have config.h, so #include <config.h> is useless. Also, remove meaningless board-$(CONFIG_GENERIC). Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Acked-By: Clement Leger <cleger@kalray.eu> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/kvx')
-rw-r--r--arch/kvx/Makefile2
-rw-r--r--arch/kvx/cpu/barebox.lds.S1
-rw-r--r--arch/kvx/cpu/start.S1
3 files changed, 0 insertions, 4 deletions
diff --git a/arch/kvx/Makefile b/arch/kvx/Makefile
index c97cff3456..7abaed6517 100644
--- a/arch/kvx/Makefile
+++ b/arch/kvx/Makefile
@@ -2,8 +2,6 @@ KBUILD_DEFCONFIG := generic_defconfig
KBUILD_CPPFLAGS += -fno-strict-aliasing
-board-$(CONFIG_GENERIC) := generic
-
KALLSYMS += --symbol-prefix=_
ifeq ($(CROSS_COMPILE),)
diff --git a/arch/kvx/cpu/barebox.lds.S b/arch/kvx/cpu/barebox.lds.S
index 8d1944afbf..bf92564cfb 100644
--- a/arch/kvx/cpu/barebox.lds.S
+++ b/arch/kvx/cpu/barebox.lds.S
@@ -3,7 +3,6 @@
* Copyright (C) 2019 Kalray Inc.
*/
-#include <config.h>
#include <asm/common.h>
#include <asm/sys_arch.h>
#include <asm-generic/barebox.lds.h>
diff --git a/arch/kvx/cpu/start.S b/arch/kvx/cpu/start.S
index a02900fb93..d90272c71f 100644
--- a/arch/kvx/cpu/start.S
+++ b/arch/kvx/cpu/start.S
@@ -3,7 +3,6 @@
* Copyright (C) 2019 Kalray Inc.
*/
-#include <config.h>
#include <linux/linkage.h>
#include <asm/privilege.h>
#include <asm/sys_arch.h>