kconfig: only build kxgettext when needed
authorPeter Foley <pefoley2@verizon.net>
Tue, 26 Apr 2011 21:57:38 +0000 (17:57 -0400)
committerMichal Marek <mmarek@suse.cz>
Fri, 29 Apr 2011 08:39:11 +0000 (10:39 +0200)
Signed-off-by: Peter Foley <pefoley2@verizon.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/Makefile

index 368ae306aee45a42fbcee26274b491af512afbf0..0f00673ee04d4cb4894570648fea89db8d0a7507 100644 (file)
@@ -169,7 +169,7 @@ 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
 
-hostprogs-y := conf qconf gconf kxgettext
+hostprogs-y := conf qconf gconf
 
 ifeq ($(MAKECMDGOALS),nconfig)
        hostprogs-y += nconf
@@ -179,6 +179,10 @@ ifeq ($(MAKECMDGOALS),menuconfig)
        hostprogs-y += mconf
 endif
 
+ifeq ($(MAKECMDGOALS),update-po-config)
+       hostprogs-y += kxgettext
+endif
+
 ifeq ($(MAKECMDGOALS),xconfig)
        qconf-target := 1
 endif