summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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
+