aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-test/imx-test/Fix-build-in-OpenEmbedded-Core-environment.patch
blob: 7497e91da55d51abfe8f3656f5f3c8ad4e3040fb (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
28
29
30
From fd826140db0f2a867ef588cccf2e5322cc77126a Mon Sep 17 00:00:00 2001
From: Otavio Salvador <otavio@ossystems.com.br>
Date: Mon, 19 Jan 2015 16:56:29 -0200
Subject: [PATCH] Fix build in OpenEmbedded-Core environment
Organization: O.S. Systems Software LTDA.

Some of the unit-tests were not being built due to differences on how
the build system behaves when running inside of the OE-Core. This
fixes those minor issues and increases the number of tests available.

Upstream-Status: Pending

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

diff --git a/test/ar3k_bt/Makefile b/test/ar3k_bt/Makefile
index 92e2901..75d3e78 100755
--- a/test/ar3k_bt/Makefile
+++ b/test/ar3k_bt/Makefile
@@ -21,7 +21,7 @@ all: $(OBJS)
 CFLAGS +=  -lbluetooth
 
 $(OBJDIR)/hciattach-ar3k.bin :
-	$(CC)  ${INC} -Wall -lbluetooth -g hciattach_ath3k.c  hciattach.c  hciattach_qualcomm.c  hciattach_st.c  hciattach_tialt.c  hciattach_ti.c -o hciattach-ar3k.bin
+	$(CC)  ${INC} -Wall -lbluetooth -g hciattach_ath3k.c  hciattach.c  hciattach_qualcomm.c  hciattach_st.c  hciattach_tialt.c  hciattach_ti.c -o $(OBJDIR)/hciattach-ar3k.bin
 
 clean:
 	rm -f *.o hciattach-ar3k.bin
-- 
2.1.4