1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

sha-native: Update staging function

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2009-11-16 21:53:21 +00:00
parent 3044578403
commit d89b641578
2 changed files with 9 additions and 9 deletions
-4
View File
@@ -6,7 +6,3 @@ INHIBIT_DEFAULT_DEPS = "1"
PATCHTOOL = "patch" PATCHTOOL = "patch"
do_fetch[depends] = "" do_fetch[depends] = ""
do_stage() {
install -d ${STAGING_BINDIR}
install ${S}/oe_sha256sum ${STAGING_BINDIR}
}
+9 -5
View File
@@ -1,20 +1,24 @@
SUMMARY = "A simple tool to create sha256 hashes from a file" SUMMARY = "A simple tool to create sha256 hashes from a file"
LICENSE = "LGPL" LICENSE = "LGPL"
PR = "r1" PR = "r1"
S = "${WORKDIR}" S = "${WORKDIR}"
SRC_URI = "file://main.c \ SRC_URI = "file://main.c \
file://mhash_sha256.h \ file://mhash_sha256.h \
file://sha256.c " file://sha256.c "
do_configure() { do_configure() {
: :
} }
do_compile() { do_compile() {
$CC $CFLAGS $CPPFLAGS -o oe_sha256sum main.c sha256.c $CC $CFLAGS $CPPFLAGS -o oe_sha256sum main.c sha256.c
}
NATIVE_INSTALL_WORKS = "1"
do_install() {
install -d ${D}${bindir}/
install ${S}/oe_sha256sum ${D}${bindir}/
} }