On 17.12.13 18:22, [email protected] wrote: > On 17.12.2013 16:14, Yousong Zhou wrote:
>> Does it deserve a "busybox_menuconfig" just like "kernel_menuconfig"? > > there should be at least one graphical way. so either busybox's menu_config > or at least the old options presumably missing currently in trunk's > menu_config. Would the attached patch help? If there is an old config around, env/busybox-config may be created with sed: sed -nre '/CONFIG_BUSYBOX_/s/CONFIG_BUSYBOX_//p' config.old > env/busybox-config -- Best regards, Maxim Storchak mailto:[email protected]
Index: package/utils/busybox/Makefile.menuconfig =================================================================== --- package/utils/busybox/Makefile.menuconfig (revision 0) +++ package/utils/busybox/Makefile.menuconfig (revision 0) @@ -0,0 +1,11 @@ +include $(TOPDIR)/rules.mk +include Makefile + +menuconfig: + mkdir -p $(TOPDIR)/env && \ + [ -f $(TOPDIR)/env/busybox-config ] && \ + cp $(TOPDIR)/env/busybox-config $(BUILD_DIR)/busybox-$(PKG_VERSION)/.config || \ + cp $(TOPDIR)/package/utils/busybox/config/default $(BUILD_DIR)/busybox-$(PKG_VERSION)/.config && \ + make -C $(BUILD_DIR)/busybox-$(PKG_VERSION) oldconfig && \ + make -C $(BUILD_DIR)/busybox-$(PKG_VERSION) menuconfig && \ + cp $(BUILD_DIR)/busybox-$(PKG_VERSION)/.config $(TOPDIR)/env/busybox-config
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
