diff options
author | Justin Sobota <jsobota@ti.com> | 2016-06-28 00:31:03 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2016-06-29 17:10:45 -0400 |
commit | de355a34c41b0fc4700ca43d5b547f0ee0e5abc2 (patch) | |
tree | 0bf5cd508bd2985efc4796e9f74ea81775563b9f /recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb | |
parent | 39493a8a0d21161e4095fe7c462fbda099d27b74 (diff) | |
download | meta-ti-de355a34c41b0fc4700ca43d5b547f0ee0e5abc2.tar.gz |
ti-pdk: Add makefile support to ti-pdk.bbclass for RTOS components
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb')
-rw-r--r-- | recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb b/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb new file mode 100644 index 00000000..3a3ab555 --- /dev/null +++ b/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb | |||
@@ -0,0 +1,65 @@ | |||
1 | DESCRIPTION = "Package containing PDK makefile infrastructure" | ||
2 | LICENSE = "BSD-3-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://makerules/env.mk;beginline=1;endline=31;md5=10503e8de09f5475185f3fd56de1e310" | ||
4 | |||
5 | require recipes-ti/includes/ti-paths.inc | ||
6 | |||
7 | PV = "01.00.00.00A" | ||
8 | PR = "r4" | ||
9 | |||
10 | PDK_BUILD_GIT_URI = "git://git.ti.com/keystone-rtos/processor-pdk-build.git" | ||
11 | PDK_BUILD_GIT_PROTOCOL = "git" | ||
12 | PDK_BUILD_GIT_BRANCH = "master" | ||
13 | |||
14 | # Below Commit ID corresponds to "DEV.PDK_BUILD.01.00.00.00A" | ||
15 | PDK_BUILD_SRCREV = "8a026319765cc125e2daef709841bb3ce1a8d325" | ||
16 | |||
17 | BRANCH = "${PDK_BUILD_GIT_BRANCH}" | ||
18 | SRC_URI = "${PDK_BUILD_GIT_URI};protocol=${PDK_BUILD_GIT_PROTOCOL};branch=${BRANCH}" | ||
19 | |||
20 | SRCREV = "${PDK_BUILD_SRCREV}" | ||
21 | |||
22 | COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone" | ||
23 | |||
24 | S = "${WORKDIR}/git/" | ||
25 | |||
26 | CLEANBROKEN = "1" | ||
27 | |||
28 | do_compile() { | ||
29 | : | ||
30 | } | ||
31 | |||
32 | do_install() { | ||
33 | install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build | ||
34 | install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules | ||
35 | install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am571x | ||
36 | install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am572x | ||
37 | |||
38 | install -m 0755 Rules.make ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build | ||
39 | |||
40 | sed -i -e "s|c\:/ti/ccsv5/utils/cygwin|\$(XDC_INSTALL_PATH)/bin|g" \ | ||
41 | ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/Rules.make | ||
42 | |||
43 | install -m 0755 makerules/build_config.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules | ||
44 | install -m 0755 makerules/common.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules | ||
45 | install -m 0755 makerules/component.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules | ||
46 | install -m 0755 makerules/env.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules | ||
47 | install -m 0755 makerules/platform.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules | ||
48 | install -m 0755 makerules/rules_66.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules | ||
49 | install -m 0755 makerules/rules_a15.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules | ||
50 | install -m 0755 makerules/rules_a8.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules | ||
51 | install -m 0755 makerules/rules_a8_extend.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules | ||
52 | install -m 0755 makerules/rules_a9.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules | ||
53 | install -m 0755 makerules/rules_m4.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules | ||
54 | install -m 0755 makerules/rules_ti_cgt_arm.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules | ||
55 | install -m 0755 am571x/config_am571x.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am571x | ||
56 | install -m 0755 am571x/config_am571x_c66.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am571x | ||
57 | install -m 0755 am571x/config_am571x_a15.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am571x | ||
58 | install -m 0755 am571x/mem_segment_definition_1024mb_bios.xs ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am571x | ||
59 | install -m 0755 am572x/config_am572x.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am572x | ||
60 | install -m 0755 am572x/config_am572x_c66.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am572x | ||
61 | install -m 0755 am572x/config_am572x_a15.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am572x | ||
62 | install -m 0755 am572x/mem_segment_definition_1024mb_bios.xs ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am572x | ||
63 | } | ||
64 | |||
65 | FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages/*" | ||