summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-06-14 22:56:16 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-06-14 22:56:16 +0200
commitccaa93d07dd9b218bb7f0d619cc9cdbfd84491a1 (patch)
tree876fee62488a52c14aa3e02f1f28dcfaf2660abc /Makefile
parent13acd4235354e4b10a504ff037b9d3d68d0d981a (diff)
downloadembtoolkit-ccaa93d07dd9b218bb7f0d619cc9cdbfd84491a1.tar.gz
embtoolkit-ccaa93d07dd9b218bb7f0d619cc9cdbfd84491a1.tar.bz2
embtoolkit-ccaa93d07dd9b218bb7f0d619cc9cdbfd84491a1.tar.xz
Rootfs: Busybox: give user the ability configure Busybox
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2be6b31..a853d18 100644
--- a/Makefile
+++ b/Makefile
@@ -100,3 +100,24 @@ include mk/toolchain.mk
include mk/packages.mk
include mk/rootfs.mk
+busybox_config:
+ifeq ($(CONFIG_EMBTK_DOTCONFIG),)
+ $(call EMBTK_GENERIC_MESSAGE,"Please run make xconfig and configure EmbToolkit first")
+ @echo
+ @echo
+else ifeq ($(CONFIG_EMBTK_HAVE_ROOTFS),)
+ $(call EMBTK_GENERIC_MESSAGE,"Please run make xconfig and enable build of root filesystem")
+ @echo
+ @echo
+else ifeq ($(CONFIG_EMBTK_ROOTFS_HAVE_BB),)
+ $(call EMBTK_GENERIC_MESSAGE,"Please run make xconfig and enable build of Busybox")
+ @echo
+ @echo
+else
+ $(MAKE) mkinitialpath
+ $(MAKE) download_busybox $(BB_BUILD_DIR)/.decompressed \
+ $(BB_BUILD_DIR)/.Config.in.renewed
+ KCONFIG_CONFIG=$(BB_BUILD_DIR)/.config \
+ scripts/kconfig/qconf $(BB_BUILD_DIR)/Config.in.new
+endif
+