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-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb') diff --git a/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb b/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb index 3457300..0106ac3 100644 --- a/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb +++ b/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb @@ -5,6 +5,8 @@ COMPATIBLE_MACHINE = "^rpi$" DEPENDS = "u-boot-mkimage-native" +INHIBIT_DEFAULT_DEPS = "1" + SRC_URI = "file://boot.cmd.in" do_compile() { @@ -14,7 +16,7 @@ do_compile() { mkimage -A arm -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr } -inherit deploy +inherit deploy nopackages do_deploy() { install -d ${DEPLOYDIR} -- cgit v1.2.3-54-g00ecf