Fixed the update-openembedded target so that it could handle multiple heads
authorRod Whitby <rod@whitby.id.au>
Sat, 9 Jul 2005 08:38:40 +0000 (08:38 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sat, 9 Jul 2005 08:38:40 +0000 (08:38 +0000)
Makefile

index 7d0b05c..302d404 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -77,10 +77,10 @@ update-bitbake: bitbake/bin/bitbake
 .PHONY: update-openembedded
 update-openembedded: openembedded/conf/machine/nslu2.conf
        monotone pull
-       ( cd openembedded ; monotone update )
        if [ `monotone automate heads org.openembedded.nslu2-linux | wc -l` != "1" ] ; then \
          monotone merge -b org.openembedded.nslu2-linux ; \
        fi
+       ( cd openembedded ; monotone update )
 
 .PHONY: update-oe-symlinks
 update-oe-symlinks: oe-symlinks/packages