From 6c2df3e98b418be3828f6732f4b75818304ad960 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Queru Date: Thu, 15 Jul 2010 14:04:39 -0700 Subject: [PATCH] Add full_x86 product. By inheriting from full, this will be more self-maintaining, and automatically gets a better-configured variant (e.g. it has locales, a date format, etc...). Change-Id: I67b6c2d9f9b7d20cb89154906c3f3d6a5391c838 --- envsetup.sh | 2 +- target/product/AndroidProducts.mk | 1 + target/product/full_x86.mk | 34 +++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 target/product/full_x86.mk diff --git a/envsetup.sh b/envsetup.sh index c0d17a0b11..202e6c25fe 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -433,7 +433,7 @@ function add_lunch_combo() # add the default one here add_lunch_combo full-eng -add_lunch_combo generic_x86-eng +add_lunch_combo full_x86-eng # if we're on linux, add the simulator. There is a special case # in lunch to deal with the simulator diff --git a/target/product/AndroidProducts.mk b/target/product/AndroidProducts.mk index 9a91da916c..89b37e075c 100644 --- a/target/product/AndroidProducts.mk +++ b/target/product/AndroidProducts.mk @@ -36,6 +36,7 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/generic.mk \ $(LOCAL_DIR)/generic_x86.mk \ $(LOCAL_DIR)/full.mk \ + $(LOCAL_DIR)/full_x86.mk \ $(LOCAL_DIR)/sdk.mk \ $(LOCAL_DIR)/sim.mk endif diff --git a/target/product/full_x86.mk b/target/product/full_x86.mk new file mode 100644 index 0000000000..affdc13917 --- /dev/null +++ b/target/product/full_x86.mk @@ -0,0 +1,34 @@ +# +# 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 is a build configuration for a full-featured build of the +# Open-Source part of the tree. It's geared toward a US-centric +# x86 build, but all those aspects can be overridden +# in inherited configurations. + +# If running on an emulator or some other device that has a LAN connection +# that isn't a wifi connection. This will instruct init.rc to enable the +# network connection so that you can use it with ADB +ifdef NET_ETH0_STARTONBOOT + PRODUCT_PROPERTY_OVERRIDES += net.eth0.startonboot=1 +endif + +$(call inherit-product, build/target/product/full.mk) + +# Overrides +PRODUCT_NAME := full_x86 +PRODUCT_DEVICE := generic_x86 +PRODUCT_MODEL := Full Android x86