Skip to content

Commit 8ac3b5c

Browse files
committed
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: Vincenzo Frascino <vincenzo.frascino@arm.com> Link: https://lore.kernel.org/r/20220920170633.3133829-1-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 022b68f commit 8ac3b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vdso/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ $(error ARCH_REL_TYPE_ABS is not set)
1717
endif
1818

1919
quiet_cmd_vdso_check = VDSOCHK $@
20-
cmd_vdso_check = if $(OBJDUMP) -R $@ | egrep -h "$(ARCH_REL_TYPE_ABS)"; \
20+
cmd_vdso_check = if $(OBJDUMP) -R $@ | grep -E -h "$(ARCH_REL_TYPE_ABS)"; \
2121
then (echo >&2 "$@: dynamic relocations are not supported"; \
2222
rm -f $@; /bin/false); fi

0 commit comments

Comments
 (0)