diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2022-12-01 17:16:56 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2022-12-02 08:44:13 -0600 |
| commit | 167593680b6b9c9c22584b99a99bbb9d9972b9e3 (patch) | |
| tree | 3cec7d86d54c1f335bd0a025c89d5c065755cc8f | |
| parent | 1e72f383a106ec51aa864f0c29141fc0e0adb3bc (diff) | |
| download | meta-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.bb | 13 |
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 | ||
| 5 | DEPENDS = "u-boot-mkimage-native" | 5 | DEPENDS = "u-boot-mkimage-native" |
| 6 | 6 | ||
| 7 | inherit deploy nopackages image-wic-utils | 7 | inherit deploy image-wic-utils |
| 8 | 8 | ||
| 9 | INHIBIT_DEFAULT_DEPS = "1" | 9 | INHIBIT_DEFAULT_DEPS = "1" |
| 10 | 10 | ||
| @@ -173,7 +173,6 @@ KERNEL_ROOT_RAMDISK ?= "root=/dev/ram0 rw" | |||
| 173 | BITSTREAM_LOAD_ADDRESS ?= "0x100000" | 173 | BITSTREAM_LOAD_ADDRESS ?= "0x100000" |
| 174 | 174 | ||
| 175 | do_configure[noexec] = "1" | 175 | do_configure[noexec] = "1" |
| 176 | do_install[noexec] = "1" | ||
| 177 | 176 | ||
| 178 | def append_baseaddr(d,offset): | 177 | def 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 | ||
| 239 | do_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 | |||
| 248 | FILES:${PN} = "/boot/*" | ||
| 240 | 249 | ||
| 241 | do_deploy() { | 250 | do_deploy() { |
| 242 | install -d ${DEPLOYDIR} | 251 | install -d ${DEPLOYDIR} |
