From 456f099cfd275504773e812e309cca4174830bab Mon Sep 17 00:00:00 2001 From: Frank Wunderlich Date: Sat, 15 Jun 2024 11:18:14 +0200 Subject: [PATCH] Revert "Makefile: pass -undef option to cmd_gen_envp" to fix ethernet on mt7623 This reverts commit ff3bcb17f43631e5637a67df56aec6e8b8733ec4. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 750ce619469..531cd2fcf1b 100644 --- a/Makefile +++ b/Makefile @@ -1836,8 +1836,7 @@ ENV_FILE := $(if $(ENV_SOURCE_FILE),$(ENV_FILE_CFG),$(wildcard $(ENV_FILE_BOARD) quiet_cmd_gen_envp = ENVP $@ cmd_gen_envp = \ if [ -s "$(ENV_FILE)" ]; then \ - $(CPP) -P $(CFLAGS) -x assembler-with-cpp -undef \ - -D__ASSEMBLY__ \ + $(CPP) -P $(CFLAGS) -x assembler-with-cpp -D__ASSEMBLY__ \ -D__UBOOT_CONFIG__ \ -I . -I include -I $(srctree)/include \ -include linux/kconfig.h -include include/config.h \