diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2011-12-28 14:02:49 -0800 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2011-12-29 14:26:24 -0800 |
commit | a10d8c21aa395af478a14331a5cef0912e70f0bb (patch) | |
tree | 8978cc8aa41611b83ca37d0d134addfcad848391 /self-extractors/csr | |
parent | 4d9b9c4dae90162a0952651e70ed97f14e525fe2 (diff) | |
download | device_samsung_maguro-a10d8c21aa395af478a14331a5cef0912e70f0bb.zip device_samsung_maguro-a10d8c21aa395af478a14331a5cef0912e70f0bb.tar.gz device_samsung_maguro-a10d8c21aa395af478a14331a5cef0912e70f0bb.tar.bz2 |
Improve makefiles of distributable packages
This takes the new restrictions into account, so that
the output from the self-extractors can be used with
full_maguro
Change-Id: I3e3b3614652ea8135414be994758b9fa25e8c44e
Diffstat (limited to 'self-extractors/csr')
-rw-r--r-- | self-extractors/csr/staging/device-maguro.mk | 9 | ||||
-rw-r--r-- | self-extractors/csr/staging/proprietary/Android.mk | 39 |
2 files changed, 42 insertions, 6 deletions
diff --git a/self-extractors/csr/staging/device-maguro.mk b/self-extractors/csr/staging/device-maguro.mk index de44d61..82da534 100644 --- a/self-extractors/csr/staging/device-maguro.mk +++ b/self-extractors/csr/staging/device-maguro.mk @@ -12,10 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -LOCAL_PATH := vendor/csr/maguro - # CSR blob(s) necessary for Maguro hardware -PRODUCT_COPY_FILES := \ - $(LOCAL_PATH)/proprietary/sirfgps.conf:system/vendor/etc/sirfgps.conf \ - $(LOCAL_PATH)/proprietary/gps.omap4.so:system/vendor/lib/hw/gps.omap4.so \ - +PRODUCT_PACKAGES := \ + sirfgps \ + gps.omap4 diff --git a/self-extractors/csr/staging/proprietary/Android.mk b/self-extractors/csr/staging/proprietary/Android.mk new file mode 100644 index 0000000..8083553 --- /dev/null +++ b/self-extractors/csr/staging/proprietary/Android.mk @@ -0,0 +1,39 @@ +# 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 := gps.omap4 +LOCAL_MODULE_OWNER := csr +LOCAL_SRC_FILES := gps.omap4.so +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_SUFFIX := .so +LOCAL_MODULE_CLASS := SHARED_LIBRARIES +LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/lib/hw +include $(BUILD_PREBUILT) + +include $(CLEAR_VARS) +LOCAL_MODULE := sirfgps +LOCAL_MODULE_OWNER := csr +LOCAL_SRC_FILES := sirfgps.conf +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_SUFFIX := .conf +LOCAL_MODULE_CLASS := ETC +LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/etc +include $(BUILD_PREBUILT) + +endif |