diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2015-01-13 17:14:36 +0900 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-01-14 07:14:35 +0100 |
commit | 78582e53dcb2c6f42282ddf27b66e5bc5b7202cc (patch) | |
tree | 8519b9e6a824bbe974e0a1b981bd45eb622e536e /arch | |
parent | 6388cfd4d539bce0b62c178cacaa3ac50cf37aa5 (diff) | |
download | barebox-78582e53dcb2c6f42282ddf27b66e5bc5b7202cc.tar.gz barebox-78582e53dcb2c6f42282ddf27b66e5bc5b7202cc.tar.xz |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/efi/Makefile | 2 | ||||
-rw-r--r-- | arch/sandbox/Makefile | 1 | ||||
-rw-r--r-- | arch/x86/Makefile | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/arch/efi/Makefile b/arch/efi/Makefile index 85cb655615..b078bd0e35 100644 --- a/arch/efi/Makefile +++ b/arch/efi/Makefile @@ -1,3 +1,5 @@ +KBUILD_DEFCONFIG := efi_defconfig + CFLAGS += -fpic -fshort-wchar -mno-sse -mno-mmx ifeq ($(CONFIG_X86_32),y) diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile index ed5d3a3dab..e3fb039554 100644 --- a/arch/sandbox/Makefile +++ b/arch/sandbox/Makefile @@ -1,3 +1,4 @@ +KBUILD_DEFCONFIG := sandbox_defconfig CPPFLAGS += -D__SANDBOX__ -fno-strict-aliasing diff --git a/arch/x86/Makefile b/arch/x86/Makefile index a78fa22ac6..da17d70bdc 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -1,3 +1,5 @@ +KBUILD_DEFCONFIG := generic_defconfig + CPPFLAGS += -D__X86__ -fno-strict-aliasing board-y := x86_generic |