revive the TINY_ANDROID build option

- update core/main.mk to include the right top-level directories
- disable tasks/apicheck.mk in TINY_ANDROID builds to prevent failure
diff --git a/core/main.mk b/core/main.mk
index 2388247..65035c2 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -302,11 +302,18 @@
 INTERNAL_DEFAULT_DOCS_TARGETS := 
 
 subdirs := \
+	bionic \
 	system/core \
-	external/zlib \
-	build/tools \
-	tools/kcm \
-	external/yaffs2
+	build/libs \
+	build/target \
+	build/tools/acp \
+	build/tools/apriori \
+	build/tools/kcm \
+	build/tools/soslim \
+	external/elfcopy \
+	external/elfutils \
+	external/yaffs2 \
+	external/zlib
 else	# !BUILD_TINY_ANDROID
 
 #
diff --git a/core/tasks/apicheck.mk b/core/tasks/apicheck.mk
index 3ba5fb7..11c78a9 100644
--- a/core/tasks/apicheck.mk
+++ b/core/tasks/apicheck.mk
@@ -17,6 +17,8 @@
 # api compatibility or added apis illegally.
 #
 
+ifneq ($(BUILD_TINY_ANDROID), true)
+
 .PHONY: checkapi
 
 # eval this to define a rule that runs apicheck.
@@ -70,3 +72,4 @@
 	@echo Copying current.xml
 	$(hide) $(ACP) $(INTERNAL_PLATFORM_API_FILE) $(BUILD_SYSTEM)/api/current.xml
 
+endif