diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-25 17:01:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-26 15:43:43 +0100 |
commit | c5312dd92bd9fd88948567938a0f3b66782ae869 (patch) | |
tree | 6fafaa4c430beb023cb75344ec9a3293a2f90392 /meta/recipes-bsp/usbinit/usbinit.bb | |
parent | 39b85616adc434fc12aaa260268cebf3b4d9395f (diff) | |
download | poky-c5312dd92bd9fd88948567938a0f3b66782ae869.tar.gz |
recipes: Avoid S = WORKDIR
Where recipes use S = ${WORKDIR}, change them to set UNPACKDIR to
a subdir of WORKDIR and make S point at this instead.
Where WORKDIR is referenced in do_compile/do_install and similar, switch
to using ${S} which conceptually makes more sense.
(From OE-Core rev: d0c1ae3ffacacc762f957b9b306dfb0a912c4859)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/usbinit/usbinit.bb')
-rw-r--r-- | meta/recipes-bsp/usbinit/usbinit.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-bsp/usbinit/usbinit.bb b/meta/recipes-bsp/usbinit/usbinit.bb index 3a50b835c2..56baf65caf 100644 --- a/meta/recipes-bsp/usbinit/usbinit.bb +++ b/meta/recipes-bsp/usbinit/usbinit.bb | |||
@@ -10,7 +10,9 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa | |||
10 | 10 | ||
11 | SRC_URI = "file://usb-gether \ | 11 | SRC_URI = "file://usb-gether \ |
12 | file://COPYING.GPL" | 12 | file://COPYING.GPL" |
13 | S = "${WORKDIR}" | 13 | |
14 | S = "${WORKDIR}/sources" | ||
15 | UNPACKDIR = "${S}" | ||
14 | 16 | ||
15 | do_install() { | 17 | do_install() { |
16 | install -d ${D}${sysconfdir} | 18 | install -d ${D}${sysconfdir} |