summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2010-03-10 12:09:18 -0800
committerJean-Baptiste Queru <jbq@google.com>2010-03-10 12:09:18 -0800
commite319ace6c85826cbc0e6b2c247892f6455d594d7 (patch)
treed62155b7658cb9be1c5b0eacfd23e381ecc041c7
parentd66a452e8d3196e6148bd289b0304d2b0318da47 (diff)
downloadsapphire-e319ace6c85826cbc0e6b2c247892f6455d594d7.tar.gz
Add generic_sapphire config
Change-Id: Ia3a5c45cf335513add5e587f0561c86300f0f1bd
-rw-r--r--AndroidProducts.mk21
-rw-r--r--generic_sapphire.mk28
2 files changed, 49 insertions, 0 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
new file mode 100644
index 0000000..4488cf6
--- /dev/null
+++ b/AndroidProducts.mk
@@ -0,0 +1,21 @@
+# Copyright (C) 2009 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.
+
+#
+# This file lists the product definition files that define
+# configurations which are actually buildable (e.g. through lunch)
+#
+
+PRODUCT_MAKEFILES := \
+ $(LOCAL_DIR)/generic_sapphire.mk
diff --git a/generic_sapphire.mk b/generic_sapphire.mk
new file mode 100644
index 0000000..d8f29e6
--- /dev/null
+++ b/generic_sapphire.mk
@@ -0,0 +1,28 @@
+# Copyright (C) 2009 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.
+
+#
+# This file is the build configuration for a generic Android
+# build for sapphire hardware. This cleanly combines a set of
+# device-specific aspects (drivers) with a device-agnostic
+# product configuration (apps).
+#
+
+# Inherit from those products. Most specific first.
+$(call inherit-product, device/htc/sapphire/device_sapphire_us.mk)
+$(call inherit-product, $(SRC_TARGET_DIR)/product/generic.mk)
+
+# Discard inherited values and use our own instead.
+PRODUCT_NAME := generic_sapphire
+PRODUCT_DEVICE := sapphire