Makefile (7e95e365d5399647a41e10059e4b09826b82d78b) Makefile (fa0ad6575f6d459e215dded90b10cc455a889145)
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

--- 46 unchanged lines hidden (view full) ---

55 $(Q)echo " GEN config"
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
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

--- 46 unchanged lines hidden (view full) ---

55 $(Q)echo " GEN config"
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
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`; \
65 do \
66 echo " GEN $$i"; \
67 $(obj)/kxgettext $$i \
68 >> $(obj)/config.pot; \
69 done )
70 $(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \
71 --output $(obj)/linux.pot
65 do \
66 echo " GEN $$i"; \
67 $(obj)/kxgettext $$i \
68 >> $(obj)/config.pot; \
69 done )
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
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 ---
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 ---