avoid rebuilding when making linuxstandalone on stage2 on armel

This commit is contained in:
Joey Hess 2013-12-18 22:33:12 -04:00
parent ad5c4bb064
commit c003d3e441

View file

@ -102,8 +102,8 @@ hackage: sdist
LINUXSTANDALONE_DEST=tmp/git-annex.linux LINUXSTANDALONE_DEST=tmp/git-annex.linux
linuxstandalone: Build/Standalone linuxstandalone: Build/Standalone
$(MAKE) git-annex $(MAKE) git-annex linuxstandalone-nobuild
linuxstandalone-nobuild:
rm -rf "$(LINUXSTANDALONE_DEST)" rm -rf "$(LINUXSTANDALONE_DEST)"
mkdir -p tmp mkdir -p tmp
cp -R standalone/linux "$(LINUXSTANDALONE_DEST)" cp -R standalone/linux "$(LINUXSTANDALONE_DEST)"
@ -222,7 +222,7 @@ no-th-webapp-stage2:
cd tmp/no-th-tree && cabal configure; \ cd tmp/no-th-tree && cabal configure; \
fi fi
cd tmp/no-th-tree && cabal build --ghc-option=-D__NO_TH__ cd tmp/no-th-tree && cabal build --ghc-option=-D__NO_TH__
cd tmp/no-th-tree && $(MAKE) linuxstandalone cd tmp/no-th-tree && $(MAKE) linuxstandalone-nobuild
ANDROID_FLAGS?= ANDROID_FLAGS?=
# Cross compile for Android. # Cross compile for Android.