diff options
Diffstat (limited to 'meta-xilinx-standalone-experimental/classes/esw.bbclass')
| -rw-r--r-- | meta-xilinx-standalone-experimental/classes/esw.bbclass | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta-xilinx-standalone-experimental/classes/esw.bbclass b/meta-xilinx-standalone-experimental/classes/esw.bbclass index 0d6e78a6..f95dc692 100644 --- a/meta-xilinx-standalone-experimental/classes/esw.bbclass +++ b/meta-xilinx-standalone-experimental/classes/esw.bbclass | |||
| @@ -10,9 +10,9 @@ B = "${WORKDIR}/build" | |||
| 10 | OECMAKE_SOURCEPATH = "${S}/${ESW_COMPONENT_SRC}" | 10 | OECMAKE_SOURCEPATH = "${S}/${ESW_COMPONENT_SRC}" |
| 11 | LICFILENAME = "license.txt" | 11 | LICFILENAME = "license.txt" |
| 12 | 12 | ||
| 13 | SPECFILE_PATH_arm = "${S}/scripts/specs/arm/Xilinx.spec" | 13 | SPECFILE_PATH:arm = "${S}/scripts/specs/arm/Xilinx.spec" |
| 14 | SPECFILE_PATH_aarch64 = "${S}/scripts/specs/arm/Xilinx.spec" | 14 | SPECFILE_PATH:aarch64 = "${S}/scripts/specs/arm/Xilinx.spec" |
| 15 | SPECFILE_PATH_microblaze = "${S}/scripts/specs/microblaze/Xilinx.spec" | 15 | SPECFILE_PATH:microblaze = "${S}/scripts/specs/microblaze/Xilinx.spec" |
| 16 | 16 | ||
| 17 | ESW_MACHINE ?= "${MACHINE}" | 17 | ESW_MACHINE ?= "${MACHINE}" |
| 18 | 18 | ||
| @@ -21,7 +21,7 @@ ESW_CFLAGS += "-specs=${SPECFILE_PATH}" | |||
| 21 | inherit ccmake | 21 | inherit ccmake |
| 22 | 22 | ||
| 23 | COMPATIBLE_HOST = ".*-elf" | 23 | COMPATIBLE_HOST = ".*-elf" |
| 24 | COMPATIBLE_HOST_arm = "[^-]*-[^-]*-eabi" | 24 | COMPATIBLE_HOST:arm = "[^-]*-[^-]*-eabi" |
| 25 | 25 | ||
| 26 | DTS_FILE = "${DEPLOY_DIR_IMAGE}/devicetree/${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" | 26 | DTS_FILE = "${DEPLOY_DIR_IMAGE}/devicetree/${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" |
| 27 | 27 | ||
| @@ -46,9 +46,9 @@ def get_xlnx_cmake_processor(tune, machine, d): | |||
| 46 | cmake_processor = tune | 46 | cmake_processor = tune |
| 47 | if tune.startswith('microblaze'): | 47 | if tune.startswith('microblaze'): |
| 48 | if (machine == 'microblaze-pmu'): | 48 | if (machine == 'microblaze-pmu'): |
| 49 | cmake_processor = 'pmu_microblaze' | 49 | cmake_processor = 'pmu:microblaze' |
| 50 | elif (machine == 'microblaze-plm'): | 50 | elif (machine == 'microblaze-plm'): |
| 51 | cmake_processor = 'plm_microblaze' | 51 | cmake_processor = 'plm:microblaze' |
| 52 | else: | 52 | else: |
| 53 | cmake_processor = 'microblaze' | 53 | cmake_processor = 'microblaze' |
| 54 | elif (tune in [ 'cortexr5', 'cortexr5f' ]): | 54 | elif (tune in [ 'cortexr5', 'cortexr5f' ]): |
| @@ -85,7 +85,7 @@ do_install() { | |||
| 85 | install -m 0644 ${B}/include/*.h ${D}${includedir} | 85 | install -m 0644 ${B}/include/*.h ${D}${includedir} |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | CFLAGS_append = " ${ESW_CFLAGS}" | 88 | CFLAGS:append = " ${ESW_CFLAGS}" |
| 89 | 89 | ||
| 90 | # We need to find the license file, which vaires depending on the component | 90 | # We need to find the license file, which vaires depending on the component |
| 91 | # recurse a maximum of x times, could be fancier but it gets complicated since | 91 | # recurse a maximum of x times, could be fancier but it gets complicated since |
