summaryrefslogtreecommitdiffstats
path: root/self-extractors/root/device-vendor.mk
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2011-06-28 10:17:36 -0700
committerJean-Baptiste Queru <jbq@google.com>2011-06-28 10:17:36 -0700
commit96dc76a4872fc66f71284c0c3fa3f7e5d753ebcf (patch)
tree81f1b7001e5779a88209043c148902c48b99c6ef /self-extractors/root/device-vendor.mk
parent74780c1a6f47ef53a297caa32e7e963dfd730b7b (diff)
downloaddevice_samsung_crespo-96dc76a4872fc66f71284c0c3fa3f7e5d753ebcf.zip
device_samsung_crespo-96dc76a4872fc66f71284c0c3fa3f7e5d753ebcf.tar.gz
device_samsung_crespo-96dc76a4872fc66f71284c0c3fa3f7e5d753ebcf.tar.bz2
Tweaks to make crespo and crespo4g closer
Mostly, those are about adding a layer of indirection so that the irrelevant differences are trivial to spot and only the complex ones remain. Change-Id: Ia370ffe0c88713c332d246d3ede75734d96be3fc
Diffstat (limited to 'self-extractors/root/device-vendor.mk')
-rw-r--r--self-extractors/root/device-vendor.mk14
1 files changed, 8 insertions, 6 deletions
diff --git a/self-extractors/root/device-vendor.mk b/self-extractors/root/device-vendor.mk
index 6e9affc..f941d11 100644
--- a/self-extractors/root/device-vendor.mk
+++ b/self-extractors/root/device-vendor.mk
@@ -12,9 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-$(call inherit-product-if-exists, vendor/akm/crespo/device-crespo.mk)
-$(call inherit-product-if-exists, vendor/broadcom/crespo/device-crespo.mk)
-$(call inherit-product-if-exists, vendor/cypress/crespo/device-crespo.mk)
-$(call inherit-product-if-exists, vendor/imgtec/crespo/device-crespo.mk)
-$(call inherit-product-if-exists, vendor/nxp/crespo/device-crespo.mk)
-$(call inherit-product-if-exists, vendor/samsung/crespo/device-crespo.mk)
+LOCAL_STEM := crespo/device-crespo.mk
+
+$(call inherit-product-if-exists, vendor/akm/$(LOCAL_STEM))
+$(call inherit-product-if-exists, vendor/broadcom/$(LOCAL_STEM))
+$(call inherit-product-if-exists, vendor/cypress/$(LOCAL_STEM))
+$(call inherit-product-if-exists, vendor/imgtec/$(LOCAL_STEM))
+$(call inherit-product-if-exists, vendor/nxp/$(LOCAL_STEM))
+$(call inherit-product-if-exists, vendor/samsung/$(LOCAL_STEM))