[PATCH V2 resend 3/7] kbuild: change gconf to modify hostprogs-ylike nconf and mconf

From: Peter Foley
Date: Wed Apr 27 2011 - 17:36:08 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



>From 1e1409fed85ecc657f7929154c6c0930bfebab96 Mon Sep 17 00:00:00 2001
From: Peter Foley <pefoley2@xxxxxxxxxxx>
Date: Tue, 26 Apr 2011 18:02:08 -0400
Subject: [PATCH 3/7] kbuild: change gconf to modify hostprogs-y like nconf
and mconf


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