diff options
-rw-r--r-- | Android.mk | 28 | ||||
-rw-r--r-- | AndroidProducts.mk | 18 | ||||
-rw-r--r-- | BoardConfig.mk | 19 | ||||
-rw-r--r-- | device.mk | 24 | ||||
-rw-r--r-- | full_maguro.mk | 35 |
5 files changed, 124 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..b66f4ca --- /dev/null +++ b/Android.mk @@ -0,0 +1,28 @@ +# +# 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. +# + +# WARNING: Everything listed here will be built on ALL platforms, +# including x86, the emulator, and the SDK. Modules must be uniquely +# named (liblights.tuna), and must build everywhere, or limit themselves +# to only building on ARM if they include assembly. Individual makefiles +# are responsible for having their own logic, for fine-grained control. + +LOCAL_PATH := $(call my-dir) + +# if some modules are built directly from this directory (not subdirectories), +# their rules should be written here. + +include $(call all-makefiles-under,$(LOCAL_PATH)) diff --git a/AndroidProducts.mk b/AndroidProducts.mk new file mode 100644 index 0000000..90f9412 --- /dev/null +++ b/AndroidProducts.mk @@ -0,0 +1,18 @@ +# +# 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. +# + +PRODUCT_MAKEFILES := \ + $(LOCAL_DIR)/full_maguro.mk diff --git a/BoardConfig.mk b/BoardConfig.mk new file mode 100644 index 0000000..1a92e94 --- /dev/null +++ b/BoardConfig.mk @@ -0,0 +1,19 @@ +# 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. + +# Use the non-open-source part, if present +-include vendor/samsung/maguro/BoardConfigVendor.mk + +# Use the part that is common between all tunas +include device/samsung/tuna/BoardConfig.mk diff --git a/device.mk b/device.mk new file mode 100644 index 0000000..36ede3c --- /dev/null +++ b/device.mk @@ -0,0 +1,24 @@ +# 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. + +# This file includes all definitions that apply only to maguro devices +# +# Anything that is generic to all tuna products should go in the tuna directory +# +# Everything in this directory will become public + +DEVICE_PACKAGE_OVERLAYS := device/samsung/maguro/overlay + +$(call inherit-product, device/samsung/tuna/device.mk) +$(call inherit-product-if-exists, vendor/samsung/maguro/device-vendor.mk) diff --git a/full_maguro.mk b/full_maguro.mk new file mode 100644 index 0000000..a8fec56 --- /dev/null +++ b/full_maguro.mk @@ -0,0 +1,35 @@ +# 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. + +# +# This file is the build configuration for a full Android +# build for maguro hardware. This cleanly combines a set of +# device-specific aspects (drivers) with a device-agnostic +# product configuration (apps). Except for a few implementation +# details, it only fundamentally contains two inherit-product +# lines, full and maguro, hence its name. +# + +# Inherit from those products. Most specific first. +$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) +# This is where we'd set a backup provider if we had one +#$(call inherit-product, device/sample/products/backup_overlay.mk) +# Inherit from maguro device +$(call inherit-product, device/samsung/maguro/device.mk) + +# Set those variables here to overwrite the inherited values. +PRODUCT_NAME := full_maguro +PRODUCT_DEVICE := maguro +PRODUCT_BRAND := Android +PRODUCT_MODEL := Full AOSP on Maguro |