9
0
Fork 0

kbuild: add KBUILD_DEFCONFIG

This allows "make ARCH=... defconfig".

Fox example, you can type "make defconfig" instead of
"make sandbox_defconfig".

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Masahiro Yamada 2015-01-13 17:14:36 +09:00 committed by Sascha Hauer
parent 6388cfd4d5
commit 78582e53dc
3 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,5 @@
KBUILD_DEFCONFIG := efi_defconfig
CFLAGS += -fpic -fshort-wchar -mno-sse -mno-mmx
ifeq ($(CONFIG_X86_32),y)

View File

@ -1,3 +1,4 @@
KBUILD_DEFCONFIG := sandbox_defconfig
CPPFLAGS += -D__SANDBOX__ -fno-strict-aliasing

View File

@ -1,3 +1,5 @@
KBUILD_DEFCONFIG := generic_defconfig
CPPFLAGS += -D__X86__ -fno-strict-aliasing
board-y := x86_generic