summaryrefslogtreecommitdiffstats
path: root/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb
diff options
context:
space:
mode:
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.bb49
1 files changed, 38 insertions, 11 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
index 84dca378..73ed092b 100644
--- a/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb
+++ b/recipes-ti/ti-pdk-build/ti-pdk-build-rtos_git.bb
@@ -4,15 +4,15 @@ LIC_FILES_CHKSUM = "file://makerules/env.mk;beginline=1;endline=31;md5=10503e8de
4 4
5require recipes-ti/includes/ti-paths.inc 5require recipes-ti/includes/ti-paths.inc
6 6
7PV = "01.00.00.02B" 7PV = "01.00.00.03"
8PR = "r0" 8PR = "r0"
9 9
10PDK_BUILD_GIT_URI = "git://git.ti.com/keystone-rtos/processor-pdk-build.git" 10PDK_BUILD_GIT_URI = "git://git.ti.com/keystone-rtos/processor-pdk-build.git"
11PDK_BUILD_GIT_PROTOCOL = "git" 11PDK_BUILD_GIT_PROTOCOL = "git"
12PDK_BUILD_GIT_BRANCH = "master" 12PDK_BUILD_GIT_BRANCH = "master"
13 13
14# Below Commit ID corresponds to "DEV.PDK_BUILD.01.00.00.02B" 14# Below Commit ID corresponds to "DEV.PDK_BUILD.01.00.00.03"
15PDK_BUILD_SRCREV = "28a1bf6dba6d4eb6d80bfe37c5a5f17941754192" 15PDK_BUILD_SRCREV = "487845b835b54d97f2d2f47ee1d0d88784e7e9ca"
16 16
17BRANCH = "${PDK_BUILD_GIT_BRANCH}" 17BRANCH = "${PDK_BUILD_GIT_BRANCH}"
18SRC_URI = "${PDK_BUILD_GIT_URI};protocol=${PDK_BUILD_GIT_PROTOCOL};branch=${BRANCH}" 18SRC_URI = "${PDK_BUILD_GIT_URI};protocol=${PDK_BUILD_GIT_PROTOCOL};branch=${BRANCH}"
@@ -32,30 +32,46 @@ do_compile() {
32do_install() { 32do_install() {
33 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build 33 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build
34 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules 34 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
35 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am335x
36 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am571x
37 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am572x
38 35
39 install -m 0755 Rules.make ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build 36 install -m 0755 Rules.make ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build
40 install -m 0755 comp_top.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build 37 install -m 0755 comp_top.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build
41 38
42 sed -i -e "s|c\:/ti/ccsv5/utils/cygwin|\$(XDC_INSTALL_PATH)/bin|g" \ 39 sed -i -e "s|c\:/ti/ccsv5/utils/cygwin|\$(XDC_INSTALL_PATH)/bin|g" \
43 ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/Rules.make 40 ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/Rules.make
44 41
45 install -m 0755 makerules/build_config.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules 42 install -m 0755 makerules/build_config.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
46 install -m 0755 makerules/common.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules 43 install -m 0755 makerules/common.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
47 install -m 0755 makerules/component.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules 44 install -m 0755 makerules/component.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
48 install -m 0755 makerules/env.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules 45 install -m 0755 makerules/env.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
49 install -m 0755 makerules/platform.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules 46 install -m 0755 makerules/platform.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
50 install -m 0755 makerules/rules_66.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules 47}
51 install -m 0755 makerules/rules_a15.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules 48
49do_install_append_ti33x() {
50 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am335x
51
52 install -m 0755 makerules/rules_a8.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules 52 install -m 0755 makerules/rules_a8.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
53 install -m 0755 makerules/rules_a8_extend.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules 53 install -m 0755 makerules/rules_a8_extend.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
54
55 install -m 0755 am335x/config_am335x_a8.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am335x
56}
57
58do_install_append_ti43x() {
59 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am437x
60
54 install -m 0755 makerules/rules_a9.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules 61 install -m 0755 makerules/rules_a9.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
62
63 install -m 0755 am437x/config_am437x_a9.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am437x
64}
65
66do_install_append_omap-a15() {
67 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am571x
68 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am572x
69
70 install -m 0755 makerules/rules_66.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
71 install -m 0755 makerules/rules_a15.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
55 install -m 0755 makerules/rules_m4.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules 72 install -m 0755 makerules/rules_m4.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
56 install -m 0755 makerules/rules_ti_cgt_arm.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules 73 install -m 0755 makerules/rules_ti_cgt_arm.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
57 install -m 0755 am335x/config_am335x_a8.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am335x 74
58 install -m 0755 am335x/mem_segment_definition_1024mb_bios.xs ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am335x
59 install -m 0755 am571x/config_am571x.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am571x 75 install -m 0755 am571x/config_am571x.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am571x
60 install -m 0755 am571x/config_am571x_c66.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am571x 76 install -m 0755 am571x/config_am571x_c66.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am571x
61 install -m 0755 am571x/config_am571x_a15.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am571x 77 install -m 0755 am571x/config_am571x_a15.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am571x
@@ -65,5 +81,16 @@ do_install() {
65 install -m 0755 am572x/config_am572x_a15.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am572x 81 install -m 0755 am572x/config_am572x_a15.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am572x
66 install -m 0755 am572x/mem_segment_definition_1024mb_bios.xs ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am572x 82 install -m 0755 am572x/mem_segment_definition_1024mb_bios.xs ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am572x
67} 83}
84
85do_install_append_keystone() {
86 install -m 0755 makerules/rules_66.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
87 install -m 0755 makerules/rules_a15.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
88}
89
90do_install_append_k2g-evm() {
91 install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/k2g
92
93 install -m 0755 k2g/config_k2g_a15.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/k2g
94}
68 95
69FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages/*" 96FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages/*"