040-include_order.patch 410 B

1234567891011
  1. --- a/tools/Makefile
  2. +++ b/tools/Makefile
  3. @@ -194,7 +194,7 @@ endif # !LOGO_BMP
  4. # Define _GNU_SOURCE to obtain the getline prototype from stdio.h
  5. #
  6. HOST_EXTRACFLAGS += -include $(srctree)/include/libfdt_env.h \
  7. - $(patsubst -I%,-idirafter%, $(filter -I%, $(UBOOTINCLUDE))) \
  8. + -I$(srctree)/include \
  9. -I$(srctree)/lib/libfdt \
  10. -I$(srctree)/tools \
  11. -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \