Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
Tanguy Pruvot | 8a6c2c2 | 2012-04-28 00:24:09 +0200 | [diff] [blame] | 2 | BB_PATH := $(LOCAL_PATH) |
Koushik Dutta | 129a798 | 2011-11-16 18:27:02 -0800 | [diff] [blame] | 3 | |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 4 | # Bionic Branches Switches (GB/ICS/L) |
| 5 | BIONIC_ICS := false |
| 6 | BIONIC_L := true |
Tanguy Pruvot | 29d8ebe | 2011-10-29 15:15:34 +0200 | [diff] [blame] | 7 | |
Tanguy Pruvot | 36efc94 | 2011-11-20 14:41:41 +0100 | [diff] [blame] | 8 | # Make a static library for regex. |
| 9 | include $(CLEAR_VARS) |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 10 | LOCAL_SRC_FILES := android/regex/bb_regex.c |
Tanguy Pruvot | 8a6c2c2 | 2012-04-28 00:24:09 +0200 | [diff] [blame] | 11 | LOCAL_C_INCLUDES := $(BB_PATH)/android/regex |
Tanguy Pruvot | 6fef6a3 | 2012-05-05 15:26:43 +0200 | [diff] [blame] | 12 | LOCAL_CFLAGS := -Wno-sign-compare |
Tanguy Pruvot | 36efc94 | 2011-11-20 14:41:41 +0100 | [diff] [blame] | 13 | LOCAL_MODULE := libclearsilverregex |
| 14 | include $(BUILD_STATIC_LIBRARY) |
| 15 | |
Patrick Schaaf | 2dd59ef | 2012-02-27 22:27:31 +0100 | [diff] [blame] | 16 | # Make a static library for RPC library (coming from uClibc). |
| 17 | include $(CLEAR_VARS) |
Tanguy Pruvot | 8a6c2c2 | 2012-04-28 00:24:09 +0200 | [diff] [blame] | 18 | LOCAL_SRC_FILES := $(shell cat $(BB_PATH)/android/librpc.sources) |
| 19 | LOCAL_C_INCLUDES := $(BB_PATH)/android/librpc |
Patrick Schaaf | 2dd59ef | 2012-02-27 22:27:31 +0100 | [diff] [blame] | 20 | LOCAL_MODULE := libuclibcrpc |
Evan McClain | 6e205db | 2012-11-15 22:26:23 -0500 | [diff] [blame] | 21 | LOCAL_CFLAGS += -fno-strict-aliasing |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 22 | ifeq ($(BIONIC_L),true) |
| 23 | LOCAL_CFLAGS += -DBIONIC_ICS -DBIONIC_L |
| 24 | endif |
Patrick Schaaf | 2dd59ef | 2012-02-27 22:27:31 +0100 | [diff] [blame] | 25 | include $(BUILD_STATIC_LIBRARY) |
| 26 | |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 27 | ##################################################################### |
| 28 | |
| 29 | # Execute make prepare for normal config & static lib (recovery) |
Tanguy Pruvot | 29d8ebe | 2011-10-29 15:15:34 +0200 | [diff] [blame] | 30 | |
Tanguy Pruvot | 8a6c2c2 | 2012-04-28 00:24:09 +0200 | [diff] [blame] | 31 | LOCAL_PATH := $(BB_PATH) |
| 32 | include $(CLEAR_VARS) |
| 33 | |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 34 | BUSYBOX_CROSS_COMPILER_PREFIX := $(abspath $(TARGET_TOOLS_PREFIX)) |
| 35 | |
| 36 | BB_PREPARE_FLAGS:= |
| 37 | ifeq ($(HOST_OS),darwin) |
| 38 | BB_HOSTCC := $(ANDROID_BUILD_TOP)/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin/i686-apple-darwin11-gcc |
| 39 | BB_PREPARE_FLAGS := HOSTCC=$(BB_HOSTCC) |
Trevor Drake | 49ea11e | 2013-10-05 21:33:20 +0100 | [diff] [blame] | 40 | endif |
| 41 | |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 42 | # On aosp (master), path is relative, not on cm (kitkat) |
| 43 | bb_gen := $(abspath $(TARGET_OUT_INTERMEDIATES)/busybox) |
Tanguy Pruvot | 8a6c2c2 | 2012-04-28 00:24:09 +0200 | [diff] [blame] | 44 | |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 45 | busybox_prepare_full := $(bb_gen)/full/.config |
| 46 | $(busybox_prepare_full): $(BB_PATH)/busybox-full.config |
| 47 | @echo -e ${CL_YLW}"Prepare config for busybox binary"${CL_RST} |
| 48 | @rm -rf $(bb_gen)/full |
| 49 | @rm -f $(shell find $(abspath $(call intermediates-dir-for,EXECUTABLES,busybox)) -name "*.o") |
| 50 | @mkdir -p $(@D) |
| 51 | @cat $^ > $@ && echo "CONFIG_CROSS_COMPILER_PREFIX=\"$(BUSYBOX_CROSS_COMPILER_PREFIX)\"" >> $@ |
| 52 | +make -C $(BB_PATH) prepare O=$(@D) $(BB_PREPARE_FLAGS) |
Tanguy Pruvot | 8a6c2c2 | 2012-04-28 00:24:09 +0200 | [diff] [blame] | 53 | |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 54 | busybox_prepare_minimal := $(bb_gen)/minimal/.config |
| 55 | $(busybox_prepare_minimal): $(BB_PATH)/busybox-minimal.config |
| 56 | @echo -e ${CL_YLW}"Prepare config for libbusybox"${CL_RST} |
| 57 | @rm -rf $(bb_gen)/minimal |
| 58 | @rm -f $(shell find $(abspath $(call intermediates-dir-for,STATIC_LIBRARIES,libbusybox)) -name "*.o") |
| 59 | @mkdir -p $(@D) |
| 60 | @cat $^ > $@ && echo "CONFIG_CROSS_COMPILER_PREFIX=\"$(BUSYBOX_CROSS_COMPILER_PREFIX)\"" >> $@ |
| 61 | +make -C $(BB_PATH) prepare O=$(@D) $(BB_PREPARE_FLAGS) |
Tanguy Pruvot | b2ccaf3 | 2011-07-05 18:22:26 +0200 | [diff] [blame] | 62 | |
Trevor Drake | 49ea11e | 2013-10-05 21:33:20 +0100 | [diff] [blame] | 63 | |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 64 | ##################################################################### |
Tanguy Pruvot | b2ccaf3 | 2011-07-05 18:22:26 +0200 | [diff] [blame] | 65 | |
Tanguy Pruvot | 8a6c2c2 | 2012-04-28 00:24:09 +0200 | [diff] [blame] | 66 | LOCAL_PATH := $(BB_PATH) |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 67 | include $(CLEAR_VARS) |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 68 | |
Tanguy Pruvot | eba4519 | 2011-07-15 20:38:12 +0200 | [diff] [blame] | 69 | KERNEL_MODULES_DIR ?= /system/lib/modules |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 70 | |
Tanguy Pruvot | 8a6c2c2 | 2012-04-28 00:24:09 +0200 | [diff] [blame] | 71 | SUBMAKE := make -s -C $(BB_PATH) CC=$(CC) |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 72 | |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 73 | BUSYBOX_SRC_FILES = \ |
| 74 | $(shell cat $(BB_PATH)/busybox-$(BUSYBOX_CONFIG).sources) \ |
| 75 | android/libc/mktemp.c \ |
| 76 | android/libc/pty.c \ |
| 77 | android/android.c |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 78 | |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 79 | BUSYBOX_ASM_FILES = |
| 80 | ifneq ($(BIONIC_L),true) |
| 81 | BUSYBOX_ASM_FILES += swapon.S swapoff.S sysinfo.S |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 82 | endif |
| 83 | |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 84 | ifneq ($(filter arm x86 mips,$(TARGET_ARCH)),) |
| 85 | BUSYBOX_SRC_FILES += \ |
| 86 | $(addprefix android/libc/arch-$(TARGET_ARCH)/syscalls/,$(BUSYBOX_ASM_FILES)) |
Rocky Zhang | 8f997da | 2011-10-03 21:11:37 +0800 | [diff] [blame] | 87 | endif |
| 88 | |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 89 | BUSYBOX_C_INCLUDES = \ |
Tanguy Pruvot | 8a6c2c2 | 2012-04-28 00:24:09 +0200 | [diff] [blame] | 90 | $(BB_PATH)/include $(BB_PATH)/libbb \ |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 91 | bionic/libc/private \ |
| 92 | bionic/libm/include \ |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 93 | bionic/libc \ |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 94 | bionic/libm \ |
Tanguy Pruvot | 36efc94 | 2011-11-20 14:41:41 +0100 | [diff] [blame] | 95 | libc/kernel/common \ |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 96 | external/libselinux/include \ |
| 97 | external/selinux/libsepol/include \ |
Tanguy Pruvot | 8a6c2c2 | 2012-04-28 00:24:09 +0200 | [diff] [blame] | 98 | $(BB_PATH)/android/regex \ |
| 99 | $(BB_PATH)/android/librpc |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 100 | |
| 101 | BUSYBOX_CFLAGS = \ |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 102 | -Werror=implicit -Wno-clobbered \ |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 103 | -DNDEBUG \ |
Tanguy Pruvot | c81b2cf | 2011-07-04 10:18:25 +0200 | [diff] [blame] | 104 | -DANDROID \ |
Evan McClain | 6e205db | 2012-11-15 22:26:23 -0500 | [diff] [blame] | 105 | -fno-strict-aliasing \ |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 106 | -fno-builtin-stpcpy \ |
| 107 | -include $(bb_gen)/$(BUSYBOX_CONFIG)/include/autoconf.h \ |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 108 | -D'CONFIG_DEFAULT_MODULES_DIR="$(KERNEL_MODULES_DIR)"' \ |
| 109 | -D'BB_VER="$(strip $(shell $(SUBMAKE) kernelversion)) $(BUSYBOX_SUFFIX)"' -DBB_BT=AUTOCONF_TIMESTAMP |
| 110 | |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 111 | ifeq ($(BIONIC_L),true) |
| 112 | BUSYBOX_CFLAGS += -DBIONIC_L |
| 113 | BUSYBOX_AFLAGS += -DBIONIC_L |
| 114 | # include changes for ICS/JB/KK |
| 115 | BIONIC_ICS := true |
| 116 | endif |
| 117 | |
Tanguy Pruvot | 36efc94 | 2011-11-20 14:41:41 +0100 | [diff] [blame] | 118 | ifeq ($(BIONIC_ICS),true) |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 119 | BUSYBOX_CFLAGS += -DBIONIC_ICS |
Tanguy Pruvot | 36efc94 | 2011-11-20 14:41:41 +0100 | [diff] [blame] | 120 | endif |
Tanguy Pruvot | 64baaf5 | 2011-07-04 09:41:45 +0200 | [diff] [blame] | 121 | |
Tanguy Pruvot | d0fce6d | 2011-07-04 04:46:06 +0200 | [diff] [blame] | 122 | |
| 123 | # Build the static lib for the recovery tool |
| 124 | |
Tanguy Pruvot | d0fce6d | 2011-07-04 04:46:06 +0200 | [diff] [blame] | 125 | BUSYBOX_CONFIG:=minimal |
| 126 | BUSYBOX_SUFFIX:=static |
| 127 | LOCAL_SRC_FILES := $(BUSYBOX_SRC_FILES) |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 128 | LOCAL_C_INCLUDES := $(bb_gen)/minimal/include $(BUSYBOX_C_INCLUDES) |
Tanguy Pruvot | d0fce6d | 2011-07-04 04:46:06 +0200 | [diff] [blame] | 129 | LOCAL_CFLAGS := -Dmain=busybox_driver $(BUSYBOX_CFLAGS) |
| 130 | LOCAL_CFLAGS += \ |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 131 | -DRECOVERY_VERSION \ |
Tanguy Pruvot | d0fce6d | 2011-07-04 04:46:06 +0200 | [diff] [blame] | 132 | -Dgetusershell=busybox_getusershell \ |
| 133 | -Dsetusershell=busybox_setusershell \ |
| 134 | -Dendusershell=busybox_endusershell \ |
Tanguy Pruvot | d0fce6d | 2011-07-04 04:46:06 +0200 | [diff] [blame] | 135 | -Dgetmntent=busybox_getmntent \ |
| 136 | -Dgetmntent_r=busybox_getmntent_r \ |
| 137 | -Dgenerate_uuid=busybox_generate_uuid |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 138 | LOCAL_ASFLAGS := $(BUSYBOX_AFLAGS) |
Tanguy Pruvot | d0fce6d | 2011-07-04 04:46:06 +0200 | [diff] [blame] | 139 | LOCAL_MODULE := libbusybox |
Tanguy Pruvot | 8a6c2c2 | 2012-04-28 00:24:09 +0200 | [diff] [blame] | 140 | LOCAL_MODULE_TAGS := eng debug |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 141 | LOCAL_STATIC_LIBRARIES := libcutils libc libm libselinux |
| 142 | LOCAL_ADDITIONAL_DEPENDENCIES := $(busybox_prepare_minimal) |
Tanguy Pruvot | d0fce6d | 2011-07-04 04:46:06 +0200 | [diff] [blame] | 143 | include $(BUILD_STATIC_LIBRARY) |
| 144 | |
| 145 | |
| 146 | # Bionic Busybox /system/xbin |
| 147 | |
Tanguy Pruvot | 8a6c2c2 | 2012-04-28 00:24:09 +0200 | [diff] [blame] | 148 | LOCAL_PATH := $(BB_PATH) |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 149 | include $(CLEAR_VARS) |
Tanguy Pruvot | 8a6c2c2 | 2012-04-28 00:24:09 +0200 | [diff] [blame] | 150 | |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 151 | BUSYBOX_CONFIG:=full |
| 152 | BUSYBOX_SUFFIX:=bionic |
Tanguy Pruvot | 36efc94 | 2011-11-20 14:41:41 +0100 | [diff] [blame] | 153 | LOCAL_SRC_FILES := $(BUSYBOX_SRC_FILES) |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 154 | LOCAL_C_INCLUDES := $(bb_gen)/full/include $(BUSYBOX_C_INCLUDES) |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 155 | LOCAL_CFLAGS := $(BUSYBOX_CFLAGS) |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 156 | LOCAL_ASFLAGS := $(BUSYBOX_AFLAGS) |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 157 | LOCAL_MODULE := busybox |
Tanguy Pruvot | 8a6c2c2 | 2012-04-28 00:24:09 +0200 | [diff] [blame] | 158 | LOCAL_MODULE_TAGS := eng debug |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 159 | LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) |
Tanguy Pruvot | 36efc94 | 2011-11-20 14:41:41 +0100 | [diff] [blame] | 160 | LOCAL_SHARED_LIBRARIES := libc libcutils libm |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 161 | LOCAL_STATIC_LIBRARIES := libclearsilverregex libuclibcrpc libselinux |
| 162 | LOCAL_ADDITIONAL_DEPENDENCIES := $(busybox_prepare_full) |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 163 | include $(BUILD_EXECUTABLE) |
| 164 | |
Tanguy Pruvot | 8a6c2c2 | 2012-04-28 00:24:09 +0200 | [diff] [blame] | 165 | BUSYBOX_LINKS := $(shell cat $(BB_PATH)/busybox-$(BUSYBOX_CONFIG).links) |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 166 | # nc is provided by external/netcat |
| 167 | exclude := nc |
| 168 | SYMLINKS := $(addprefix $(TARGET_OUT_OPTIONAL_EXECUTABLES)/,$(filter-out $(exclude),$(notdir $(BUSYBOX_LINKS)))) |
| 169 | $(SYMLINKS): BUSYBOX_BINARY := $(LOCAL_MODULE) |
| 170 | $(SYMLINKS): $(LOCAL_INSTALLED_MODULE) |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 171 | @echo -e ${CL_CYN}"Symlink:"${CL_RST}" $@ -> $(BUSYBOX_BINARY)" |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 172 | @mkdir -p $(dir $@) |
| 173 | @rm -rf $@ |
| 174 | $(hide) ln -sf $(BUSYBOX_BINARY) $@ |
| 175 | |
| 176 | ALL_DEFAULT_INSTALLED_MODULES += $(SYMLINKS) |
| 177 | |
| 178 | # We need this so that the installed files could be picked up based on the |
| 179 | # local module name |
| 180 | ALL_MODULES.$(LOCAL_MODULE).INSTALLED := \ |
| 181 | $(ALL_MODULES.$(LOCAL_MODULE).INSTALLED) $(SYMLINKS) |
| 182 | |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 183 | |
codeworkx | 258ba0c | 2011-09-08 21:25:43 +0200 | [diff] [blame] | 184 | # Static Busybox |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 185 | |
Tanguy Pruvot | 8a6c2c2 | 2012-04-28 00:24:09 +0200 | [diff] [blame] | 186 | LOCAL_PATH := $(BB_PATH) |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 187 | include $(CLEAR_VARS) |
Tanguy Pruvot | 8a6c2c2 | 2012-04-28 00:24:09 +0200 | [diff] [blame] | 188 | |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 189 | BUSYBOX_CONFIG:=full |
| 190 | BUSYBOX_SUFFIX:=static |
| 191 | LOCAL_SRC_FILES := $(BUSYBOX_SRC_FILES) |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 192 | LOCAL_C_INCLUDES := $(bb_gen)/full/include $(BUSYBOX_C_INCLUDES) |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 193 | LOCAL_CFLAGS := $(BUSYBOX_CFLAGS) |
| 194 | LOCAL_CFLAGS += \ |
| 195 | -Dgetusershell=busybox_getusershell \ |
| 196 | -Dsetusershell=busybox_setusershell \ |
| 197 | -Dendusershell=busybox_endusershell \ |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 198 | -Dgetmntent=busybox_getmntent \ |
| 199 | -Dgetmntent_r=busybox_getmntent_r \ |
| 200 | -Dgenerate_uuid=busybox_generate_uuid |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 201 | LOCAL_ASFLAGS := $(BUSYBOX_AFLAGS) |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 202 | LOCAL_FORCE_STATIC_EXECUTABLE := true |
Tanguy Pruvot | 985c411 | 2011-10-10 21:28:29 +0200 | [diff] [blame] | 203 | LOCAL_MODULE := static_busybox |
Tanguy Pruvot | 8a6c2c2 | 2012-04-28 00:24:09 +0200 | [diff] [blame] | 204 | LOCAL_MODULE_STEM := busybox |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 205 | LOCAL_MODULE_TAGS := optional |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 206 | LOCAL_STATIC_LIBRARIES := libclearsilverregex libc libcutils libm libuclibcrpc libselinux |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 207 | LOCAL_MODULE_CLASS := UTILITY_EXECUTABLES |
codeworkx | 258ba0c | 2011-09-08 21:25:43 +0200 | [diff] [blame] | 208 | LOCAL_MODULE_PATH := $(PRODUCT_OUT)/utilities |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 209 | LOCAL_UNSTRIPPED_PATH := $(PRODUCT_OUT)/symbols/utilities |
Tanguy Pruvot | 985c411 | 2011-10-10 21:28:29 +0200 | [diff] [blame] | 210 | $(LOCAL_MODULE): busybox_prepare |
Iftekhar Rifat | cd3f398 | 2015-10-08 20:03:22 +0600 | [diff] [blame] | 211 | LOCAL_PACK_MODULE_RELOCATIONS := false |
maxwen | 27116ba | 2015-08-14 21:41:28 +0200 | [diff] [blame] | 212 | LOCAL_ADDITIONAL_DEPENDENCIES := $(busybox_prepare_full) |
Tanguy Pruvot | 8aeb371 | 2011-06-30 08:59:26 +0200 | [diff] [blame] | 213 | include $(BUILD_EXECUTABLE) |