Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild: kconfig: fix broken target update-po-config kbuild: silence documentation GEN xml messages according to $(quiet)
This commit is contained in:
@@ -187,8 +187,11 @@ quiet_cmd_fig2png = FIG2PNG $@
|
|||||||
|
|
||||||
###
|
###
|
||||||
# Rule to convert a .c file to inline XML documentation
|
# Rule to convert a .c file to inline XML documentation
|
||||||
|
gen_xml = :
|
||||||
|
quiet_gen_xml = echo ' GEN $@'
|
||||||
|
silent_gen_xml = :
|
||||||
%.xml: %.c
|
%.xml: %.c
|
||||||
@echo ' GEN $@'
|
@$($(quiet)gen_xml)
|
||||||
@( \
|
@( \
|
||||||
echo "<programlisting>"; \
|
echo "<programlisting>"; \
|
||||||
expand --tabs=8 < $< | \
|
expand --tabs=8 < $< | \
|
||||||
|
@@ -36,10 +36,10 @@ update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h
|
|||||||
--output $(obj)/config.pot
|
--output $(obj)/config.pot
|
||||||
$(Q)sed -i s/CHARSET/UTF-8/ $(obj)/config.pot
|
$(Q)sed -i s/CHARSET/UTF-8/ $(obj)/config.pot
|
||||||
$(Q)ln -fs Kconfig.i386 arch/um/Kconfig.arch
|
$(Q)ln -fs Kconfig.i386 arch/um/Kconfig.arch
|
||||||
$(Q)(for i in `ls arch/`; \
|
$(Q)(for i in `ls arch/*/Kconfig`; \
|
||||||
do \
|
do \
|
||||||
echo " GEN $$i"; \
|
echo " GEN $$i"; \
|
||||||
$(obj)/kxgettext arch/$$i/Kconfig \
|
$(obj)/kxgettext $$i \
|
||||||
>> $(obj)/config.pot; \
|
>> $(obj)/config.pot; \
|
||||||
done )
|
done )
|
||||||
$(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \
|
$(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \
|
||||||
|
Reference in New Issue
Block a user