summaryrefslogtreecommitdiffstats
path: root/self-extractors/root
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
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')
-rw-r--r--self-extractors/root/BoardConfigVendor.mk14
-rw-r--r--self-extractors/root/device-vendor.mk14
2 files changed, 16 insertions, 12 deletions
diff --git a/self-extractors/root/BoardConfigVendor.mk b/self-extractors/root/BoardConfigVendor.mk
index 9698fd5..34558d9 100644
--- a/self-extractors/root/BoardConfigVendor.mk
+++ b/self-extractors/root/BoardConfigVendor.mk
@@ -12,9 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
--include vendor/akm/crespo/BoardConfigCrespo.mk
--include vendor/broadcom/crespo/BoardConfigCrespo.mk
--include vendor/cypress/crespo/BoardConfigCrespo.mk
--include vendor/imgtec/crespo/BoardConfigCrespo.mk
--include vendor/nxp/crespo/BoardConfigCrespo.mk
--include vendor/samsung/crespo/BoardConfigCrespo.mk
+LOCAL_STEM := crespo/BoardConfigCrespo.mk
+
+-include vendor/akm/$(LOCAL_STEM)
+-include vendor/broadcom/$(LOCAL_STEM)
+-include vendor/cypress/$(LOCAL_STEM)
+-include vendor/imgtec/$(LOCAL_STEM)
+-include vendor/nxp/$(LOCAL_STEM)
+-include vendor/samsung/$(LOCAL_STEM)
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))