aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuan Xuetao <gxt@mprc.pku.edu.cn>2011-05-16 03:28:19 -0400
committerGuan Xuetao <gxt@mprc.pku.edu.cn>2011-06-09 04:24:42 -0400
commit978b42e6f6f48560b18661a5e187aec7329a094b (patch)
tree477c8f6be205f582c3f672e157ba7d4ed5a66c09
parentf4728fd21f6d81bb2100da7eb9c675f1a74ad30d (diff)
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 <gxt@mprc.pku.edu.cn> Acked-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--arch/unicore32/Makefile3
-rw-r--r--arch/unicore32/configs/unicore32_defconfig (renamed from arch/unicore32/configs/debug_defconfig)2
2 files changed, 3 insertions, 2 deletions
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
75 75
76boot := arch/unicore32/boot 76boot := arch/unicore32/boot
77 77
78# Default target when executing plain make 78# Default defconfig and target when executing plain make
79KBUILD_DEFCONFIG := $(ARCH)_defconfig
79KBUILD_IMAGE := zImage 80KBUILD_IMAGE := zImage
80 81
81all: $(KBUILD_IMAGE) 82all: $(KBUILD_IMAGE)
diff --git a/arch/unicore32/configs/debug_defconfig b/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 @@
1### General setup 1### General setup
2CONFIG_EXPERIMENTAL=y 2CONFIG_EXPERIMENTAL=y
3CONFIG_LOCALVERSION="-debug" 3CONFIG_LOCALVERSION="-unicore32"
4CONFIG_SWAP=y 4CONFIG_SWAP=y
5CONFIG_SYSVIPC=y 5CONFIG_SYSVIPC=y
6CONFIG_POSIX_MQUEUE=y 6CONFIG_POSIX_MQUEUE=y