klte-common: nfc: pn547: Use prebuilt NFC HAL from 15.1
Change-Id: I03a252ff820d5bd8dde8faac5fa293242aaef1f2
This commit is contained in:
parent
1d071d7d7b
commit
23bbc0212e
5 changed files with 7 additions and 3 deletions
1
common-proprietary-files-pn547.txt
Normal file
1
common-proprietary-files-pn547.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
-vendor/lib/hw/nfc_nci.msm8974.so|7dcb79a385dd1155cb9b6310a3e7b85b7dc8db13
|
|
@ -51,6 +51,7 @@ fi
|
||||||
setup_vendor "$DEVICE_COMMON" "$VENDOR" "$CM_ROOT" true
|
setup_vendor "$DEVICE_COMMON" "$VENDOR" "$CM_ROOT" true
|
||||||
|
|
||||||
extract "$MY_DIR"/common-proprietary-files.txt "$SRC"
|
extract "$MY_DIR"/common-proprietary-files.txt "$SRC"
|
||||||
|
extract "$MY_DIR"/common-proprietary-files-pn547.txt "$SRC"
|
||||||
|
|
||||||
COMMON_BLOB_ROOT="$CM_ROOT"/vendor/"$VENDOR"/"$DEVICE_COMMON"/proprietary
|
COMMON_BLOB_ROOT="$CM_ROOT"/vendor/"$VENDOR"/"$DEVICE_COMMON"/proprietary
|
||||||
|
|
||||||
|
|
|
@ -19,4 +19,3 @@ include $(COMMON_PATH)/nfc/board.mk
|
||||||
|
|
||||||
# PN547 specific flags
|
# PN547 specific flags
|
||||||
BOARD_NFC_CHIPSET := pn547
|
BOARD_NFC_CHIPSET := pn547
|
||||||
BOARD_NFC_HAL_SUFFIX := msm8974
|
|
||||||
|
|
|
@ -19,8 +19,7 @@ $(call inherit-product, device/samsung/klte-common/nfc/product.mk)
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.nfc@1.0-impl \
|
android.hardware.nfc@1.0-impl \
|
||||||
libpn547_fw \
|
libpn547_fw
|
||||||
nfc_nci.msm8974
|
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/samsung/klte-common/nfc/pn547/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf \
|
device/samsung/klte-common/nfc/pn547/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf \
|
||||||
|
|
|
@ -41,6 +41,10 @@ write_headers "klte klteactivexx kltechn kltechnduo klteduos kltedv kltekdi klte
|
||||||
|
|
||||||
write_makefiles "$MY_DIR"/common-proprietary-files.txt
|
write_makefiles "$MY_DIR"/common-proprietary-files.txt
|
||||||
|
|
||||||
|
echo "ifeq (\$(strip \$(BOARD_NFC_CHIPSET)),pn547)" >> "$ANDROIDMK"
|
||||||
|
write_makefiles "$MY_DIR"/common-proprietary-files-pn547.txt
|
||||||
|
echo "endif" >> "$ANDROIDMK"
|
||||||
|
|
||||||
write_footers
|
write_footers
|
||||||
|
|
||||||
if [ ! -z $VARIANT_COPYRIGHT_YEAR ]; then
|
if [ ! -z $VARIANT_COPYRIGHT_YEAR ]; then
|
||||||
|
|
Loading…
Reference in a new issue