unicore32: add KBUILD_DEFCONFIG with unicore32_defconfig (old debug_defconfig)
authorGuan Xuetao <gxt@mprc.pku.edu.cn>
Mon, 16 May 2011 07:28:19 +0000 (15:28 +0800)
committerGuan Xuetao <gxt@mprc.pku.edu.cn>
Thu, 9 Jun 2011 08:24:42 +0000 (16:24 +0800)
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 <gxt@mprc.pku.edu.cn>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/unicore32/Makefile
arch/unicore32/configs/unicore32_defconfig [moved from arch/unicore32/configs/debug_defconfig with 99% similarity]

index 76a8bee..6555abb 100644 (file)
@@ -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)
similarity index 99%
rename from arch/unicore32/configs/debug_defconfig
rename to arch/unicore32/configs/unicore32_defconfig
index 9b9c251..c9dd319 100644 (file)
@@ -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