commit | author | age
|
17e726
|
1 |
SUMMARY = "My Custom Hello Example Application" |
G |
2 |
|
|
3 |
# Linces file is in poky/meta/files/common-licenses/ and use `md5sum` command to get the MD5 value |
|
4 |
LICENSE = "GPL-2.0-or-later" |
|
5 |
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c" |
|
6 |
|
|
7 |
# recipe version |
a580f6
|
8 |
PV = "1.0" |
17e726
|
9 |
PR = "r0" |
G |
10 |
|
|
11 |
# There is /usr/bin/hello link to hello.lmbench, so can not use application name 'hello' here |
|
12 |
SRC_URI = "file://hello-app.c \ |
|
13 |
file://Makefile \ |
|
14 |
" |
|
15 |
|
|
16 |
S = "${WORKDIR}" |
|
17 |
|
|
18 |
do_compile() { |
|
19 |
make |
|
20 |
} |
|
21 |
|
|
22 |
do_install() { |
|
23 |
install -d ${D}${bindir} |
|
24 |
install -m 0755 hello-app ${D}${bindir}/ |
|
25 |
} |