klte-common: Use passthrough manifest for all NFC chips

* And make a common nfc board stub while we're at it

Change-Id: I4ef9c69ebbff539924ba4dc10c8035521dbf5424
This commit is contained in:
Paul Keith 2018-04-10 21:35:32 +02:00
parent aadb44c0dc
commit d6249aa5b2
6 changed files with 23 additions and 15 deletions

View File

@ -15,4 +15,4 @@
#
# NFC
DEVICE_MANIFEST_FILE += $(COMMON_PATH)/nfc/manifest-hwbinder.xml
include $(COMMON_PATH)/nfc/board.mk

18
nfc/board.mk Normal file
View File

@ -0,0 +1,18 @@
#
# Copyright (C) 2018 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NFC
DEVICE_MANIFEST_FILE += $(COMMON_PATH)/nfc/manifest.xml

View File

@ -1,11 +0,0 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.nfc</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>INfc</name>
<instance>default</instance>
</interface>
</hal>
</manifest>

View File

@ -15,7 +15,8 @@
#
# NFC
include $(COMMON_PATH)/nfc/board.mk
# PN547 specific flags
BOARD_NFC_CHIPSET := pn547
BOARD_NFC_HAL_SUFFIX := msm8974
DEVICE_MANIFEST_FILE += $(COMMON_PATH)/nfc/manifest-passthrough.xml

View File

@ -15,4 +15,4 @@
#
# NFC
DEVICE_MANIFEST_FILE += $(COMMON_PATH)/nfc/manifest-passthrough.xml
include $(COMMON_PATH)/nfc/board.mk