Skip to content

Commit

Permalink
Merge pull request #318 from dankm/dankm/unpackdir
Browse files Browse the repository at this point in the history
Fix issues with the UNPACKDIR transition
  • Loading branch information
otavio authored Dec 6, 2024
2 parents 4026001 + d576b2f commit 6772a93
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions recipes-bsp/broadcom-nvram-config/broadcom-nvram-config.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ SRC_URI = " \
file://LICENCE.broadcom_bcm43xx \
"

S = "${WORKDIR}"
S = "${UNPACKDIR}"
BRCM_FWDIR = "${nonarch_base_libdir}/firmware/brcm"
CHIP_MODEL ?= "Invalid"

do_install() {
install -d ${D}${BRCM_FWDIR}

cp -r ${WORKDIR}/brcmfmac${CHIP_MODEL}-sdio.txt \
cp -r ${UNPACKDIR}/brcmfmac${CHIP_MODEL}-sdio.txt \
${D}${BRCM_FWDIR}
}

Expand Down
2 changes: 1 addition & 1 deletion recipes-bsp/u-boot/u-boot-script-qoriq_2019.10.bb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ do_compile() {
kernel_devicetree="${kernel_devicetree_tmp}"
sed -e 's/@KERNEL_BOOTCMD[@]/${KERNEL_BOOTCMD}/' -e "s,@KERNEL_IMAGETYPE[@],${KERNEL_IMAGETYPE},g" \
-e "s,@KERNEL_DEVICETREE[@],${kernel_devicetree},g" \
"${WORKDIR}/boot.cmd.in" > ${B}/boot.cmd
"${UNPACKDIR}/boot.cmd.in" > ${B}/boot.cmd
target_arch="${TARGET_ARCH}"
test "${TARGET_ARCH}" = "aarch64" && target_arch="arm64"
mkimage -A ${target_arch} -T script -C none -n "Distro boot script" -d ${B}/boot.cmd ${B}/boot.scr
Expand Down
2 changes: 1 addition & 1 deletion recipes-bsp/u-boot/u-boot-script-toradex_2020.07.bb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ do_compile[noexec] = "1"
do_mkimage() {
sed -e 's/@@KERNEL_BOOTCMD@@/${KERNEL_BOOTCMD}/' \
-e 's/@@KERNEL_IMAGETYPE@@/${KERNEL_IMAGETYPE}/' \
"${WORKDIR}/boot.cmd.in" > ${B}/boot.cmd
"${UNPACKDIR}/boot.cmd.in" > ${B}/boot.cmd
mkimage -T script -C none -n "Distro boot script" -d ${B}/boot.cmd ${B}/boot.scr
}

Expand Down
4 changes: 2 additions & 2 deletions recipes-core/net-persistent-mac/net-persistent-mac.bb
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ SRC_URI = "file://init \

do_install () {
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/${PN}
install -m 0755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/${PN}

install -d ${D}${sysconfdir}/default
install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/${PN}
install -m 0644 ${UNPACKDIR}/default ${D}${sysconfdir}/default/${PN}
}

PACKAGE_ARCH = "${MACHINE_ARCH}"
2 changes: 1 addition & 1 deletion recipes-kernel/linux-firmware/linux-firmware_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SRC_URI:append:imx6qdl-variscite-som = "\
SRC_URI[TIInit_11.8.32.sha256sum] = "26ab0608e39fab95a6a55070c2f8364c92aad34442e8349abda71cee4da3277a"

do_install:append:imx6qdl-variscite-som() {
cp ${WORKDIR}/TIInit_11.8.32.bts ${D}${nonarch_base_libdir}/firmware/ti-connectivity/
cp ${UNPACKDIR}/TIInit_11.8.32.bts ${D}${nonarch_base_libdir}/firmware/ti-connectivity/
}

PACKAGE_ARCH:imx6qdl-variscite-som = "${MACHINE_ARCH}"
2 changes: 1 addition & 1 deletion recipes-kernel/linux/linux-fslc_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ SRC_URI:append:imx6qdl-variscite-som:use-mainline-bsp = " \
"

do_configure:prepend:imx6qdl-variscite-som() {
cp ${WORKDIR}/imx6*-var*.dts* ${S}/arch/arm/boot/dts
cp ${UNPACKDIR}/imx6*-var*.dts* ${S}/arch/arm/boot/dts
}

0 comments on commit 6772a93

Please sign in to comment.