Makefile (dcd169b761d52e3f9122e30442b83863bdf1d9d9) | Makefile (e2aef4d33ac43ec45e4fc2903288030d7f464832) |
---|---|
1# =========================================================================== 2# Kernel configuration targets 3# These targets are used from top-level makefile 4 5PHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig update-po-config \ 6 localmodconfig localyesconfig 7 8ifdef KBUILD_KCONFIG --- 36 unchanged lines hidden (view full) --- 45 else \ 46 mv -f .tmp.config .config; \ 47 $(obj)/conf --silentoldconfig $(Kconfig); \ 48 fi 49 $(Q)rm -f .tmp.config 50 51# Create new linux.pot file 52# Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files | 1# =========================================================================== 2# Kernel configuration targets 3# These targets are used from top-level makefile 4 5PHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig update-po-config \ 6 localmodconfig localyesconfig 7 8ifdef KBUILD_KCONFIG --- 36 unchanged lines hidden (view full) --- 45 else \ 46 mv -f .tmp.config .config; \ 47 $(obj)/conf --silentoldconfig $(Kconfig); \ 48 fi 49 $(Q)rm -f .tmp.config 50 51# Create new linux.pot file 52# Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files |
53# The symlink is used to repair a deficiency in arch/um | |
54update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h | 53update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h |
55 $(Q)echo " GEN config" | 54 $(Q)echo " GEN config.pot" |
56 $(Q)xgettext --default-domain=linux \ 57 --add-comments --keyword=_ --keyword=N_ \ 58 --from-code=UTF-8 \ 59 --files-from=$(srctree)/scripts/kconfig/POTFILES.in \ 60 --directory=$(srctree) --directory=$(objtree) \ 61 --output $(obj)/config.pot 62 $(Q)sed -i s/CHARSET/UTF-8/ $(obj)/config.pot | 55 $(Q)xgettext --default-domain=linux \ 56 --add-comments --keyword=_ --keyword=N_ \ 57 --from-code=UTF-8 \ 58 --files-from=$(srctree)/scripts/kconfig/POTFILES.in \ 59 --directory=$(srctree) --directory=$(objtree) \ 60 --output $(obj)/config.pot 61 $(Q)sed -i s/CHARSET/UTF-8/ $(obj)/config.pot |
63 $(Q)(for i in `ls $(srctree)/arch/*/Kconfig \ 64 $(srctree)/arch/*/um/Kconfig`; \ | 62 $(Q)ln -fs Kconfig.x86 arch/um/Kconfig 63 $(Q)(for i in `ls $(srctree)/arch/*/Kconfig`; \ |
65 do \ | 64 do \ |
66 echo " GEN $$i"; \ | 65 echo " GEN $$i"; \ |
67 $(obj)/kxgettext $$i \ 68 >> $(obj)/config.pot; \ 69 done ) | 66 $(obj)/kxgettext $$i \ 67 >> $(obj)/config.pot; \ 68 done ) |
69 $(Q)echo " GEN linux.pot" |
|
70 $(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \ 71 --output $(obj)/linux.pot | 70 $(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \ 71 --output $(obj)/linux.pot |
72 $(Q)rm -f $(srctree)/arch/um/Kconfig |
|
72 $(Q)rm -f $(obj)/config.pot 73 74PHONY += allnoconfig allyesconfig allmodconfig alldefconfig randconfig 75 76allnoconfig allyesconfig allmodconfig alldefconfig randconfig: $(obj)/conf 77 $< --$@ $(Kconfig) 78 79PHONY += listnewconfig oldnoconfig savedefconfig defconfig --- 229 unchanged lines hidden --- | 73 $(Q)rm -f $(obj)/config.pot 74 75PHONY += allnoconfig allyesconfig allmodconfig alldefconfig randconfig 76 77allnoconfig allyesconfig allmodconfig alldefconfig randconfig: $(obj)/conf 78 $< --$@ $(Kconfig) 79 80PHONY += listnewconfig oldnoconfig savedefconfig defconfig --- 229 unchanged lines hidden --- |