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/samsung | |
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/samsung')
-rw-r--r-- | self-extractors/samsung/staging/device-maguro.mk | 11 | ||||
-rw-r--r-- | self-extractors/samsung/staging/proprietary/Android.mk | 48 |
2 files changed, 52 insertions, 7 deletions
diff --git a/self-extractors/samsung/staging/device-maguro.mk b/self-extractors/samsung/staging/device-maguro.mk index 718c496..3f1b7f5 100644 --- a/self-extractors/samsung/staging/device-maguro.mk +++ b/self-extractors/samsung/staging/device-maguro.mk @@ -12,11 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -LOCAL_PATH := vendor/samsung/maguro - # Samsung blob(s) necessary for Maguro hardware -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/proprietary/fRom:system/bin/fRom \ - $(LOCAL_PATH)/proprietary/libsecril-client.so:system/lib/libsecril-client.so \ - $(LOCAL_PATH)/proprietary/libsec-ril.so:system/vendor/lib/libsec-ril.so \ - +PRODUCT_PACKAGES := \ + fRom \ + libsec-ril \ + libsecril-client diff --git a/self-extractors/samsung/staging/proprietary/Android.mk b/self-extractors/samsung/staging/proprietary/Android.mk new file mode 100644 index 0000000..26c42bc --- /dev/null +++ b/self-extractors/samsung/staging/proprietary/Android.mk @@ -0,0 +1,48 @@ +# 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 := fRom +LOCAL_MODULE_OWNER := samsung +LOCAL_SRC_FILES := fRom +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_CLASS := EXECUTABLES +LOCAL_MODULE_PATH := $(TARGET_OUT)/bin +include $(BUILD_PREBUILT) + +include $(CLEAR_VARS) +LOCAL_MODULE := libsec-ril +LOCAL_MODULE_OWNER := samsung +LOCAL_SRC_FILES := libsec-ril.so +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_SUFFIX := .so +LOCAL_MODULE_CLASS := SHARED_LIBRARIES +LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/lib +include $(BUILD_PREBUILT) + +include $(CLEAR_VARS) +LOCAL_MODULE := libsecril-client +LOCAL_MODULE_OWNER := samsung +LOCAL_SRC_FILES := libsecril-client.so +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_SUFFIX := .so +LOCAL_MODULE_CLASS := SHARED_LIBRARIES +LOCAL_MODULE_PATH := $(TARGET_OUT)/lib +include $(BUILD_PREBUILT) + +endif |