kitakami-common: nfc: pn547: Use prebuilt NFC HAL from 15.1

Change-Id: I03a252ff820d5bd8dde8faac5fa293242aaef1f2
This commit is contained in:
jrior001 2018-08-31 20:49:48 -04:00 committed by TARKZiM
parent f74bd0acc5
commit 9e6dd1b2c9
5 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -217,7 +217,6 @@ PRODUCT_PACKAGES += \
android.hardware.nfc@1.0-impl \
com.android.nfc_extras \
NfcNci \
nfc_nci.msm8994 \
Tag
# OTG

View File

@ -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

View File

@ -0,0 +1,2 @@
-vendor/lib/hw/nfc_nci.msm8994.so|eead0fa43ab037228cce7446968cae03fef683c8
-vendor/lib64/hw/nfc_nci.msm8994.so|2ec9a6b86c0d1127344c44015576118b7de73a14

View File

@ -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!