From 331ccad3d438c043809d190b502db0aa93603d25 Mon Sep 17 00:00:00 2001 From: Dmitry Ermakov Date: Sun, 13 Feb 2022 21:36:39 +0300 Subject: [PATCH] Add board config selector for FH8852v200 --- .../kernel/patches/10_boardconfig.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 br-ext-chip-fullhan/board/fh8852v200/kernel/patches/10_boardconfig.patch diff --git a/br-ext-chip-fullhan/board/fh8852v200/kernel/patches/10_boardconfig.patch b/br-ext-chip-fullhan/board/fh8852v200/kernel/patches/10_boardconfig.patch new file mode 100644 index 00000000..b8ad75f1 --- /dev/null +++ b/br-ext-chip-fullhan/board/fh8852v200/kernel/patches/10_boardconfig.patch @@ -0,0 +1,19 @@ +--- a/Makefile ++++ b/Makefile +@@ -612,11 +612,15 @@ + KBUILD_MODULES := 1 + endif + ++PHONY += boardconfig ++boardconfig: ++ cp arch/arm/mach-fh/$(PROJECT_NAME)/board_config.$(PROJECT_NAME).appboard arch/arm/mach-fh/include/mach/board_config.h ++ + # The all: target is the default when no target is given on the + # command line. + # This allow a user to issue only 'make' to build a kernel including modules + # Defaults to vmlinux, but the arch makefile usually adds further targets +-all: vmlinux ++all: boardconfig vmlinux + + KBUILD_CFLAGS += $(call cc-option,-fno-PIE) + KBUILD_AFLAGS += $(call cc-option,-fno-PIE)