diff mbox

[V2,2/7] kbuild: change qconf to modify hostprogs-y like nconf and mconf

Message ID 4DB74AEF.7050704@verizon.net (mailing list archive)
State New, archived
Headers show

Commit Message

Peter Foley April 26, 2011, 10:45 p.m. UTC
This patch makes qconf more like nconf and mconf
by modifying hostprogs insted of qconf-objs. 

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

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

Patch

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)