[LinuxBIOS] [BUILDROM] Add targets for mconf and lxdialog

Jordan Crouse jordan.crouse at amd.com
Thu Nov 29 00:13:49 CET 2007

Hey all - I've been holding a mini-hackathon of one for buildrom today.
Here is a simple cleanup for the makefile.

Jordan Crouse
Systems Software Development Engineer 
Advanced Micro Devices, Inc.
-------------- next part --------------
[BUILDROM] Add targets for mconf and lxdialog

There isn't any need to be running make for mconf and lxdialog every
time we run menuconfig - we invoke the power of Make and add the two
utilities as dependencies.

Signed-off-by: Jordan Crouse <jordan.crouse at amd.com>
Index: buildrom-devel/Makefile
--- buildrom-devel.orig/Makefile
+++ buildrom-devel/Makefile
@@ -86,6 +86,13 @@ ifeq ($(config-targets),1)
 	make -C $(KCONFIG_DIR) conf
+	make -C $(KCONFIG_DIR) mconf
+	make -C $(KCONFIG_DIR)/lxdialog lxdialog
 textconfig: $(KCONFIG_DIR)/conf
 	@$(KCONFIG_DIR)/conf $(BASE_DIR)/Config.in
@@ -95,9 +102,7 @@ oldconfig: $(KCONFIG_DIR)/conf
 defconfig: $(KCONFIG_DIR)/conf
 	@$(KCONFIG_DIR)/conf -d $(BASE_DIR)/Config.in
-	@make -C $(KCONFIG_DIR)/lxdialog lxdialog
-	@make -C $(KCONFIG_DIR) mconf
+menuconfig: $(KCONFIG_DIR)/lxdialog/lxdialog $(KCONFIG_DIR)/mconf
 	@$(KCONFIG_DIR)/mconf $(BASE_DIR)/Config.in

More information about the coreboot mailing list