[PATCH V2 2/7] kbuild: change qconf to modify hostprogs-y like nconfand mconf

From: Peter Foley
Date: Tue Apr 26 2011 - 18:45:49 EST


This patch makes qconf more like nconf and mconf
by modifying hostprogs insted of qconf-objs.

Signed-off-by: Peter Foley <pefoley2@xxxxxxxxxxx>
---
scripts/kconfig/Makefile | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index fec830f..b0b3dcb 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -168,8 +168,10 @@ conf-objs := conf.o zconf.tab.o
mconf-objs := mconf.o zconf.tab.o $(lxdialog)
nconf-objs := nconf.o zconf.tab.o nconf.gui.o
kxgettext-objs := kxgettext.o zconf.tab.o
+qconf-cxxobjs := qconf.o
+qconf-objs := kconfig_load.o zconf.tab.o
-hostprogs-y := conf qconf gconf
+hostprogs-y := conf gconf
ifeq ($(MAKECMDGOALS),nconfig)
hostprogs-y += nconf
@@ -192,8 +194,7 @@ endif
ifeq ($(qconf-target),1)
-qconf-cxxobjs := qconf.o
-qconf-objs := kconfig_load.o zconf.tab.o
+ hostprogs-y += qconf
endif
ifeq ($(gconf-target),1)
--
1.7.5.rc1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/