Browse Source

- linux-kernel: try #3 to fix 7d219f7a9c

master
vanhofen 3 years ago
parent
commit
59e8929fc2
  1. 5
      make/linux-kernel.mk

5
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
# -----------------------------------------------------------------------------

Loading…
Cancel
Save