summaryrefslogtreecommitdiff
authorcodeworkx <daniel.hillenbrand@codeworkx.de>2011-09-08 19:25:43 (GMT)
committer codeworkx <daniel.hillenbrand@codeworkx.de>2011-09-08 19:25:43 (GMT)
commit258ba0cc3b2fb2be15c79ecafc8786de85a9fd85 (patch)
tree5c6807df761327b4e183d7b00a67be0a17e6e46b
parent77e1b512f9e8d6bf80993a929d1ce2024d53c53b (diff)
downloadbusybox-258ba0cc3b2fb2be15c79ecafc8786de85a9fd85.zip
busybox-258ba0cc3b2fb2be15c79ecafc8786de85a9fd85.tar.gz
busybox-258ba0cc3b2fb2be15c79ecafc8786de85a9fd85.tar.bz2
Add static busybox back
Used on a lot of samsung devices. We've no recovery partition and cannot make sure that all users using a specific base for installing cyanogenmod the first time. We're running a special updater shellscript which is doing a lot of shit using busybox. We prefer to have a static busybox in this case. Change-Id: I491919b869c0469ccb092b8085c7dab53dc72f20
Diffstat
-rw-r--r--Android.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/Android.mk b/Android.mk
index 9bca857..2d595fe 100644
--- a/Android.mk
+++ b/Android.mk
@@ -129,8 +129,7 @@ ALL_MODULES.$(LOCAL_MODULE).INSTALLED := \
$(ALL_MODULES.$(LOCAL_MODULE).INSTALLED) $(SYMLINKS)
-# Build a static busybox (sample, no more used)
-ifeq (1,0)
+# Static Busybox
include $(CLEAR_VARS)
BUSYBOX_CONFIG:=full
@@ -151,10 +150,7 @@ LOCAL_MODULE := bootmenu_busybox
LOCAL_MODULE_TAGS := optional
LOCAL_STATIC_LIBRARIES += libclearsilverregex libcutils libc libm
LOCAL_MODULE_CLASS := UTILITY_EXECUTABLES
-# LOCAL_MODULE_PATH := $(PRODUCT_OUT)/system/bootmenu/binary
+LOCAL_MODULE_PATH := $(PRODUCT_OUT)/utilities
LOCAL_UNSTRIPPED_PATH := $(PRODUCT_OUT)/symbols/utilities
LOCAL_MODULE_STEM := busybox
include $(BUILD_EXECUTABLE)
-
-endif
-