diff options
Diffstat (limited to 'self-extractors/nxp/staging')
-rw-r--r-- | self-extractors/nxp/staging/device-maguro.mk | 7 | ||||
-rw-r--r-- | self-extractors/nxp/staging/proprietary/Android.mk | 29 |
2 files changed, 31 insertions, 5 deletions
diff --git a/self-extractors/nxp/staging/device-maguro.mk b/self-extractors/nxp/staging/device-maguro.mk index 96ad6fc..94593f2 100644 --- a/self-extractors/nxp/staging/device-maguro.mk +++ b/self-extractors/nxp/staging/device-maguro.mk @@ -12,9 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -LOCAL_PATH := vendor/nxp/maguro - # NXP blob(s) necessary for Maguro hardware -PRODUCT_COPY_FILES := \ - $(LOCAL_PATH)/proprietary/libpn544_fw.so:system/vendor/firmware/libpn544_fw.so \ - +PRODUCT_PACKAGES := \ + libpn544_fw diff --git a/self-extractors/nxp/staging/proprietary/Android.mk b/self-extractors/nxp/staging/proprietary/Android.mk new file mode 100644 index 0000000..352c466 --- /dev/null +++ b/self-extractors/nxp/staging/proprietary/Android.mk @@ -0,0 +1,29 @@ +# Copyright (C) 2011 The Android Open Source 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. + +LOCAL_PATH := $(call my-dir) + +ifeq ($(TARGET_DEVICE),maguro) + +include $(CLEAR_VARS) +LOCAL_MODULE := libpn544_fw +LOCAL_MODULE_OWNER := nxp +LOCAL_SRC_FILES := libpn544_fw.so +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_SUFFIX := .so +LOCAL_MODULE_CLASS := SHARED_LIBRARIES +LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware +include $(BUILD_PREBUILT) + +endif |