diff --git a/envsetup.sh b/envsetup.sh index c0d17a0b1..202e6c25f 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 9a91da916..89b37e075 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 000000000..affdc1391 --- /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