mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 09:49:32 +02:00
handbook: Move into documentation directory
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
16
documentation/poky-ref-manual/examples/hello-single/hello.bb
Normal file
16
documentation/poky-ref-manual/examples/hello-single/hello.bb
Normal file
@@ -0,0 +1,16 @@
|
||||
DESCRIPTION = "Simple helloworld application"
|
||||
SECTION = "examples"
|
||||
LICENSE = "MIT"
|
||||
|
||||
SRC_URI = "file://helloworld.c"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_compile() {
|
||||
${CC} helloworld.c -o helloworld
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 helloworld ${D}${bindir}
|
||||
}
|
||||
Reference in New Issue
Block a user