summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorParesh Bhagat <p-bhagat@ti.com>2023-12-21 14:52:15 +0530
committerRyan Eatmon <reatmon@ti.com>2024-01-03 17:01:31 -0600
commit9c9c220bf0985160a3a189e3096fc345352b1c32 (patch)
tree2c4d1f6cc4702c8510d377ab66fe781b957c4b62
parent328bc9227fc56624b0b908e30a3b55641e003d61 (diff)
downloadmeta-ti-9c9c220bf0985160a3a189e3096fc345352b1c32.tar.gz
meta-ti-extras: Update jailhouse recipe to delete irrelevant files
Remove config files from /usr/share/jailhouse as they are not required. Package only the cell files for respective devices and not all k3 files. Update FILES:PN to use wildcard. Signed-off-by: Paresh Bhagat <p-bhagat@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r--meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb34
1 files changed, 9 insertions, 25 deletions
diff --git a/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb b/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb
index 387b0806..70d6a0b6 100644
--- a/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb
+++ b/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb
@@ -46,6 +46,8 @@ INMATES_DIR ?= "${JH_DATADIR}/inmates"
46 46
47JH_CELL_FILES ?= "*.cell" 47JH_CELL_FILES ?= "*.cell"
48JH_CELL_FILES:k3 ?= "k3-*.cell" 48JH_CELL_FILES:k3 ?= "k3-*.cell"
49JH_CELL_FILES:am62xx ?= "k3-am625-*.cell"
50JH_CELL_FILES:am62pxx ?= "k3-am62p5-*.cell"
49 51
50JH_INMATE_DTB ?= "" 52JH_INMATE_DTB ?= ""
51JH_INMATE_DTB:am62xx ?= "inmate-k3-am625-sk.dtb" 53JH_INMATE_DTB:am62xx ?= "inmate-k3-am625-sk.dtb"
@@ -147,6 +149,8 @@ do_install() {
147 chmod +x ${D}${JH_DATADIR}/linux-demo.sh 149 chmod +x ${D}${JH_DATADIR}/linux-demo.sh
148 fi 150 fi
149 151
152 rm ${D}${JH_DATADIR}/root-cell-config.c.tmpl
153 rm ${D}${JH_DATADIR}/jailhouse-config-collect.tmpl
150} 154}
151 155
152PACKAGE_BEFORE_PN = "kernel-module-jailhouse pyjailhouse ${PN}-tools" 156PACKAGE_BEFORE_PN = "kernel-module-jailhouse pyjailhouse ${PN}-tools"
@@ -181,30 +185,10 @@ python __anonymous () {
181 185
182 186
183FILES:${PN} = " \ 187FILES:${PN} = " \
184 /boot \ 188 /boot/* \
185 /usr/libexec \ 189 /usr/libexec \
186 /usr/sbin/ivshmem-demo \ 190 /usr/sbin/* \
187 /usr/sbin/jailhouse \ 191 /usr/libexec/* \
188 /usr/libexec/jailhouse \ 192 /usr/share/* \
189 /usr/libexec/jailhouse/jailhouse-config-check \ 193 /lib/firmware/* \
190 /usr/libexec/jailhouse/jailhouse-config-collect \
191 /usr/libexec/jailhouse/jailhouse-hardware-check \
192 /usr/libexec/jailhouse/jailhouse-cell-stats \
193 /usr/libexec/jailhouse/linux-loader.bin \
194 /usr/libexec/jailhouse/jailhouse-cell-linux \
195 /usr/libexec/jailhouse/jailhouse-config-create \
196 /usr/share/jailhouse \
197 /usr/share/jailhouse/linux-demo.sh \
198 /usr/share/jailhouse/inmate-k3-am625-sk.dtb \
199 /usr/share/jailhouse/inmates \
200 /usr/share/jailhouse/cells \
201 /usr/share/jailhouse/inmates/gic-demo.bin \
202 /usr/share/jailhouse/inmates/ivshmem-demo.bin \
203 /usr/share/jailhouse/inmates/uart-demo.bin \
204 /usr/share/jailhouse/cells/k3-am625-sk.cell \
205 /usr/share/jailhouse/cells/k3-am625-sk-inmate-demo.cell \
206 /usr/share/jailhouse/cells/k3-am625-sk-linux-demo.cell \
207 /lib/firmware \
208 /lib/firmware/jailhouse.bin \
209 /boot/tisdk-tiny-image-am62xx-evm.cpio \
210" 194"