* grub-core/Makefile.am: Properly escape parenthesis in sed expressions.

Fixes Estonian locale.
	Reported by: Leho Kraav.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-04-08 12:13:44 +02:00
parent f7148863eb
commit 947aa4f886
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2011-04-08 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/Makefile.am: Properly escape parenthesis in sed expressions.
Fixes Estonian locale.
Reported by: Leho Kraav.
2011-04-08 Vladimir Serbinenko <phcoder@gmail.com> 2011-04-08 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/normal/menu.c: Add missing include. * grub-core/normal/menu.c: Add missing include.

View file

@ -200,8 +200,8 @@ noinst_DATA += kernel_syms.lst
kernel_syms.lst: $(KERNEL_HEADER_FILES) $(top_builddir)/config.h kernel_syms.lst: $(KERNEL_HEADER_FILES) $(top_builddir)/config.h
$(TARGET_CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) $(CPPFLAGS) $(CFLAGS) -DGRUB_SYMBOL_GENERATOR=1 $^ >kernel_syms.input $(TARGET_CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) $(CPPFLAGS) $(CFLAGS) -DGRUB_SYMBOL_GENERATOR=1 $^ >kernel_syms.input
cat kernel_syms.input | grep -v '^#' | sed -n \ cat kernel_syms.input | grep -v '^#' | sed -n \
-e '/EXPORT_FUNC *([a-zA-Z0-9_]*)/{s/.*EXPORT_FUNC *(\([a-zA-Z0-9_]*\)).*/defined kernel '"$(ASM_PREFIX)"'\1/;p;}' \ -e '/EXPORT_FUNC *\([a-zA-Z0-9_]*\)/{s/.*EXPORT_FUNC *(\([a-zA-Z0-9_]*\)).*/defined kernel '"$(ASM_PREFIX)"'\1/;p;}' \
-e '/EXPORT_VAR *([a-zA-Z0-9_]*)/{s/.*EXPORT_VAR *(\([a-zA-Z0-9_]*\)).*/defined kernel '"$(ASM_PREFIX)"'\1/;p;}' \ -e '/EXPORT_VAR *\([a-zA-Z0-9_]*\)/{s/.*EXPORT_VAR *(\([a-zA-Z0-9_]*\)).*/defined kernel '"$(ASM_PREFIX)"'\1/;p;}' \
| sort -u >$@ | sort -u >$@
rm -f kernel_syms.input rm -f kernel_syms.input
CLEANFILES += kernel_syms.lst CLEANFILES += kernel_syms.lst