diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-05-14 10:05:20 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-05-23 08:44:44 -0700 |
| commit | c33cfad1b0e1f84f6605689457e16fb0518ee383 (patch) | |
| tree | 9a280a37e62ddbfda807dea68419ab457bbe657a /meta-networking | |
| parent | ffc64e9c6fee0af7eea3466135416d011172a5e6 (diff) | |
| download | meta-openembedded-c33cfad1b0e1f84f6605689457e16fb0518ee383.tar.gz | |
recipes: Switch away from S = WORKDIR
Make it dependent on UNPACKDIR instead
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
| -rw-r--r-- | meta-networking/recipes-support/nuttcp/nuttcp_8.2.2.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-networking/recipes-support/nuttcp/nuttcp_8.2.2.bb b/meta-networking/recipes-support/nuttcp/nuttcp_8.2.2.bb index 115b51e96c..b02f775a55 100644 --- a/meta-networking/recipes-support/nuttcp/nuttcp_8.2.2.bb +++ b/meta-networking/recipes-support/nuttcp/nuttcp_8.2.2.bb | |||
| @@ -18,7 +18,8 @@ SRC_URI = "http://nuttcp.net/${BPN}/beta/${BP}.c \ | |||
| 18 | SRC_URI[md5sum] = "d3c92c4d2f261221193c3726c1b9a42f" | 18 | SRC_URI[md5sum] = "d3c92c4d2f261221193c3726c1b9a42f" |
| 19 | SRC_URI[sha256sum] = "8c5595bcd27c2fd66831be74c390df078cfb1870aa427f2511ac2586d236c8a1" | 19 | SRC_URI[sha256sum] = "8c5595bcd27c2fd66831be74c390df078cfb1870aa427f2511ac2586d236c8a1" |
| 20 | 20 | ||
| 21 | S = "${WORKDIR}" | 21 | S = "${WORKDIR}/sources" |
| 22 | UNPACKDIR = "${S}" | ||
| 22 | 23 | ||
| 23 | do_compile () { | 24 | do_compile () { |
| 24 | ${CC} ${CFLAGS} ${LDFLAGS} -o nuttcp nuttcp-${PV}.c | 25 | ${CC} ${CFLAGS} ${LDFLAGS} -o nuttcp nuttcp-${PV}.c |
| @@ -28,8 +29,8 @@ do_install () { | |||
| 28 | install -d ${D}${bindir} | 29 | install -d ${D}${bindir} |
| 29 | install -d ${D}${systemd_system_unitdir} | 30 | install -d ${D}${systemd_system_unitdir} |
| 30 | install -m 0755 nuttcp ${D}${bindir} | 31 | install -m 0755 nuttcp ${D}${bindir} |
| 31 | install -m 0644 ${WORKDIR}/nuttcp@.service ${D}${systemd_system_unitdir} | 32 | install -m 0644 ${UNPACKDIR}/nuttcp@.service ${D}${systemd_system_unitdir} |
| 32 | install -m 0644 ${WORKDIR}/nuttcp.socket ${D}${systemd_system_unitdir} | 33 | install -m 0644 ${UNPACKDIR}/nuttcp.socket ${D}${systemd_system_unitdir} |
| 33 | } | 34 | } |
| 34 | 35 | ||
| 35 | FILES:${PN} += " \ | 36 | FILES:${PN} += " \ |
