device/generic/x86_64
Révision | 15377d48290c64c39e0835579294e80656180d0f (tree) |
---|---|
l'heure | 2015-04-03 04:00:10 |
Auteur | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
android_x86_64: lollipop-x86 porting
Based on android-5.0.0_r2.
@@ -1,5 +1,5 @@ | ||
1 | 1 | # |
2 | -# Copyright (C) 2014 The Android Open-Source Project | |
2 | +# Copyright (C) 2014 The Android-x86 Open Source Project | |
3 | 3 | # |
4 | 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
5 | 5 | # you may not use this file except in compliance with the License. |
@@ -15,4 +15,4 @@ | ||
15 | 15 | # |
16 | 16 | |
17 | 17 | PRODUCT_MAKEFILES := \ |
18 | - $(LOCAL_DIR)/mini_x86_64.mk | |
\ No newline at end of file | ||
18 | + $(LOCAL_DIR)/android_x86_64.mk |
@@ -1,11 +1,9 @@ | ||
1 | -# config.mk | |
2 | 1 | # |
3 | 2 | # Product-specific compile-time definitions. |
4 | 3 | # |
5 | 4 | |
6 | 5 | # The generic product target doesn't have any hardware-specific pieces. |
7 | 6 | TARGET_NO_BOOTLOADER := true |
8 | -TARGET_NO_KERNEL := true | |
9 | 7 | TARGET_CPU_ABI := x86_64 |
10 | 8 | TARGET_ARCH := x86_64 |
11 | 9 | TARGET_ARCH_VARIANT := x86_64 |
@@ -15,25 +13,17 @@ TARGET_2ND_CPU_ABI := x86 | ||
15 | 13 | TARGET_2ND_ARCH := x86 |
16 | 14 | TARGET_2ND_ARCH_VARIANT := x86 |
17 | 15 | |
18 | -TARGET_USES_64_BIT_BINDER := true | |
19 | - | |
20 | -SMALLER_FONT_FOOTPRINT := true | |
21 | -MINIMAL_FONT_FOOTPRINT := true | |
22 | -# Disable emulator for "make dist" until there is a 64-bit qemu kernel | |
23 | -BUILD_EMULATOR := false | |
24 | -# Some framework code requires this to enable BT | |
25 | -BOARD_HAVE_BLUETOOTH := true | |
26 | -BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth | |
27 | - | |
28 | -USE_OPENGL_RENDERER := true | |
16 | +TARGET_CPU_ABI_LIST_64_BIT := $(TARGET_CPU_ABI) $(TARGET_CPU_ABI2) $(NATIVE_BRIDGE_ABI_LIST_64_BIT) | |
17 | +TARGET_CPU_ABI_LIST_32_BIT := $(TARGET_2ND_CPU_ABI) $(TARGET_2ND_CPU_ABI2) $(NATIVE_BRIDGE_ABI_LIST_32_BIT) | |
18 | +TARGET_CPU_ABI_LIST := $(TARGET_CPU_ABI_LIST_64_BIT) $(TARGET_CPU_ABI_LIST_32_BIT) | |
29 | 19 | |
30 | -BOARD_USE_LEGACY_UI := true | |
20 | +TARGET_USES_64_BIT_BINDER := true | |
31 | 21 | |
32 | -# PDK does not use ext4 image, but it is added here to prevent build break. | |
33 | 22 | TARGET_USERIMAGES_USE_EXT4 := true |
34 | -BOARD_SYSTEMIMAGE_PARTITION_SIZE := 786432000 | |
35 | 23 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800 |
36 | 24 | BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016 |
37 | 25 | BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 |
38 | 26 | BOARD_FLASH_BLOCK_SIZE := 512 |
39 | -TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true | |
\ No newline at end of file | ||
27 | +TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true | |
28 | + | |
29 | +include device/generic/common/BoardConfig.mk |
@@ -1,4 +1,5 @@ | ||
1 | -# Copyright (C) 2014 The Android Open Source Project | |
1 | +# | |
2 | +# Copyright (C) 2014 The Android-x86 Open Source Project | |
2 | 3 | # |
3 | 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
4 | 5 | # you may not use this file except in compliance with the License. |
@@ -11,14 +12,15 @@ | ||
11 | 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 | 13 | # See the License for the specific language governing permissions and |
13 | 14 | # limitations under the License. |
15 | +# | |
14 | 16 | |
15 | -$(call inherit-product, device/generic/armv7-a-neon/mini_common.mk) | |
17 | +$(call inherit-product,$(SRC_TARGET_DIR)/product/core_64_bit.mk) | |
16 | 18 | |
17 | -PRODUCT_NAME := mini_x86_64 | |
18 | -PRODUCT_DEVICE := x86_64 | |
19 | -PRODUCT_BRAND := Android | |
20 | -PRODUCT_MODEL := Mini for x86_64 | |
19 | +# includes the base of Android-x86 platform | |
20 | +$(call inherit-product,device/generic/common/x86.mk) | |
21 | 21 | |
22 | -# default is nosdcard, S/W button enabled in resource | |
23 | -DEVICE_PACKAGE_OVERLAYS := device/generic/x86/overlay | |
24 | -PRODUCT_CHARACTERISTICS := nosdcard | |
22 | +# Overrides | |
23 | +PRODUCT_NAME := android_x86_64 | |
24 | +PRODUCT_BRAND := Android-x86 | |
25 | +PRODUCT_DEVICE := x86_64 | |
26 | +PRODUCT_MODEL := Generic Android-x86_64 |
@@ -0,0 +1,25 @@ | ||
1 | +# | |
2 | +# Copyright (C) 2014 The Android-x86 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 file is executed by build/envsetup.sh, and can use anything | |
18 | +# defined in envsetup.sh. | |
19 | +# | |
20 | +# In particular, you can add lunch options with the add_lunch_combo | |
21 | +# function: add_lunch_combo generic-eng | |
22 | + | |
23 | +add_lunch_combo android_x86_64-eng | |
24 | +add_lunch_combo android_x86_64-userdebug | |
25 | +add_lunch_combo android_x86_64-user |