From 978b42e6f6f48560b18661a5e187aec7329a094b Mon Sep 17 00:00:00 2001 From: Guan Xuetao Date: Mon, 16 May 2011 15:28:19 +0800 Subject: [PATCH] unicore32: add KBUILD_DEFCONFIG with unicore32_defconfig (old debug_defconfig) Rename debug_defconfig to unicore32_defconfig, which is a minimal config for PKUnity-v3 (130nm) SoC board. Also, add KBUILD_DEFCONFIG to use 'make defconfig'. Signed-off-by: Guan Xuetao Acked-by: Arnd Bergmann --- arch/unicore32/Makefile | 3 ++- .../unicore32/configs/{debug_defconfig => unicore32_defconfig} | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) rename arch/unicore32/configs/{debug_defconfig => unicore32_defconfig} (99%) diff --git a/arch/unicore32/Makefile b/arch/unicore32/Makefile index 76a8beec7d03..6555abbaeb87 100644 --- a/arch/unicore32/Makefile +++ b/arch/unicore32/Makefile @@ -75,7 +75,8 @@ endif boot := arch/unicore32/boot -# Default target when executing plain make +# Default defconfig and target when executing plain make +KBUILD_DEFCONFIG := $(ARCH)_defconfig KBUILD_IMAGE := zImage all: $(KBUILD_IMAGE) diff --git a/arch/unicore32/configs/debug_defconfig b/arch/unicore32/configs/unicore32_defconfig similarity index 99% rename from arch/unicore32/configs/debug_defconfig rename to arch/unicore32/configs/unicore32_defconfig index 9b9c2519a38f..c9dd3198b6f7 100644 --- a/arch/unicore32/configs/debug_defconfig +++ b/arch/unicore32/configs/unicore32_defconfig @@ -1,6 +1,6 @@ ### General setup CONFIG_EXPERIMENTAL=y -CONFIG_LOCALVERSION="-debug" +CONFIG_LOCALVERSION="-unicore32" CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y