diff options
Diffstat (limited to 'meta-selftest/recipes-test/selftest-hardlink')
-rw-r--r-- | meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb b/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb index 842a9772cb..5632bdac7a 100644 --- a/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb +++ b/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb | |||
@@ -6,7 +6,8 @@ SRC_URI = "file://hello.c \ | |||
6 | file://gdb.sh \ | 6 | file://gdb.sh \ |
7 | " | 7 | " |
8 | 8 | ||
9 | S = "${WORKDIR}" | 9 | S = "${WORKDIR}/sources" |
10 | UNPACKDIR = "${S}" | ||
10 | 11 | ||
11 | do_compile () { | 12 | do_compile () { |
12 | ${CC} hello.c -o hello1 ${CFLAGS} ${LDFLAGS} | 13 | ${CC} hello.c -o hello1 ${CFLAGS} ${LDFLAGS} |
@@ -14,7 +15,7 @@ do_compile () { | |||
14 | 15 | ||
15 | do_install () { | 16 | do_install () { |
16 | install -d ${D}${bindir} | 17 | install -d ${D}${bindir} |
17 | install -m 755 ${WORKDIR}/gdb.sh ${D}${bindir}/ | 18 | install -m 755 ${S}/gdb.sh ${D}${bindir}/ |
18 | install -m 755 hello1 ${D}${bindir}/hello1 | 19 | install -m 755 hello1 ${D}${bindir}/hello1 |
19 | ln ${D}${bindir}/hello1 ${D}${bindir}/hello2 | 20 | ln ${D}${bindir}/hello1 ${D}${bindir}/hello2 |
20 | 21 | ||
@@ -25,6 +26,6 @@ do_install () { | |||
25 | dd if=/dev/zero of=${D}${bindir}/sparsetest bs=1 count=0 seek=1M | 26 | dd if=/dev/zero of=${D}${bindir}/sparsetest bs=1 count=0 seek=1M |
26 | } | 27 | } |
27 | 28 | ||
28 | RDEPENDS_${PN}-gdb += "gdb" | 29 | RDEPENDS:${PN}-gdb += "gdb" |
29 | PACKAGES =+ "${PN}-gdb" | 30 | PACKAGES =+ "${PN}-gdb" |
30 | FILES_${PN}-gdb = "${bindir}/gdb.sh" | 31 | FILES:${PN}-gdb = "${bindir}/gdb.sh" |