diff --git a/android/config.go b/android/config.go
index 24fc522..9087d59 100644
--- a/android/config.go
+++ b/android/config.go
@@ -388,7 +388,12 @@ func NewConfig(srcDir, buildDir string, moduleListFile string, availableEnv map[
 	}
 
 	if strings.HasPrefix(absSrcDir, absBuildDir) {
-		return Config{}, fmt.Errorf("Build dir must not contain source directory")
+		// CBBA:PATCH
+		// With acceleration, we may reenter this routine a second
+		// time with '.' or '' as the original src or build
+		// directories, resulting in the absolute directories both
+		// being the pwd.  If this is the case, just bail out.
+		os.Exit(0)
 	}
 
 	// Load any configurable options from the configuration file
