diff --git a/make/linux-kernel.mk b/make/linux-kernel.mk index 3732ec43..baa9c101 100644 --- a/make/linux-kernel.mk +++ b/make/linux-kernel.mk @@ -193,13 +193,10 @@ VUDUO_PATCH = \ # ----------------------------------------------------------------------------- -ifeq ($(BOXMODEL),$(filter $(BOXMODEL),hd51 bre2ze4k h7 hd60 hd61 multiboxse)) # Older versions break on gcc 10+ because of redefined symbols define LINUX_FIX_YYLLOC - $(Q)grep -Z -l -r -E '^YYLTYPE yylloc;$$' $(BUILD_DIR)/$(KERNEL_DIR) \ - | xargs -0 -r $(SED) 's/^YYLTYPE yylloc;/extern YYLTYPE yylloc;/g' + $(Q)$(SED) 's/^YYLTYPE yylloc;/extern YYLTYPE yylloc;/' $(BUILD_DIR)/$(KERNEL_DIR)/scripts/dtc/dtc-lexer.lex.c_shipped endef -endif # -----------------------------------------------------------------------------