mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
Convert to new override syntax
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -27,9 +27,9 @@ do_install() {
|
||||
install -m 0644 ${WORKDIR}/10-adbd-configfs.conf ${D}${systemd_unitdir}/system/android-tools-adbd.service.d
|
||||
}
|
||||
|
||||
FILES_${PN} += " \
|
||||
FILES:${PN} += " \
|
||||
${systemd_unitdir}/system/ \
|
||||
"
|
||||
|
||||
PROVIDES += "android-tools-conf"
|
||||
RPROVIDES_${PN} = "android-tools-conf"
|
||||
RPROVIDES:${PN} = "android-tools-conf"
|
||||
|
||||
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = " \
|
||||
file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \
|
||||
"
|
||||
DEPENDS = "libbsd libpcre zlib libcap"
|
||||
DEPENDS_append_class-target = " openssl"
|
||||
DEPENDS:append:class-target = " openssl"
|
||||
|
||||
ANDROID_MIRROR = "android.googlesource.com"
|
||||
|
||||
@@ -58,27 +58,27 @@ S = "${WORKDIR}/git"
|
||||
B = "${WORKDIR}/${BPN}"
|
||||
|
||||
# http://errors.yoctoproject.org/Errors/Details/133881/
|
||||
ARM_INSTRUCTION_SET_armv4 = "arm"
|
||||
ARM_INSTRUCTION_SET_armv5 = "arm"
|
||||
ARM_INSTRUCTION_SET:armv4 = "arm"
|
||||
ARM_INSTRUCTION_SET:armv5 = "arm"
|
||||
|
||||
COMPATIBLE_HOST_powerpc = "(null)"
|
||||
COMPATIBLE_HOST_powerpc64 = "(null)"
|
||||
COMPATIBLE_HOST_powerpc64le = "(null)"
|
||||
COMPATIBLE_HOST:powerpc = "(null)"
|
||||
COMPATIBLE_HOST:powerpc64 = "(null)"
|
||||
COMPATIBLE_HOST:powerpc64le = "(null)"
|
||||
|
||||
inherit systemd
|
||||
|
||||
SYSTEMD_PACKAGES = "${PN}-adbd"
|
||||
SYSTEMD_SERVICE_${PN}-adbd = "android-tools-adbd.service"
|
||||
SYSTEMD_SERVICE:${PN}-adbd = "android-tools-adbd.service"
|
||||
|
||||
# Find libbsd headers during native builds
|
||||
CC_append_class-native = " -I${STAGING_INCDIR}"
|
||||
CC_append_class-nativesdk = " -I${STAGING_INCDIR}"
|
||||
CC:append:class-native = " -I${STAGING_INCDIR}"
|
||||
CC:append:class-nativesdk = " -I${STAGING_INCDIR}"
|
||||
|
||||
TOOLS = "adb fastboot ext4_utils mkbootimg adbd"
|
||||
|
||||
# Adb needs sys/capability.h, which is not available for native*
|
||||
TOOLS_class-native = "fastboot ext4_utils mkbootimg"
|
||||
TOOLS_class-nativesdk = "fastboot ext4_utils mkbootimg"
|
||||
TOOLS:class-native = "fastboot ext4_utils mkbootimg"
|
||||
TOOLS:class-nativesdk = "fastboot ext4_utils mkbootimg"
|
||||
|
||||
do_compile() {
|
||||
cp ${WORKDIR}/gitignore ${S}/.gitignore
|
||||
@@ -160,15 +160,15 @@ do_install() {
|
||||
|
||||
PACKAGES =+ "${PN}-fstools ${PN}-adbd"
|
||||
|
||||
RDEPENDS_${PN}-adbd = "${PN}-conf"
|
||||
RDEPENDS_${PN}-fstools = "bash"
|
||||
RDEPENDS:${PN}-adbd = "${PN}-conf"
|
||||
RDEPENDS:${PN}-fstools = "bash"
|
||||
|
||||
FILES_${PN}-adbd = "\
|
||||
FILES:${PN}-adbd = "\
|
||||
${bindir}/adbd \
|
||||
${systemd_unitdir}/system/android-tools-adbd.service \
|
||||
"
|
||||
|
||||
FILES_${PN}-fstools = "\
|
||||
FILES:${PN}-fstools = "\
|
||||
${bindir}/ext2simg \
|
||||
${bindir}/ext4fixup \
|
||||
${bindir}/img2simg \
|
||||
|
||||
Reference in New Issue
Block a user