summaryrefslogtreecommitdiff
authorTanguy Pruvot <tanguy.pruvot@gmail.com>2012-05-09 13:37:25 (GMT)
committer Tanguy Pruvot <tanguy.pruvot@gmail.com>2012-05-09 14:28:31 (GMT)
commit5ebcd53f375237075717a702897b16beafc08d87 (patch)
tree73ccc413af6e96caa0de53cda974ac1b316fdc47
parent17713c8a874655223d4b1c1d3c5517d619e1c957 (diff)
downloadbusybox-5ebcd53f375237075717a702897b16beafc08d87.zip
busybox-5ebcd53f375237075717a702897b16beafc08d87.tar.gz
busybox-5ebcd53f375237075717a702897b16beafc08d87.tar.bz2
Android.mk: obj/include-profile cleanup
Mark this as TODO, that require some changes in busybox Makefile This could confuse users doing manual builds in the repo. Change-Id: I0a83b9c41c17f6d2fd07b4483b99e7196c144c70
Diffstat
-rw-r--r--Android.mk12
1 files changed, 5 insertions, 7 deletions
diff --git a/Android.mk b/Android.mk
index fcefe56..3c0fd70 100644
--- a/Android.mk
+++ b/Android.mk
@@ -26,12 +26,13 @@ include $(CLEAR_VARS)
# Each profile require a compressed usage/config, outside the source tree for git history
# We keep the uncompressed headers in local include-<profile> to track config changes.
+# TODO: generate includes in out/
-BB_INCLUDES_OUT := $(TARGET_OUT_INTERMEDIATES)/include
-$(BB_INCLUDES_OUT):
- mkdir -p $(ANDROID_BUILD_TOP)/$(BB_INCLUDES_OUT)
+# BB_INCLUDES_OUT := $(TARGET_OUT_INTERMEDIATES)/include
+# $(BB_INCLUDES_OUT):
+# mkdir -p $(ANDROID_BUILD_TOP)/$(BB_INCLUDES_OUT)
-# Execute make clean, make prepare and copy profiles required for normal & static busybox (recovery)
+# Execute make clean, make prepare and copy profiles required for normal & static lib (recovery)
KERNEL_MODULES_DIR ?= /system/lib/modules
BUSYBOX_CONFIG := minimal full
@@ -44,8 +45,6 @@ $(BUSYBOX_CONFIG):
@#cp $(BB_PATH)/.config $(BB_PATH)/.config-$@
@mkdir -p $(BB_PATH)/include-$@
cp $(BB_PATH)/include/*.h $(BB_PATH)/include-$@/
- @mkdir -p $(BB_INCLUDES_OUT)/busybox-$@
- @cp $(BB_PATH)/include/*.h $(BB_INCLUDES_OUT)/busybox-$@/
@rm $(BB_PATH)/include/usage_compressed.h
@rm $(BB_PATH)/include/autoconf.h
@rm -f $(BB_PATH)/.config-old
@@ -87,7 +86,6 @@ ifeq ($(TARGET_ARCH),mips)
endif
BUSYBOX_C_INCLUDES = \
- $(BB_INCLUDES_OUT)/busybox-$(BUSYBOX_CONFIG) \
$(BB_PATH)/include-$(BUSYBOX_CONFIG) \
$(BB_PATH)/include $(BB_PATH)/libbb \
bionic/libc/private \