aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/Makefile')
-rw-r--r--scripts/kconfig/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index d28bf8550171..32e8c5a227c3 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -27,7 +27,7 @@ silentoldconfig: $(obj)/conf
27# Create new linux.pot file 27# Create new linux.pot file
28# Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files 28# Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files
29# The symlink is used to repair a deficiency in arch/um 29# The symlink is used to repair a deficiency in arch/um
30update-po-config: $(obj)/kxgettext 30update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h
31 $(Q)echo " GEN config" 31 $(Q)echo " GEN config"
32 $(Q)xgettext --default-domain=linux \ 32 $(Q)xgettext --default-domain=linux \
33 --add-comments --keyword=_ --keyword=N_ \ 33 --add-comments --keyword=_ --keyword=N_ \
@@ -139,7 +139,7 @@ gconf-objs := gconf.o kconfig_load.o zconf.tab.o
139endif 139endif
140 140
141clean-files := lkc_defs.h qconf.moc .tmp_qtcheck \ 141clean-files := lkc_defs.h qconf.moc .tmp_qtcheck \
142 .tmp_gtkcheck zconf.tab.c lex.zconf.c zconf.hash.c 142 .tmp_gtkcheck zconf.tab.c lex.zconf.c zconf.hash.c gconf.glade.h
143clean-files += mconf qconf gconf 143clean-files += mconf qconf gconf
144clean-files += config.pot linux.pot 144clean-files += config.pot linux.pot
145 145
@@ -254,6 +254,9 @@ $(obj)/%.moc: $(src)/%.h
254$(obj)/lkc_defs.h: $(src)/lkc_proto.h 254$(obj)/lkc_defs.h: $(src)/lkc_proto.h
255 sed < $< > $@ 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/' 255 sed < $< > $@ 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
256 256
257# Extract gconf menu items for I18N support
258$(obj)/gconf.glade.h: $(obj)/gconf.glade
259 intltool-extract --type=gettext/glade $(obj)/gconf.glade
257 260
258### 261###
259# The following requires flex/bison/gperf 262# The following requires flex/bison/gperf