Skip to content

Commit fa0ad65

Browse files
pebollemichal42
authored andcommitted
kconfig: adapt update-po-config to new UML layout
Commit 5c48b10 ("um: take arch/um/sys-x86 to arch/x86/um") broke the make target update-po-config, as its symlink trick (again) fails. (Previous breakage was fixed with commit bdc69ca ("kconfig: change update-po-config to reflect new layout of arch/um").) The new UML layout allows to drop the symlick trick entirely. And if, one day, another architecture supports UML too, that should now work without again breaking this make target. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Michal Marek <mmarek@suse.cz>
1 parent 44656fa commit fa0ad65

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎scripts/kconfig/Makefile‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,15 @@ update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h
6060
--directory=$(srctree) --directory=$(objtree) \
6161
--output $(obj)/config.pot
6262
$(Q)sed -i s/CHARSET/UTF-8/ $(obj)/config.pot
63-
$(Q)ln -fs Kconfig.x86 arch/um/Kconfig
64-
$(Q)(for i in `ls $(srctree)/arch/*/Kconfig`; \
63+
$(Q)(for i in `ls $(srctree)/arch/*/Kconfig \
64+
$(srctree)/arch/*/um/Kconfig`; \
6565
do \
6666
echo " GEN $$i"; \
6767
$(obj)/kxgettext $$i \
6868
>> $(obj)/config.pot; \
6969
done )
7070
$(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \
7171
--output $(obj)/linux.pot
72-
$(Q)rm -f $(srctree)/arch/um/Kconfig
7372
$(Q)rm -f $(obj)/config.pot
7473

7574
PHONY += allnoconfig allyesconfig allmodconfig alldefconfig randconfig

0 commit comments

Comments
 (0)