]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
Fix Makefile
authorMartin Vajnar <martin@martin-HP-ProBook-4330s.(none)>
Tue, 19 Nov 2013 21:33:24 +0000 (22:33 +0100)
committerMartin Vajnar <martin@martin-HP-ProBook-4330s.(none)>
Tue, 19 Nov 2013 21:33:24 +0000 (22:33 +0100)
openembedded/Makefile

index 9f67a35abd753d9db6efddbe943894f0b0409a3a..6fe60577d50c2290f70edafca2f236524d70e599 100644 (file)
@@ -3,9 +3,17 @@ all: gumstix toradex
 init:
        cd .. && git submodule update --init openembedded
        ln -sf ../bitbake openembedded-core/bitbake
-       rm -f meta-angstrom/recipes-core/systemd/systemd_206.bbappend
-       mv meta-angstrom/recipes-tweaks/connman/connman_1.17.bbappend meta-angstrom/recipes-tweaks/connman/connman_1.12.bbappend
-       mv meta-toradex-community/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bbappend meta-toradex-community/recipes-bsp/u-boot/u-boot-fw-utils_2013.01.01.bbappend
+       if test -f meta-angstrom/recipes-core/systemd/systemd_206.bbappend; then \
+               rm -f meta-angstrom/recipes-core/systemd/systemd_206.bbappend; \
+       fi
+       if test -f meta-angstrom/recipes-tweaks/connman/connman_1.17.bbappend; then \
+               mv meta-angstrom/recipes-tweaks/connman/connman_1.17.bbappend \
+               meta-angstrom/recipes-tweaks/connman/connman_1.12.bbappend; \
+       fi
+       if test -f meta-toradex-community/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bbappend; then \
+               mv meta-toradex-community/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bbappend \
+               meta-toradex-community/recipes-bsp/u-boot/u-boot-fw-utils_2013.01.01.bbappend; \
+       fi
        if quilt unapplied; then quilt push -a; fi
 
 gumstix: init