]> rtime.felk.cvut.cz Git - eurobot/public.git/blobdiff - openembedded/Makefile
Compile console-image by defaut
[eurobot/public.git] / openembedded / Makefile
index 15bc42b37edda59bbb6250b7a90e3fe24a6755c9..2f429a63b92ff6ef5cf06246cecddb8d215acb5c 100644 (file)
@@ -1,14 +1,12 @@
 all: gumstix toradex
 
 init:
+       cd .. && git submodule update --init openembedded
        ln -sf ../bitbake openembedded-core/bitbake
-       quilt pop -a
-       quilt push -a
+       if quilt unapplied; then quilt push -a; fi
 
 gumstix: init
-       . openembedded-core/oe-init-build-env && \
-       MACHINE=overo bitbake core-image-minimal
+       bash -c ". openembedded-core/oe-init-build-env && MACHINE=overo bitbake console-image"
 
 toradex: init
-       . openembedded-core/oe-init-build-env && \
-       MACHINE=colibri-t20 bitbake core-image-minimal
+       bash -c ". openembedded-core/oe-init-build-env && MACHINE=colibri-t20 bitbake console-image"