diff options
author | Sam Ravnborg <sam@uranus.ravnborg.org> | 2008-04-25 15:15:41 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@uranus.ravnborg.org> | 2008-04-25 15:15:41 -0400 |
commit | 4217516e52949e6550ff01d57f92b9b24ce04be1 (patch) | |
tree | 36352ad522b074c70e938e1ddbf8815629397c1e /scripts/kconfig | |
parent | 759cd603beea7f4ab7df1e6bcfda90b62b5f4125 (diff) |
kconfig: fix broken target update-po-config
Massimo Maiurana reported:
In the latest kernel "make update-po-config" fails because it tries
to open arch/Kconfig/Kconfig, since the ls command doesn't
distinguish between files and directories.
Cc: Massimo Maiurana <maiurana@gmail.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r-- | scripts/kconfig/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 32e8c5a227c3..fa1a7d565903 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
@@ -36,10 +36,10 @@ update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h | |||
36 | --output $(obj)/config.pot | 36 | --output $(obj)/config.pot |
37 | $(Q)sed -i s/CHARSET/UTF-8/ $(obj)/config.pot | 37 | $(Q)sed -i s/CHARSET/UTF-8/ $(obj)/config.pot |
38 | $(Q)ln -fs Kconfig.i386 arch/um/Kconfig.arch | 38 | $(Q)ln -fs Kconfig.i386 arch/um/Kconfig.arch |
39 | $(Q)(for i in `ls arch/`; \ | 39 | $(Q)(for i in `ls arch/*/Kconfig`; \ |
40 | do \ | 40 | do \ |
41 | echo " GEN $$i"; \ | 41 | echo " GEN $$i"; \ |
42 | $(obj)/kxgettext arch/$$i/Kconfig \ | 42 | $(obj)/kxgettext $$i \ |
43 | >> $(obj)/config.pot; \ | 43 | >> $(obj)/config.pot; \ |
44 | done ) | 44 | done ) |
45 | $(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \ | 45 | $(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \ |