summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/pa-lld
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2015-12-01 11:25:56 +0000
committerDenys Dmytriyenko <denys@ti.com>2015-12-01 15:44:15 -0500
commit8195b22cb136a91d32151ef932de0958a931361c (patch)
tree2a7f3de9c17aca7844ddfb9f0ecc4185bdf86483 /recipes-bsp/pa-lld
parent77c46bc3170892cc55d5f92e0ab00c2920ef9097 (diff)
downloadmeta-ti-8195b22cb136a91d32151ef932de0958a931361c.tar.gz
pa-lld: set sane defaults when platform is not defined
Also fix this build error: | makefile_armv7:27: *** missing separator. Stop. Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-bsp/pa-lld')
-rw-r--r--recipes-bsp/pa-lld/files/0001-makefile_armv7-fix-missing-separator-error.patch30
-rw-r--r--recipes-bsp/pa-lld/pa-lld.inc7
-rw-r--r--recipes-bsp/pa-lld/pa-lld_git.bb2
3 files changed, 36 insertions, 3 deletions
diff --git a/recipes-bsp/pa-lld/files/0001-makefile_armv7-fix-missing-separator-error.patch b/recipes-bsp/pa-lld/files/0001-makefile_armv7-fix-missing-separator-error.patch
new file mode 100644
index 00000000..2ff41d3d
--- /dev/null
+++ b/recipes-bsp/pa-lld/files/0001-makefile_armv7-fix-missing-separator-error.patch
@@ -0,0 +1,30 @@
1From 60a938e6902c7cb8bec34abbc5a3723c8094d728 Mon Sep 17 00:00:00 2001
2From: Denys Dmytriyenko <denys@ti.com>
3Date: Tue, 1 Dec 2015 00:00:00 -0500
4Subject: [PATCH] makefile_armv7: fix missing separator error
5
6Doesn't seem to work in all versions of Make, fails like this:
7makefile_armv7:27: *** missing separator. Stop.
8
9Signed-off-by: Denys Dmytriyenko <denys@ti.com>
10---
11 makefile_armv7 | 3 ---
12 1 file changed, 3 deletions(-)
13
14diff --git a/makefile_armv7 b/makefile_armv7
15index a2bc4f6..1ae6e0a 100644
16--- a/makefile_armv7
17+++ b/makefile_armv7
18@@ -24,9 +24,6 @@ else
19 export LLD_NAME=pa
20 endif
21
22-echo DEVICE=$(DEVICE)
23-echo LLD_NAME=$(LLD_NAME)
24-
25 # Output for prebuilt generated libraries
26 export ARMV7LIBDIR ?= ./lib
27 export ARMV7OBJDIR ?= ./obj/$(DEVICE)
28--
292.2.0
30
diff --git a/recipes-bsp/pa-lld/pa-lld.inc b/recipes-bsp/pa-lld/pa-lld.inc
index 082d59d0..396278d4 100644
--- a/recipes-bsp/pa-lld/pa-lld.inc
+++ b/recipes-bsp/pa-lld/pa-lld.inc
@@ -13,18 +13,21 @@ PA_LLD_GIT_DESTSUFFIX = "git/ti/drv/pa"
13PA_LLD_SRCREV = "ae3aa3e80ecf64fe5a16515d134a6bc217220e2e" 13PA_LLD_SRCREV = "ae3aa3e80ecf64fe5a16515d134a6bc217220e2e"
14 14
15BRANCH = "${PA_LLD_GIT_BRANCH}" 15BRANCH = "${PA_LLD_GIT_BRANCH}"
16SRC_URI = "${PA_LLD_GIT_URI};destsuffix=${PA_LLD_GIT_DESTSUFFIX};protocol=${PA_LLD_GIT_PROTOCOL};branch=${BRANCH}" 16SRC_URI = "${PA_LLD_GIT_URI};destsuffix=${PA_LLD_GIT_DESTSUFFIX};protocol=${PA_LLD_GIT_PROTOCOL};branch=${BRANCH} \
17 file://0001-makefile_armv7-fix-missing-separator-error.patch"
17SRCREV = "${PA_LLD_SRCREV}" 18SRCREV = "${PA_LLD_SRCREV}"
18 19
19PV = "03.00.01.05" 20PV = "03.00.01.05"
20INC_PR = "r2" 21INC_PR = "r3"
21 22
22S = "${WORKDIR}/${PA_LLD_GIT_DESTSUFFIX}" 23S = "${WORKDIR}/${PA_LLD_GIT_DESTSUFFIX}"
23 24
25DEVICELIST = "k2h k2k k2l k2e"
24DEVICELIST_k2hk-evm = "k2h k2k" 26DEVICELIST_k2hk-evm = "k2h k2k"
25DEVICELIST_k2l-evm = "k2l" 27DEVICELIST_k2l-evm = "k2l"
26DEVICELIST_k2e-evm = "k2e" 28DEVICELIST_k2e-evm = "k2e"
27 29
30LIBPA = "libpa"
28LIBPA_k2hk-evm = "libpa" 31LIBPA_k2hk-evm = "libpa"
29LIBPA_k2e-evm = "libpa2" 32LIBPA_k2e-evm = "libpa2"
30LIBPA_k2l-evm = "libpa2" 33LIBPA_k2l-evm = "libpa2"
diff --git a/recipes-bsp/pa-lld/pa-lld_git.bb b/recipes-bsp/pa-lld/pa-lld_git.bb
index 501ee2d9..f6de5b15 100644
--- a/recipes-bsp/pa-lld/pa-lld_git.bb
+++ b/recipes-bsp/pa-lld/pa-lld_git.bb
@@ -10,7 +10,7 @@ do_compile () {
10# Now build the lld in the updated directory 10# Now build the lld in the updated directory
11 for device in ${DEVICELIST} 11 for device in ${DEVICELIST}
12 do 12 do
13 make -f makefile_armv7 DEVICE=$device lib PDK_INSTALL_PATH=${STAGING_INCDIR} 13 make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device"
14 done 14 done
15} 15}
16 16