diff --git a/nfc/bcm2079x/board.mk b/nfc/bcm2079x/board.mk index 8b83084..4c8a742 100644 --- a/nfc/bcm2079x/board.mk +++ b/nfc/bcm2079x/board.mk @@ -15,4 +15,4 @@ # # NFC -DEVICE_MANIFEST_FILE += $(COMMON_PATH)/nfc/manifest-hwbinder.xml +include $(COMMON_PATH)/nfc/board.mk diff --git a/nfc/board.mk b/nfc/board.mk new file mode 100644 index 0000000..8f7f475 --- /dev/null +++ b/nfc/board.mk @@ -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 diff --git a/nfc/manifest-hwbinder.xml b/nfc/manifest-hwbinder.xml deleted file mode 100644 index 4c4d7a1..0000000 --- a/nfc/manifest-hwbinder.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - android.hardware.nfc - hwbinder - 1.0 - - INfc - default - - - diff --git a/nfc/manifest-passthrough.xml b/nfc/manifest.xml similarity index 100% rename from nfc/manifest-passthrough.xml rename to nfc/manifest.xml diff --git a/nfc/pn547/board.mk b/nfc/pn547/board.mk index 046d76a..e52b1ab 100644 --- a/nfc/pn547/board.mk +++ b/nfc/pn547/board.mk @@ -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 diff --git a/nfc/s3fwrn5/board.mk b/nfc/s3fwrn5/board.mk index a7a7378..4c8a742 100644 --- a/nfc/s3fwrn5/board.mk +++ b/nfc/s3fwrn5/board.mk @@ -15,4 +15,4 @@ # # NFC -DEVICE_MANIFEST_FILE += $(COMMON_PATH)/nfc/manifest-passthrough.xml +include $(COMMON_PATH)/nfc/board.mk