diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 21:53:21 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 21:53:21 +0000 |
commit | d89b641578a4b3ef3dbe168e59e47cf6d4f1cc5d (patch) | |
tree | d489de01f5166090c011dff9ed5dd67d6e1d8945 /meta/packages | |
parent | 30445784030c59d2d0a8c9aa7801a6ffab55e360 (diff) | |
download | poky-d89b641578a4b3ef3dbe168e59e47cf6d4f1cc5d.tar.gz |
sha-native: Update staging function
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/shasum/shasum-native.bb | 4 | ||||
-rw-r--r-- | meta/packages/shasum/shasum.inc | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/meta/packages/shasum/shasum-native.bb b/meta/packages/shasum/shasum-native.bb index a28d5ac967..d39a6c3865 100644 --- a/meta/packages/shasum/shasum-native.bb +++ b/meta/packages/shasum/shasum-native.bb | |||
@@ -6,7 +6,3 @@ INHIBIT_DEFAULT_DEPS = "1" | |||
6 | PATCHTOOL = "patch" | 6 | PATCHTOOL = "patch" |
7 | 7 | ||
8 | do_fetch[depends] = "" | 8 | do_fetch[depends] = "" |
9 | do_stage() { | ||
10 | install -d ${STAGING_BINDIR} | ||
11 | install ${S}/oe_sha256sum ${STAGING_BINDIR} | ||
12 | } | ||
diff --git a/meta/packages/shasum/shasum.inc b/meta/packages/shasum/shasum.inc index 343a2d288e..ad51bcc608 100644 --- a/meta/packages/shasum/shasum.inc +++ b/meta/packages/shasum/shasum.inc | |||
@@ -1,20 +1,24 @@ | |||
1 | SUMMARY = "A simple tool to create sha256 hashes from a file" | 1 | SUMMARY = "A simple tool to create sha256 hashes from a file" |
2 | LICENSE = "LGPL" | 2 | LICENSE = "LGPL" |
3 | 3 | ||
4 | PR = "r1" | 4 | PR = "r1" |
5 | 5 | ||
6 | S = "${WORKDIR}" | 6 | S = "${WORKDIR}" |
7 | 7 | ||
8 | |||
9 | SRC_URI = "file://main.c \ | 8 | SRC_URI = "file://main.c \ |
10 | file://mhash_sha256.h \ | 9 | file://mhash_sha256.h \ |
11 | file://sha256.c " | 10 | file://sha256.c " |
12 | 11 | ||
13 | |||
14 | do_configure() { | 12 | do_configure() { |
15 | : | 13 | : |
16 | } | 14 | } |
17 | 15 | ||
18 | do_compile() { | 16 | do_compile() { |
19 | $CC $CFLAGS $CPPFLAGS -o oe_sha256sum main.c sha256.c | 17 | $CC $CFLAGS $CPPFLAGS -o oe_sha256sum main.c sha256.c |
18 | } | ||
19 | |||
20 | NATIVE_INSTALL_WORKS = "1" | ||
21 | do_install() { | ||
22 | install -d ${D}${bindir}/ | ||
23 | install ${S}/oe_sha256sum ${D}${bindir}/ | ||
20 | } | 24 | } |