mirror of
https://github.com/joel16/android_device_sony_kitakami-common.git
synced 2024-11-26 21:20:40 +00:00
kitakami-common: nfc: pn547: Use prebuilt NFC HAL from 15.1
Change-Id: I03a252ff820d5bd8dde8faac5fa293242aaef1f2
This commit is contained in:
parent
f74bd0acc5
commit
9e6dd1b2c9
@ -158,7 +158,6 @@ TARGET_PROVIDES_KEYMASTER := true
|
||||
# NFC
|
||||
NFC_NXP_CHIP_TYPE := PN547C2
|
||||
BOARD_NFC_CHIPSET := pn547
|
||||
BOARD_NFC_HAL_SUFFIX := $(TARGET_BOARD_PLATFORM)
|
||||
|
||||
# Qualcomm support
|
||||
BOARD_USES_QCOM_HARDWARE := true
|
||||
|
@ -217,7 +217,6 @@ PRODUCT_PACKAGES += \
|
||||
android.hardware.nfc@1.0-impl \
|
||||
com.android.nfc_extras \
|
||||
NfcNci \
|
||||
nfc_nci.msm8994 \
|
||||
Tag
|
||||
|
||||
# OTG
|
||||
|
@ -59,6 +59,7 @@ setup_vendor "$DEVICE_COMMON" "$VENDOR" "$CM_ROOT" true "$CLEAN_VENDOR"
|
||||
|
||||
extract "$MY_DIR"/proprietary-files.txt "$SRC" "$SECTION"
|
||||
extract "$MY_DIR"/proprietary-files-radio.txt "$SRC" "$SECTION"
|
||||
extract "$MY_DIR"/proprietary-files-pn547.txt "$SRC" "$SECTION"
|
||||
|
||||
if [ -s "$MY_DIR"/../$DEVICE/proprietary-files.txt ]; then
|
||||
# Reinitialize the helper for device
|
||||
|
2
proprietary-files-pn547.txt
Normal file
2
proprietary-files-pn547.txt
Normal file
@ -0,0 +1,2 @@
|
||||
-vendor/lib/hw/nfc_nci.msm8994.so|eead0fa43ab037228cce7446968cae03fef683c8
|
||||
-vendor/lib64/hw/nfc_nci.msm8994.so|2ec9a6b86c0d1127344c44015576118b7de73a14
|
@ -47,6 +47,10 @@ printf 'ifneq ($(BOARD_HAVE_RADIO),false)\n' >> "$PRODUCTMK"
|
||||
|
||||
write_makefiles "$MY_DIR"/proprietary-files-radio.txt
|
||||
|
||||
echo "ifeq (\$(strip \$(BOARD_NFC_CHIPSET)),pn547)" >> "$ANDROIDMK"
|
||||
write_makefiles "$MY_DIR"/proprietary-files-pn547.txt
|
||||
echo "endif" >> "$ANDROIDMK"
|
||||
|
||||
printf 'endif\n' >> "$PRODUCTMK"
|
||||
|
||||
# We are done!
|
||||
|
Loading…
Reference in New Issue
Block a user