Android: Move hostapd to vendor partition

Move hostapd to /vendor/bin/ because it's only used by WIFI HAL.

Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
This commit is contained in:
Po-Chien Hsueh 2017-11-30 14:45:51 -08:00 committed by Jouni Malinen
parent 97302b39dc
commit ff28df739a
2 changed files with 3 additions and 1 deletions

View file

@ -1066,6 +1066,7 @@ endif
include $(CLEAR_VARS) include $(CLEAR_VARS)
LOCAL_MODULE := hostapd_cli LOCAL_MODULE := hostapd_cli
LOCAL_MODULE_TAGS := debug LOCAL_MODULE_TAGS := debug
LOCAL_PROPRIETARY_MODULE := true
LOCAL_SHARED_LIBRARIES := libc libcutils liblog LOCAL_SHARED_LIBRARIES := libc libcutils liblog
LOCAL_CFLAGS := $(L_CFLAGS) LOCAL_CFLAGS := $(L_CFLAGS)
LOCAL_SRC_FILES := $(OBJS_c) LOCAL_SRC_FILES := $(OBJS_c)
@ -1076,6 +1077,7 @@ include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS) include $(CLEAR_VARS)
LOCAL_MODULE := hostapd LOCAL_MODULE := hostapd
LOCAL_MODULE_TAGS := optional LOCAL_MODULE_TAGS := optional
LOCAL_PROPRIETARY_MODULE := true
ifdef CONFIG_DRIVER_CUSTOM ifdef CONFIG_DRIVER_CUSTOM
LOCAL_STATIC_LIBRARIES := libCustomWifi LOCAL_STATIC_LIBRARIES := libCustomWifi
endif endif

View file

@ -9,7 +9,7 @@
on post-fs-data on post-fs-data
mkdir /data/misc/wifi/hostapd 0770 wifi wifi mkdir /data/misc/wifi/hostapd 0770 wifi wifi
service hostapd /system/bin/hostapd \ service hostapd /vendor/bin/hostapd \
-e /data/misc/wifi/entropy.bin \ -e /data/misc/wifi/entropy.bin \
/data/misc/wifi/hostapd.conf /data/misc/wifi/hostapd.conf
class main class main