diff options
author | Holger Freyther <zecke@selfish.org> | 2007-04-02 20:42:15 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2007-04-02 20:42:15 +0000 |
commit | 745c67ffc5c79fe08cd5460ded6317d17517799a (patch) | |
tree | 2361724ca3df196d49dab349feaf07aa3309912d /packages/shasum | |
parent | 865302bba116b9f67fc33869dc50624c8f2455a7 (diff) |
classes/base.bbclass: place shasum-native as the first package to build
classes/base.bbclass: Make sure shasum-native does not depend on quilt
classes/sanity.bbclass: No need to require sha256sum as we use oe_sha256sum
packages/shasum: Change the name, make the -native version not have any deps
Diffstat (limited to 'packages/shasum')
-rw-r--r-- | packages/shasum/shasum-native.bb | 6 | ||||
-rw-r--r-- | packages/shasum/shasum.inc | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/packages/shasum/shasum-native.bb b/packages/shasum/shasum-native.bb index 9a4b42c64a..75b25d3123 100644 --- a/packages/shasum/shasum-native.bb +++ b/packages/shasum/shasum-native.bb @@ -2,6 +2,10 @@ require shasum.inc inherit native +INHIBIT_DEFAULT_DEPS = "1" +INHIBIT_PATCH_TOOL = "1" + +do_fetch[depends] = "" do_populate_staging() { - install ${S}/sha256sum ${STAGING_BINDIR} + install ${S}/oe_sha256sum ${STAGING_BINDIR} } diff --git a/packages/shasum/shasum.inc b/packages/shasum/shasum.inc index 1ff6e83767..343a2d288e 100644 --- a/packages/shasum/shasum.inc +++ b/packages/shasum/shasum.inc @@ -1,6 +1,8 @@ SUMMARY = "A simple tool to create sha256 hashes from a file" LICENSE = "LGPL" +PR = "r1" + S = "${WORKDIR}" @@ -14,5 +16,5 @@ do_configure() { } do_compile() { - $CC $CFLAGS $CPPFLAGS -o sha256sum main.c sha256.c + $CC $CFLAGS $CPPFLAGS -o oe_sha256sum main.c sha256.c } |