When the .config file is missing, supply a default one
and run menuconfig
diff --git a/Makefile b/Makefile
index f48fa9d..f86ebed 100644
--- a/Makefile
+++ b/Makefile
@@ -159,6 +159,12 @@
 		make oldconfig; \
 	fi;
 
+$(TOPDIR).config:
+	cp $(TOPDIR)sysdeps/$(TARGET_OS)/defconfig $(TOPDIR).config
+	mkdir -p $(TOPDIR)include/config
+	$(MAKE) -C scripts/lxdialog all
+	$(BB_SHELL) scripts/Menuconfig sysdeps/$(TARGET_OS)/config.in
+
 menuconfig:
 	mkdir -p $(TOPDIR)include/config
 	$(MAKE) -C scripts/lxdialog all