[PATCH V2 resend 2/7] kbuild: change qconf to modify hostprogs-ylike nconf and mconf
From: Peter Foley
Date: Wed Apr 27 2011 - 17:35:55 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
>From aa40714349234628e56fe92de1a37dd4b122ec2c Mon Sep 17 00:00:00 2001
From: Peter Foley <pefoley2@xxxxxxxxxxx>
Date: Tue, 26 Apr 2011 18:00:05 -0400
Subject: [PATCH 2/7] kbuild: change qconf to modify hostprogs-y like nconf
and mconf
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