android_hardware_samsung/wifiloader/Android.mk
Andreas Schneider 2140f1ff68 Add wifiloader
This is needed on some Samsung device to load the wifi module. Before
this was solved using a bash script which does:

  cat /proc/deferred_initcalls

but the new sepolicy rules don't allow init execute bash scripts. For
this we need a new tool which does the job and we can create sepolicy
rule for it.

Change-Id: I137cfaaff74955ad431bc09d74b0c970618dc3bf
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-12-19 19:49:35 +01:00

18 lines
273 B
Makefile

ifeq ($(BOARD_HAVE_SAMSUNG_WIFI),true)
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
wifiloader.c
LOCAL_SHARED_LIBRARIES := \
liblog libutils
LOCAL_MODULE := wifiloader
LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)
endif