From c5fd0ecd7b61fc9d38344555e6f7a3b3d15cab62 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 12 Jul 2026 22:29:53 +0800
Subject: [PATCH] Update yocot build shell script
---
bsp/yocto/meta-igkboard/wrynose/recipes-hello/hello-app/hello-app_1.0.bb | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/bsp/yocto/meta-igkboard/wrynose/recipes-hello/hello-app/hello-app_1.0.bb b/bsp/yocto/meta-igkboard/wrynose/recipes-hello/hello-app/hello-app_1.0.bb
new file mode 100644
index 0000000..7b69bb5
--- /dev/null
+++ b/bsp/yocto/meta-igkboard/wrynose/recipes-hello/hello-app/hello-app_1.0.bb
@@ -0,0 +1,25 @@
+SUMMARY = "My Custom Hello Example Application"
+
+# Linces file is in poky/meta/files/common-licenses/ and use `md5sum` command to get the MD5 value
+LICENSE = "GPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c"
+
+# recipe version
+PV = "1.0"
+PR = "r0"
+
+# There is /usr/bin/hello link to hello.lmbench, so can not use application name 'hello' here
+SRC_URI = "file://src/hello-app.c \
+ file://src/Makefile \
+ "
+
+S = "${UNPACKDIR}/src"
+
+do_compile() {
+ make
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 hello-app ${D}${bindir}/
+}
--
Gitblit v1.10.0