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/broadcom | |
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/broadcom')
-rw-r--r-- | self-extractors/broadcom/staging/device-maguro.mk | 7 | ||||
-rw-r--r-- | self-extractors/broadcom/staging/proprietary/Android.mk | 29 |
2 files changed, 31 insertions, 5 deletions
diff --git a/self-extractors/broadcom/staging/device-maguro.mk b/self-extractors/broadcom/staging/device-maguro.mk index 414c0cf..118c94a 100644 --- a/self-extractors/broadcom/staging/device-maguro.mk +++ b/self-extractors/broadcom/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/broadcom/maguro - # Broadcom blob(s) necessary for Maguro hardware -PRODUCT_COPY_FILES := \ - $(LOCAL_PATH)/proprietary/bcm4330.hcd:system/vendor/firmware/bcm4330.hcd \ - +PRODUCT_PACKAGES := \ + bcm4330 diff --git a/self-extractors/broadcom/staging/proprietary/Android.mk b/self-extractors/broadcom/staging/proprietary/Android.mk new file mode 100644 index 0000000..888c48f --- /dev/null +++ b/self-extractors/broadcom/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 := bcm4330 +LOCAL_MODULE_OWNER := broadcom +LOCAL_SRC_FILES := bcm4330.hcd +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_SUFFIX := .hcd +LOCAL_MODULE_CLASS := ETC +LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware +include $(BUILD_PREBUILT) + +endif |