summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/openembedded.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/openembedded.mk b/common/openembedded.mk
index bf691ce069..cf452cf721 100644
--- a/common/openembedded.mk
+++ b/common/openembedded.mk
@@ -25,6 +25,10 @@ distro: $(FIRMWARE_DEPS)
image: $(FIRMWARE_DEPS)
. ./setup-env; exec ${BITBAKE} $(DISTRO)-image
+# The default rule is to build the firmware in an unprotected environment.
+kernel: $(FIRMWARE_DEPS)
+ . ./setup-env; exec ${BITBAKE} virtual/kernel
+
# This rule clobbers the environment (note that ccache uses '$HOME' by
# default, so the cache will end up there).
distro-safe: