diff options
Diffstat (limited to 'meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb')
-rw-r--r-- | meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb index d2680b4578..63e31e90cc 100644 --- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb +++ b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb | |||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = " \ | |||
7 | file://${COMMON_LICENSE_DIR}/BSD-2-Clause;md5=cb641bc04cda31daea161b1bc15da69f \ | 7 | file://${COMMON_LICENSE_DIR}/BSD-2-Clause;md5=cb641bc04cda31daea161b1bc15da69f \ |
8 | file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \ | 8 | file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \ |
9 | " | 9 | " |
10 | DEPENDS = "libbsd libpcre zlib libcap libusb squashfs-tools p7zip libselinux googletest" | 10 | DEPENDS = "libbsd libpcre zlib libcap libusb squashfs-tools 7zip libselinux googletest" |
11 | 11 | ||
12 | SRCREV_core = "abfd66fafcbb691d7860df059f1df1c9b1ef29da" | 12 | SRCREV_core = "abfd66fafcbb691d7860df059f1df1c9b1ef29da" |
13 | 13 | ||
@@ -43,9 +43,9 @@ SRC_URI += " \ | |||
43 | 43 | ||
44 | # patches which don't come from debian | 44 | # patches which don't come from debian |
45 | SRC_URI += " \ | 45 | SRC_URI += " \ |
46 | file://rules_yocto.mk;subdir=git \ | 46 | file://rules_yocto.mk;subdir=${BB_GIT_DEFAULT_DESTSUFFIX} \ |
47 | file://android-tools-adbd.service \ | 47 | file://android-tools-adbd.service \ |
48 | file://adbd.mk;subdir=git/debian/system/core \ | 48 | file://adbd.mk;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/debian/system/core \ |
49 | file://remount \ | 49 | file://remount \ |
50 | file://0001-Fixes-for-yocto-build.patch \ | 50 | file://0001-Fixes-for-yocto-build.patch \ |
51 | file://0002-android-tools-modifications-to-make-it-build-in-yoct.patch \ | 51 | file://0002-android-tools-modifications-to-make-it-build-in-yoct.patch \ |
@@ -55,7 +55,6 @@ SRC_URI += " \ | |||
55 | file://0001-liblp-fix-building-with-GCC-14.patch \ | 55 | file://0001-liblp-fix-building-with-GCC-14.patch \ |
56 | " | 56 | " |
57 | 57 | ||
58 | S = "${WORKDIR}/git" | ||
59 | B = "${WORKDIR}/${BPN}" | 58 | B = "${WORKDIR}/${BPN}" |
60 | 59 | ||
61 | # http://errors.yoctoproject.org/Errors/Details/1debian881/ | 60 | # http://errors.yoctoproject.org/Errors/Details/1debian881/ |
@@ -168,7 +167,7 @@ do_install() { | |||
168 | 167 | ||
169 | PACKAGES =+ "${PN}-fstools ${PN}-adbd" | 168 | PACKAGES =+ "${PN}-fstools ${PN}-adbd" |
170 | 169 | ||
171 | RDEPENDS:${BPN} = "${BPN}-conf p7zip" | 170 | RDEPENDS:${BPN} = "${BPN}-conf 7zip" |
172 | 171 | ||
173 | FILES:${PN}-adbd = "\ | 172 | FILES:${PN}-adbd = "\ |
174 | ${bindir}/adbd \ | 173 | ${bindir}/adbd \ |
@@ -188,9 +187,3 @@ FILES:${PN}-fstools = "\ | |||
188 | FILES:${PN} += "${libdir}/android ${libdir}/android/*" | 187 | FILES:${PN} += "${libdir}/android ${libdir}/android/*" |
189 | 188 | ||
190 | BBCLASSEXTEND = "native" | 189 | BBCLASSEXTEND = "native" |
191 | |||
192 | android_tools_enable_devmode() { | ||
193 | touch ${IMAGE_ROOTFS}/etc/usb-debugging-enabled | ||
194 | } | ||
195 | |||
196 | ROOTFS_POSTPROCESS_COMMAND_${PN}-adbd += "${@bb.utils.contains("USB_DEBUGGING_ENABLED", "1", "android_tools_enable_devmode;", "", d)}" | ||