tfa-layerscape: fix create_pbl and byte_swap host build
[openwrt/openwrt.git] / package / boot / tfa-layerscape / patches / 002-plat-nxp-tools-fix-a-makefile-bug-that-will-use-defa.patch
1 From 65e9a722b44bf28b98fe25b3b174761b47ec7dbd Mon Sep 17 00:00:00 2001
2 From: Biwen Li <biwen.li@nxp.com>
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
7 The patch fix a makefile bug that will use default implicit rules,
8 because do not have explicit rules for the destination files.
9
10 Signed-off-by: Biwen Li <biwen.li@nxp.com>
11 ---
12 plat/nxp/tools/Makefile | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/plat/nxp/tools/Makefile b/plat/nxp/tools/Makefile
16 index 2095294b..0082a0be 100644
17 --- a/plat/nxp/tools/Makefile
18 +++ b/plat/nxp/tools/Makefile
19 @@ -53,7 +53,7 @@ ${PROJECT_2}: ${OBJECTS_2} Makefile
20 @echo "Built $@ successfully"
21 @${ECHO_BLANK_LINE}
22
23 -%.o: %.c %.h Makefile
24 +%.o: %.c Makefile
25 @echo " CC $<"
26 ${Q}${HOSTCC} -c ${CPPFLAGS} ${CFLAGS} ${INCLUDE_PATHS} $< -o $@
27
28 --
29 2.17.1
30