summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@kernel.crashing.org>2021-01-23 20:05:07 -0600
committerMark Hatle <mark.hatle@xilinx.com>2021-03-05 10:11:04 -0800
commit131727c04d7363049f455b8e0a0189a685fdf1fd (patch)
tree292119a10dd8b9c8184d7f23f2bec33c95af450b
parent9e1c449a0ec0de175ffa908bd817d355b965b218 (diff)
downloadmeta-xilinx-131727c04d7363049f455b8e0a0189a685fdf1fd.tar.gz
plm-firmware: Rename from plm to match other firmware, update S/B
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
-rw-r--r--meta-xilinx-standalone/recipes-standalone/plm-firmware/plm-firmware_2020.2.bb (renamed from meta-xilinx-standalone/recipes-standalone/plm/plm_2020.2.bb)12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta-xilinx-standalone/recipes-standalone/plm/plm_2020.2.bb b/meta-xilinx-standalone/recipes-standalone/plm-firmware/plm-firmware_2020.2.bb
index c5a68ef1..a5671a36 100644
--- a/meta-xilinx-standalone/recipes-standalone/plm/plm_2020.2.bb
+++ b/meta-xilinx-standalone/recipes-standalone/plm-firmware/plm-firmware_2020.2.bb
@@ -1,7 +1,7 @@
1inherit deploy 1inherit deploy
2 2
3LICENSE = "Proprietary" 3LICENSE = "Proprietary"
4LIC_FILES_CHKSUM = "file://../../../../license.txt;md5=39ab6ab638f4d1836ba994ec6852de94" 4LIC_FILES_CHKSUM = "file://license.txt;md5=39ab6ab638f4d1836ba994ec6852de94"
5 5
6SRCREV = "e8db5fb118229fdc621e0ec7848641a23bf60998" 6SRCREV = "e8db5fb118229fdc621e0ec7848641a23bf60998"
7PV = "${XILINX_RELEASE_VERSION}+git${SRCPV}" 7PV = "${XILINX_RELEASE_VERSION}+git${SRCPV}"
@@ -11,8 +11,8 @@ SRC_URI = "git://github.com/Xilinx/embeddedsw.git;protocol=https;nobranch=1"
11COMPATIBLE_HOST = "microblaze.*-elf" 11COMPATIBLE_HOST = "microblaze.*-elf"
12COMPATIBLE_MACHINE = "versal-mb" 12COMPATIBLE_MACHINE = "versal-mb"
13 13
14 14S = "${WORKDIR}/git"
15S = "${WORKDIR}/git/lib/sw_apps/versal_plm/src" 15B = "${S}/lib/sw_apps/versal_plm/src"
16 16
17# The makefile does not handle parallelization 17# The makefile does not handle parallelization
18PARALLEL_MAKE = "" 18PARALLEL_MAKE = ""
@@ -20,7 +20,7 @@ PARALLEL_MAKE = ""
20do_configure() { 20do_configure() {
21 # manually do the copy_bsp step first, so as to be able to fix up use of 21 # manually do the copy_bsp step first, so as to be able to fix up use of
22 # mb-* commands 22 # mb-* commands
23 ${S}/../misc/copy_bsp.sh 23 ${B}/../misc/copy_bsp.sh
24} 24}
25 25
26COMPILER = "${CC}" 26COMPILER = "${CC}"
@@ -28,7 +28,7 @@ COMPILER_FLAGS = "-O2 -c"
28EXTRA_COMPILER_FLAGS = "-g -Wall -Wextra -Os -flto -ffat-lto-objects" 28EXTRA_COMPILER_FLAGS = "-g -Wall -Wextra -Os -flto -ffat-lto-objects"
29ARCHIVER = "${AR}" 29ARCHIVER = "${AR}"
30 30
31BSP_DIR ?= "${S}/../misc/versal_plm_bsp" 31BSP_DIR ?= "${B}/../misc/versal_plm_bsp"
32BSP_TARGETS_DIR ?= "${BSP_DIR}/psv_pmc_0/libsrc" 32BSP_TARGETS_DIR ?= "${BSP_DIR}/psv_pmc_0/libsrc"
33 33
34def bsp_make_vars(d): 34def bsp_make_vars(d):
@@ -36,7 +36,7 @@ def bsp_make_vars(d):
36 return " ".join(["\"%s=%s\"" % (v, d.getVar(v)) for v in s]) 36 return " ".join(["\"%s=%s\"" % (v, d.getVar(v)) for v in s])
37 37
38do_compile() { 38do_compile() {
39 # the Makefile in ${S}/../misc/Makefile, does not handle CC, AR, AS, etc 39 # the Makefile in ${B}/../misc/Makefile, does not handle CC, AR, AS, etc
40 # properly. So do its job manually. Preparing the includes first, then libs. 40 # properly. So do its job manually. Preparing the includes first, then libs.
41 for i in $(ls ${BSP_TARGETS_DIR}/*/src/Makefile); do 41 for i in $(ls ${BSP_TARGETS_DIR}/*/src/Makefile); do
42 oe_runmake -C $(dirname $i) -s include ${@bsp_make_vars(d)} 42 oe_runmake -C $(dirname $i) -s include ${@bsp_make_vars(d)}