summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb
diff options
context:
space:
mode:
authorPaul Barker <pbarker@toganlabs.com>2018-04-16 20:44:51 +0000
committerAndrei Gherzan <andrei@gherzan.com>2018-04-23 14:08:04 +0100
commit9b2cbacb074786530c3c7eab70260c8f6de302bf (patch)
treeac02e6cb14b76eddd62d6d177f0b62b5722cd909 /recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb
parente059aaffdf8a83ab59bec7d26bd78291b5abee10 (diff)
downloadmeta-raspberrypi-9b2cbacb074786530c3c7eab70260c8f6de302bf.tar.gz
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 <pbarker@toganlabs.com>
Diffstat (limited to 'recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb')
-rw-r--r--recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb4
1 files changed, 3 insertions, 1 deletions
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$"
5 5
6DEPENDS = "u-boot-mkimage-native" 6DEPENDS = "u-boot-mkimage-native"
7 7
8INHIBIT_DEFAULT_DEPS = "1"
9
8SRC_URI = "file://boot.cmd.in" 10SRC_URI = "file://boot.cmd.in"
9 11
10do_compile() { 12do_compile() {
@@ -14,7 +16,7 @@ do_compile() {
14 mkimage -A arm -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr 16 mkimage -A arm -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr
15} 17}
16 18
17inherit deploy 19inherit deploy nopackages
18 20
19do_deploy() { 21do_deploy() {
20 install -d ${DEPLOYDIR} 22 install -d ${DEPLOYDIR}