002-plat-nxp-tools-fix-a-makefile-bug-that-will-use-defa.patch 905 B

123456789101112131415161718192021222324252627282930
  1. From 65e9a722b44bf28b98fe25b3b174761b47ec7dbd Mon Sep 17 00:00:00 2001
  2. From: Biwen Li <[email protected]>
  3. Date: Mon, 1 Apr 2019 13:41:55 +0800
  4. Subject: [PATCH 2/3] plat/nxp/tools: fix a makefile bug that will use default
  5. implicit rules
  6. The patch fix a makefile bug that will use default implicit rules,
  7. because do not have explicit rules for the destination files.
  8. Signed-off-by: Biwen Li <[email protected]>
  9. ---
  10. plat/nxp/tools/Makefile | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/plat/nxp/tools/Makefile b/plat/nxp/tools/Makefile
  13. index 2095294b..0082a0be 100644
  14. --- a/plat/nxp/tools/Makefile
  15. +++ b/plat/nxp/tools/Makefile
  16. @@ -53,7 +53,7 @@ ${PROJECT_2}: ${OBJECTS_2} Makefile
  17. @echo "Built $@ successfully"
  18. @${ECHO_BLANK_LINE}
  19. -%.o: %.c %.h Makefile
  20. +%.o: %.c Makefile
  21. @echo " CC $<"
  22. ${Q}${HOSTCC} -c ${CPPFLAGS} ${CFLAGS} ${INCLUDE_PATHS} $< -o $@
  23. --
  24. 2.17.1