@@ -77,22 +77,23 @@ localyesconfig: $(obj)/streamline_config.pl $(obj)/conf
7777# The symlink is used to repair a deficiency in arch/um
7878update-po-config : $(obj ) /kxgettext $(obj ) /gconf.glade.h
7979 $(Q ) echo " GEN config"
80- $(Q ) xgettext --default-domain=linux \
81- --add-comments --keyword=_ --keyword=N_ \
82- --from-code=UTF-8 \
83- --files-from=scripts/kconfig/POTFILES.in \
80+ $(Q ) xgettext --default-domain=linux \
81+ --add-comments --keyword=_ --keyword=N_ \
82+ --from-code=UTF-8 \
83+ --files-from=$(srctree ) /scripts/kconfig/POTFILES.in \
84+ --directory=$(srctree ) --directory=$(objtree ) \
8485 --output $(obj ) /config.pot
8586 $(Q ) sed -i s/CHARSET/UTF-8/ $(obj ) /config.pot
8687 $(Q ) ln -fs Kconfig.i386 arch/um/Kconfig.arch
87- $(Q ) (for i in ` ls arch/* /Kconfig` ; \
88+ $(Q ) (for i in ` ls $( srctree ) / arch/* /Kconfig` ; \
8889 do \
8990 echo " GEN $$ i" ; \
9091 $(obj ) /kxgettext $$ i \
9192 >> $(obj ) /config.pot; \
9293 done )
9394 $(Q ) msguniq --sort-by-file --to-code=UTF-8 $(obj ) /config.pot \
9495 --output $(obj ) /linux.pot
95- $(Q ) rm -f arch/um/Kconfig.arch
96+ $(Q ) rm -f $( srctree ) / arch/um/Kconfig.arch
9697 $(Q ) rm -f $(obj ) /config.pot
9798
9899PHONY += allnoconfig allyesconfig allmodconfig alldefconfig randconfig
@@ -331,7 +332,8 @@ $(obj)/lkc_defs.h: $(src)/lkc_proto.h
331332
332333# Extract gconf menu items for I18N support
333334$(obj ) /gconf.glade.h : $(obj ) /gconf.glade
334- intltool-extract --type=gettext/glade $(obj ) /gconf.glade
335+ intltool-extract --type=gettext/glade --srcdir=$(srctree ) \
336+ $(obj ) /gconf.glade
335337
336338# ##
337339# The following requires flex/bison/gperf
0 commit comments