mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-26 04:58:22 +01:00
Merge pull request #413 from alperak/master
recipes: Switch away from S = WORKDIR and use UNPACKDIR instead of WO…
This commit is contained in:
commit
a83a18e526
@ -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"
|
||||||
|
@ -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}
|
||||||
}
|
}
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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
|
||||||
|
@ -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)"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user