Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Now produces an error if you run make without sourcing setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dhylands committed May 7, 2012
1 parent e541495 commit b4e01f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GNUmakefile
@@ -1,5 +1,5 @@
ifneq ("$(SETUP_SH_SOURCED)","y")
$(error Must source setup.sh to use make directly)
ifeq ("$(ANDROID_BUILD_TOP)","")
$(error Must source setup.sh or build/envsetup.sh to use make directly)
else
include Makefile
endif

0 comments on commit b4e01f5

Please sign in to comment.