Commit 8ac3b5cd authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

lib/vdso: use "grep -E" instead of "egrep"

The latest version of grep claims the egrep is now obsolete so the build
now contains warnings that look like:
	egrep: warning: egrep is obsolescent; using grep -E
fix this up by moving the vdso Makefile to use "grep -E" instead.

Cc: Andy Lutomirski <luto@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarVincenzo Frascino <vincenzo.frascino@arm.com>
Link: https://lore.kernel.org/r/20220920170633.3133829-1-gregkh@linuxfoundation.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 022b68f2
...@@ -17,6 +17,6 @@ $(error ARCH_REL_TYPE_ABS is not set) ...@@ -17,6 +17,6 @@ $(error ARCH_REL_TYPE_ABS is not set)
endif endif
quiet_cmd_vdso_check = VDSOCHK $@ quiet_cmd_vdso_check = VDSOCHK $@
cmd_vdso_check = if $(OBJDUMP) -R $@ | egrep -h "$(ARCH_REL_TYPE_ABS)"; \ cmd_vdso_check = if $(OBJDUMP) -R $@ | grep -E -h "$(ARCH_REL_TYPE_ABS)"; \
then (echo >&2 "$@: dynamic relocations are not supported"; \ then (echo >&2 "$@: dynamic relocations are not supported"; \
rm -f $@; /bin/false); fi rm -f $@; /bin/false); fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment