summaryrefslogtreecommitdiffstats
path: root/bsp/meta-freescale/recipes-bsp/imx-test/imx-test/0001-test-Makefile-Add-include-path-to-CC-command.patch
blob: 8387a17ccd96cebcc6d310190664399cf66c358c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From d289d905c64882c58e3b99f74f68e72f9100115e Mon Sep 17 00:00:00 2001
From: Fabio Berton <fabio.berton@ossystems.com.br>
Date: Tue, 12 Jun 2018 14:58:40 -0300
Subject: [PATCH] test/Makefile: Add include path to CC command
Organization: O.S. Systems Software LTDA.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
---
 test/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/Makefile b/test/Makefile
index f1cfa2a..4f14d2c 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -12,7 +12,7 @@ ALL_OBJS :=
 
 %.o: %.c
 	@echo "	CC	$@"
-	$(Q)$(CC) -c $(CFLAGS) $< -o $@
+	$(Q)$(CC) -c $(CFLAGS) $(INC) $< -o $@
 
 
 # This creates the build and copy rules for one executable. Because we
-- 
2.17.1