Add FM radio compilation to click
Change-Id: I398d2b03e9eed3b9e420988da6101c35b097ad30
This commit is contained in:
parent
e5c6693d3d
commit
5e76bcdaf3
@ -33,11 +33,12 @@ TARGET_PREBUILT_KERNEL := device/htc/click/custom/kernel
|
||||
# Wifi related defines
|
||||
BOARD_WPA_SUPPLICANT_DRIVER := CUSTOM
|
||||
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := libWifiApi
|
||||
BOARD_WLAN_DEVICE := wl1251
|
||||
BOARD_WLAN_TI_STA_DK_ROOT := system/wlan/ti/sta_dk_4_0_4_32
|
||||
WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/wlan.ko"
|
||||
WIFI_DRIVER_MODULE_PATH := /system/lib/modules/wlan.ko
|
||||
WIFI_DRIVER_MODULE_ARG := ""
|
||||
WIFI_DRIVER_MODULE_NAME := "wlan"
|
||||
WIFI_FIRMWARE_LOADER := "wlan_loader"
|
||||
WIFI_DRIVER_MODULE_NAME := wlan
|
||||
WIFI_FIRMWARE_LOADER := wlan_loader
|
||||
|
||||
TARGET_PROVIDES_INIT_RC := false
|
||||
|
||||
@ -51,11 +52,10 @@ BOARD_USES_GENERIC_AUDIO := false
|
||||
|
||||
BOARD_USE_USB_MASS_STORAGE_SWITCH := true
|
||||
|
||||
# libsurfaceflinger to avoid Draw Texture Extension
|
||||
BOARD_AVOID_DRAW_TEXTURE_EXTENSION := true
|
||||
|
||||
BOARD_HAVE_BLUETOOTH := true
|
||||
|
||||
BOARD_AVOID_DRAW_TEXTURE_EXTENSION := true
|
||||
|
||||
BOARD_VENDOR_USE_AKMD := akm8973
|
||||
|
||||
BOARD_VENDOR_QCOM_AMSS_VERSION := 1355
|
||||
@ -71,6 +71,9 @@ BOARD_EGL_CFG := device/htc/click/custom/egl.cfg
|
||||
# No authoring clock for OpenCore
|
||||
# BOARD_NO_PV_AUTHORING_CLOCK := true
|
||||
|
||||
BOARD_HAVE_FM_RADIO := true
|
||||
BOARD_GLOBAL_CFLAGS += -DHAVE_FM_RADIO
|
||||
|
||||
BOARD_USES_QCOM_LIBS := true
|
||||
|
||||
BOARD_USES_GPSSHIM := true
|
||||
@ -81,6 +84,7 @@ TARGET_LIBAGL_USE_GRALLOC_COPYBITS := true
|
||||
|
||||
BOARD_NO_RGBX_8888 := true
|
||||
|
||||
WITH_DEXPREOPT := true
|
||||
JS_ENGINE := v8
|
||||
|
||||
TARGET_RELEASETOOLS_EXTENSIONS := device/htc/common
|
||||
|
20
click.mk
20
click.mk
@ -31,12 +31,27 @@ PRODUCT_PACKAGES += \
|
||||
libOmxCore \
|
||||
libmm-omxcore \
|
||||
libOmxVidEnc \
|
||||
wlan_loader \
|
||||
tiwlan.ini \
|
||||
libcamera \
|
||||
librpc \
|
||||
dhcpcd.conf
|
||||
|
||||
#WiFi stuff
|
||||
PRODUCT_PACKAGES += \
|
||||
wpa_supplicant.conf \
|
||||
tiwlan.ini \
|
||||
dhcpcd.conf \
|
||||
wlan_cu \
|
||||
wlan_loader \
|
||||
libCustomWifi
|
||||
|
||||
#HotSpot
|
||||
PRODUCT_PACKAGES += \
|
||||
tiap_loader \
|
||||
tiap_cu \
|
||||
tiwlan_ap.ini \
|
||||
hostap \
|
||||
hostapd.conf
|
||||
|
||||
# Add Gallery 3D / Normal
|
||||
PRODUCT_PACKAGES += Gallery
|
||||
|
||||
@ -65,7 +80,6 @@ PRODUCT_COPY_FILES += \
|
||||
|
||||
# extra etc config files
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/click/custom/10calibrate_screen:system/etc/init.d/10calibrate_screen \
|
||||
device/htc/click/custom/sysctl.conf:system/etc/sysctl.conf
|
||||
|
||||
# precompiled files for /system/bin
|
||||
|
@ -1,15 +0,0 @@
|
||||
#!/system/bin/sh
|
||||
|
||||
SETTINGSDB=/data/data/com.android.providers.settings/databases/settings.db
|
||||
if [ ! -f $SETTINGSDB ] ;
|
||||
then
|
||||
exit
|
||||
fi
|
||||
|
||||
CALIBRATION=`sqlite3 $SETTINGSDB "select value from system where name='calibration_points';"`
|
||||
if [ ! -z $CALIBRATION ] ;
|
||||
then
|
||||
echo ">>> Calibrating touch screen with calibration points: " $CALIBRATION
|
||||
echo $CALIBRATION > /sys/class/input/input1/calibration_points
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user