mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
set S from UNPACKDIR in recipes that use only local files
There is no need to have two assignments; also setting S from UNPACKDIR (and not vice versa) is more logical as unpack task comes first, and tasks that come after unpack use S to access unpack results. https://git.openembedded.org/openembedded-core/commit/?id=f64b7e5fb3181734c8dde87b27e872a026261a74 https://git.openembedded.org/openembedded-core/commit/?id=46480a5e66747a673041fe4452a0ab14a1736d5e Signed-off-by: Alper Ak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
b9a4acca5f
commit
77654bddba
|
@ -6,6 +6,8 @@ SRC_URI = "file://bind_gpio_shutdown.tab \
|
||||||
file://gpio-shutdown-keymap.sh \
|
file://gpio-shutdown-keymap.sh \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
S = "${UNPACKDIR}"
|
||||||
|
|
||||||
inherit update-rc.d
|
inherit update-rc.d
|
||||||
|
|
||||||
INITSCRIPT_NAME = "gpio-shutdown-keymap.sh"
|
INITSCRIPT_NAME = "gpio-shutdown-keymap.sh"
|
||||||
|
|
|
@ -21,8 +21,7 @@ do_compile() {
|
||||||
|
|
||||||
inherit kernel-arch deploy nopackages
|
inherit kernel-arch deploy nopackages
|
||||||
|
|
||||||
S = "${WORKDIR}/sources"
|
S = "${UNPACKDIR}"
|
||||||
UNPACKDIR = "${S}"
|
|
||||||
|
|
||||||
do_deploy() {
|
do_deploy() {
|
||||||
install -d ${DEPLOYDIR}
|
install -d ${DEPLOYDIR}
|
||||||
|
|
|
@ -3,6 +3,8 @@ LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||||
SRC_URI = "file://80-udisks-rpi.rules"
|
SRC_URI = "file://80-udisks-rpi.rules"
|
||||||
|
|
||||||
|
S = "${UNPACKDIR}"
|
||||||
|
|
||||||
INHIBIT_DEFAULT_DEPS = "1"
|
INHIBIT_DEFAULT_DEPS = "1"
|
||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user