summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2022-12-01 17:16:56 -0800
committerMark Hatle <mark.hatle@amd.com>2022-12-02 08:44:13 -0600
commit167593680b6b9c9c22584b99a99bbb9d9972b9e3 (patch)
tree3cec7d86d54c1f335bd0a025c89d5c065755cc8f
parent1e72f383a106ec51aa864f0c29141fc0e0adb3bc (diff)
downloadmeta-xilinx-167593680b6b9c9c22584b99a99bbb9d9972b9e3.tar.gz
u-boot-xlnx-scr: Add package generation
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb13
1 files changed, 11 insertions, 2 deletions
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb
index 8a3a5db6..3f5c277c 100644
--- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb
+++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
4 4
5DEPENDS = "u-boot-mkimage-native" 5DEPENDS = "u-boot-mkimage-native"
6 6
7inherit deploy nopackages image-wic-utils 7inherit deploy image-wic-utils
8 8
9INHIBIT_DEFAULT_DEPS = "1" 9INHIBIT_DEFAULT_DEPS = "1"
10 10
@@ -173,7 +173,6 @@ KERNEL_ROOT_RAMDISK ?= "root=/dev/ram0 rw"
173BITSTREAM_LOAD_ADDRESS ?= "0x100000" 173BITSTREAM_LOAD_ADDRESS ?= "0x100000"
174 174
175do_configure[noexec] = "1" 175do_configure[noexec] = "1"
176do_install[noexec] = "1"
177 176
178def append_baseaddr(d,offset): 177def append_baseaddr(d,offset):
179 skip_append = d.getVar('SKIP_APPEND_BASEADDR') or "" 178 skip_append = d.getVar('SKIP_APPEND_BASEADDR') or ""
@@ -237,6 +236,16 @@ do_compile() {
237 "${WORKDIR}/pxeboot.pxe" > "pxeboot.pxe" 236 "${WORKDIR}/pxeboot.pxe" > "pxeboot.pxe"
238} 237}
239 238
239do_install() {
240 install -d ${D}/boot
241 install -m 0644 boot.scr ${D}/boot/${UBOOTSCR_BASE_NAME}.scr
242 ln -sf ${UBOOTSCR_BASE_NAME}.scr ${D}/boot/boot.scr
243 install -d ${D}/boot/pxeboot/${UBOOTPXE_CONFIG_NAME}
244 install -m 0644 pxeboot.pxe ${D}/boot/pxeboot/${UBOOTPXE_CONFIG_NAME}/default
245 ln -sf pxeboot/${UBOOTPXE_CONFIG_NAME} ${D}/boot/${UBOOTPXE_CONFIG}
246}
247
248FILES:${PN} = "/boot/*"
240 249
241do_deploy() { 250do_deploy() {
242 install -d ${DEPLOYDIR} 251 install -d ${DEPLOYDIR}