From 9b2cbacb074786530c3c7eab70260c8f6de302bf Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Mon, 16 Apr 2018 20:44:51 +0000 Subject: Drop unnecessary dependencies and tasks We have a few recipes which only deploy files that go into the boot partition and do not create packages to be installed into the rootfs. These recipes don't need to run the usual packaging tasks so we can drop them to speed up the build a little. We also have a bunch of recipes that don't need the usual toolchain as they just copy files or invoke native commands like `mkimage`. So to speed up the build a little more we can set INHIBIT_DEFAULT_DEPS to avoid an unnecessary dependency on the toolchain. Signed-off-by: Paul Barker --- recipes-core/udev/udev-rules-rpi.bb | 2 ++ recipes-core/udev/udev-rules-udisks-rpi_1.0.bb | 2 ++ 2 files changed, 4 insertions(+) (limited to 'recipes-core') diff --git a/recipes-core/udev/udev-rules-rpi.bb b/recipes-core/udev/udev-rules-rpi.bb index 20443d3..b249d97 100644 --- a/recipes-core/udev/udev-rules-rpi.bb +++ b/recipes-core/udev/udev-rules-rpi.bb @@ -6,6 +6,8 @@ SRC_URI = " file://99-com.rules" S = "${WORKDIR}" +INHIBIT_DEFAULT_DEPS = "1" + do_install () { install -d ${D}${sysconfdir}/udev/rules.d install -m 0644 ${WORKDIR}/99-com.rules ${D}${sysconfdir}/udev/rules.d/ diff --git a/recipes-core/udev/udev-rules-udisks-rpi_1.0.bb b/recipes-core/udev/udev-rules-udisks-rpi_1.0.bb index a238f52..ae35521 100644 --- a/recipes-core/udev/udev-rules-udisks-rpi_1.0.bb +++ b/recipes-core/udev/udev-rules-udisks-rpi_1.0.bb @@ -3,6 +3,8 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" SRC_URI = "file://80-udisks-rpi.rules" +INHIBIT_DEFAULT_DEPS = "1" + do_install () { install -d ${D}${base_libdir}/udev/rules.d install -m 644 ${WORKDIR}/80-udisks-rpi.rules ${D}${base_libdir}/udev/rules.d -- cgit v1.2.3-54-g00ecf