mirror of https://github.com/OpenIPC/firmware.git
Add board config selector for FH8852v200
parent
b6caaa5e08
commit
331ccad3d4
|
@ -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)
|
Loading…
Reference in New Issue