Skip to content

Commit

Permalink
kconfig: only build kxgettext when needed
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Foley <pefoley2@verizon.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
  • Loading branch information
Peter Foley authored and Michal Marek committed Apr 29, 2011
1 parent 10175ba commit 1f59471
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/kconfig/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 1f59471

Please sign in to comment.