Skip to content

Commit

Permalink
Revert "Makefile: pass -undef option to cmd_gen_envp"
Browse files Browse the repository at this point in the history
to fix ethernet on mt7623

This reverts commit ff3bcb1.
  • Loading branch information
frank-w committed Jul 23, 2024
1 parent 622659c commit 37b8ae2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 37b8ae2

Please sign in to comment.