diff options
-rw-r--r-- | meta-xilinx-core/recipes-apps/image-update/image-update_1.0.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-apps/image-update/image-update_1.0.bb b/meta-xilinx-core/recipes-apps/image-update/image-update_1.0.bb new file mode 100644 index 00000000..57a18b3d --- /dev/null +++ b/meta-xilinx-core/recipes-apps/image-update/image-update_1.0.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | DESCRIPTION = "Image update is used to update alternate image on SOM." | ||
2 | SUMMARY = "Image update is used to update alternate image on SOM. \ | ||
3 | If the current image is ImageA, ImageB will get updated and vice versa. \ | ||
4 | Usage: image_update <Input Image File>" | ||
5 | |||
6 | LICENSE = "MIT" | ||
7 | LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSES/MIT;md5=2ac09a7a37dd6ee0ba23ce497d57d09b" | ||
8 | |||
9 | BRANCH = "xlnx_rel_v2023.2" | ||
10 | SRC_URI = "git://github.com/Xilinx/linux-image_update.git;branch=${BRANCH};protocol=https" | ||
11 | SRCREV = "c1117cad92d967d7adca7fd2ba655808f4687516" | ||
12 | |||
13 | RDEPENDS:${PN} += "freeipmi" | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | COMPATIBLE_MACHINE = "^$" | ||
18 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" | ||
19 | |||
20 | PACKAGE_ARCH:zynqmp = "${SOC_FAMILY_ARCH}" | ||
21 | |||
22 | # Force the make system to use the flags we want! | ||
23 | EXTRA_OEMAKE = 'CC="${CC} ${TARGET_CFLAGS} ${TARGET_LDFLAGS}" all' | ||
24 | |||
25 | do_install () { | ||
26 | install -d ${D}${bindir} | ||
27 | install -m 0755 ${S}/image_update ${D}${bindir}/ | ||
28 | } | ||