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.
[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 <[EMAIL PROTECTED]> Index: buildrom-devel/Makefile =================================================================== --- buildrom-devel.orig/Makefile +++ buildrom-devel/Makefile @@ -86,6 +86,13 @@ ifeq ($(config-targets),1) $(KCONFIG_DIR)/conf: make -C $(KCONFIG_DIR) conf +$(KCONFIG_DIR)/mconf: + make -C $(KCONFIG_DIR) mconf + +$(KCONFIG_DIR)/lxdialog/lxdialog: + 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 -menuconfig: - @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 endif
-- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios