Merge pull request #413 from alperak/master

recipes: Switch away from S = WORKDIR and use UNPACKDIR instead of WO…
This commit is contained in:
Marek Belisko 2024-06-17 16:04:33 +02:00 committed by GitHub
commit a83a18e526
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 14 additions and 13 deletions

View File

@ -14,4 +14,4 @@ LAYERVERSION_sunxi = "1"
LAYERDEPENDS_sunxi = "core meta-python meta-arm" LAYERDEPENDS_sunxi = "core meta-python meta-arm"
LAYERSERIES_COMPAT_sunxi = "honister kirkstone langdale mickledore nanbield scarthgap" LAYERSERIES_COMPAT_sunxi = "styhead"

View File

@ -29,5 +29,5 @@ EXTRA_OEMAKE:append:sun50i = " BL31=${DEPLOY_DIR_IMAGE}/bl31.bin SCP=/dev/null"
do_compile:sun50i[depends] += "trusted-firmware-a:do_deploy" do_compile:sun50i[depends] += "trusted-firmware-a:do_deploy"
do_compile:append:sunxi() { do_compile:append:sunxi() {
${B}/tools/mkimage -C none -A arm -T script -d ${WORKDIR}/boot.cmd ${WORKDIR}/${UBOOT_ENV_BINARY} ${B}/tools/mkimage -C none -A arm -T script -d ${UNPACKDIR}/boot.cmd ${UNPACKDIR}/${UBOOT_ENV_BINARY}
} }

View File

@ -16,7 +16,7 @@ S = "${WORKDIR}/pyA20-${PV}"
inherit distutils3 inherit distutils3
do_compile:prepend() { do_compile:prepend() {
cp ${WORKDIR}/mapping.h ${S}/pyA20/gpio/mapping.h cp ${UNPACKDIR}/mapping.h ${S}/pyA20/gpio/mapping.h
} }
SRC_URI[md5sum] = "cab03b4931199804603d1074f6d8f48f" SRC_URI[md5sum] = "cab03b4931199804603d1074f6d8f48f"

View File

@ -20,7 +20,7 @@ CFLAGS += " -I${STAGING_INCDIR}/xorg "
do_install:append() { do_install:append() {
install -d ${D}${datadir}/X11/xorg.conf.d install -d ${D}${datadir}/X11/xorg.conf.d
install -m 0644 ${WORKDIR}/20-fbturbo.conf ${D}${datadir}/X11/xorg.conf.d install -m 0644 ${UNPACKDIR}/20-fbturbo.conf ${D}${datadir}/X11/xorg.conf.d
} }
FILES:${PN} += "${datadir}/X11/xorg.conf.d/20-fbturbo.conf" FILES:${PN} += "${datadir}/X11/xorg.conf.d/20-fbturbo.conf"

View File

@ -45,8 +45,8 @@ do_configure:prepend() {
# #
# logo support, if you supply logo_linux_clut224.ppm in SRC_URI, then it's going to be used # logo support, if you supply logo_linux_clut224.ppm in SRC_URI, then it's going to be used
# #
if [ -e ${WORKDIR}/logo_linux_clut224.ppm ]; then if [ -e ${UNPACKDIR}/logo_linux_clut224.ppm ]; then
install -m 0644 ${WORKDIR}/logo_linux_clut224.ppm drivers/video/logo/logo_linux_clut224.ppm install -m 0644 ${UNPACKDIR}/logo_linux_clut224.ppm drivers/video/logo/logo_linux_clut224.ppm
kernel_conf_variable LOGO y kernel_conf_variable LOGO y
kernel_conf_variable LOGO_LINUX_CLUT224 y kernel_conf_variable LOGO_LINUX_CLUT224 y
fi fi

View File

@ -2,7 +2,8 @@ DESCRIPTION = "UWE5622 Wifi firmware"
LICENSE = "CC0-1.0" LICENSE = "CC0-1.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=0ceb3372c9595f0a8067e55da801e4a1" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=0ceb3372c9595f0a8067e55da801e4a1"
S = "${WORKDIR}" S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
COMPATIBLE_MACHINE = "(orange-pi-zero2|orange-pi-3lts)" COMPATIBLE_MACHINE = "(orange-pi-zero2|orange-pi-3lts)"