Permalink
Browse files

Now produces an error if you run make without sourcing setup.sh

  • Loading branch information...
1 parent e541495 commit b4e01f5064f8ad219b7b352bf87ab58f9958e935 @dhylands dhylands committed May 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 GNUmakefile
View
@@ -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.