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

From: Peter Foley
Date: Tue Apr 26 2011 - 18:46:07 EST


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

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

diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index b0b3dcb..74d9512 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -170,8 +170,9 @@ 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
+gconf-objs := gconf.o kconfig_load.o zconf.tab.o

-hostprogs-y := conf gconf
+hostprogs-y := conf

ifeq ($(MAKECMDGOALS),nconfig)
hostprogs-y += nconf
@@ -198,7 +199,7 @@ ifeq ($(qconf-target),1)
endif

ifeq ($(gconf-target),1)
-gconf-objs := gconf.o kconfig_load.o zconf.tab.o
+ hostprogs-y += gconf
endif

clean-files := lkc_defs.h qconf.moc .tmp_qtcheck \
--
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/