aosp_x86_64.mk revision 39b59502c7b253a43cab1d4a0583b49f2741a125
1#
2# Copyright 2013 The Android Open-Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17# This is a build configuration for a full-featured build of the
18# Open-Source part of the tree. It's geared toward a US-centric
19# build quite specifically for the emulator, and might not be
20# entirely appropriate to inherit from for on-device configurations.
21
22# If running on an emulator or some other device that has a LAN connection
23# that isn't a wifi connection. This will instruct init.rc to enable the
24# network connection so that you can use it with ADB
25
26# This is for enabling ethernet support for ranchu.
27# Consider removing this after RIL support is provided in ranchu.
28# Having this permission file on the target requires additional
29# dhcpcd_eth0 service defined in the init.ranchu.rc.
30PRODUCT_COPY_FILES += frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml
31
32$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
33$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
34$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86_64/device.mk)
35
36include $(SRC_TARGET_DIR)/product/emulator.mk
37
38ifdef NET_ETH0_STARTONBOOT
39  PRODUCT_PROPERTY_OVERRIDES += net.eth0.startonboot=1
40endif
41
42# Ensure we package the BIOS files too.
43PRODUCT_PACKAGES += \
44	bios.bin \
45	vgabios-cirrus.bin \
46
47# Overrides
48PRODUCT_NAME := aosp_x86_64
49PRODUCT_DEVICE := generic_x86_64
50PRODUCT_BRAND := Android
51PRODUCT_MODEL := AOSP on IA x86_64 Emulator
52