Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

device-generic-x86_64: Commit

device/generic/x86_64


Commit MetaInfo

Revision4132cea57d9449c87663f310ce195426ddde9710 (tree)
Time2016-06-22 20:40:46
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

android_x86_64: lollipop-x86 porting

Based on android-5.0.0_r2.

Change Summary

Incremental Difference

--- a/AndroidProducts.mk
+++ b/AndroidProducts.mk
@@ -1,5 +1,5 @@
11 #
2-# Copyright (C) 2014 The Android Open-Source Project
2+# Copyright (C) 2014 The Android-x86 Open Source Project
33 #
44 # Licensed under the Apache License, Version 2.0 (the "License");
55 # you may not use this file except in compliance with the License.
@@ -15,4 +15,4 @@
1515 #
1616
1717 PRODUCT_MAKEFILES := \
18- $(LOCAL_DIR)/mini_x86_64.mk
\ No newline at end of file
18+ $(LOCAL_DIR)/android_x86_64.mk
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -1,11 +1,9 @@
1-# config.mk
21 #
32 # Product-specific compile-time definitions.
43 #
54
65 # The generic product target doesn't have any hardware-specific pieces.
76 TARGET_NO_BOOTLOADER := true
8-TARGET_NO_KERNEL := true
97 TARGET_CPU_ABI := x86_64
108 TARGET_ARCH := x86_64
119 TARGET_ARCH_VARIANT := x86_64
@@ -15,25 +13,17 @@ TARGET_2ND_CPU_ABI := x86
1513 TARGET_2ND_ARCH := x86
1614 TARGET_2ND_ARCH_VARIANT := x86
1715
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)
2919
30-BOARD_USE_LEGACY_UI := true
20+TARGET_USES_64_BIT_BINDER := true
3121
32-# PDK does not use ext4 image, but it is added here to prevent build break.
3322 TARGET_USERIMAGES_USE_EXT4 := true
34-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 786432000
3523 BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
3624 BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
3725 BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
3826 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
--- a/mini_x86_64.mk
+++ b/android_x86_64.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
23 #
34 # Licensed under the Apache License, Version 2.0 (the "License");
45 # you may not use this file except in compliance with the License.
@@ -11,15 +12,15 @@
1112 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1213 # See the License for the specific language governing permissions and
1314 # limitations under the License.
15+#
1416
15-$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
16-$(call inherit-product, device/generic/armv7-a-neon/mini_common.mk)
17+$(call inherit-product,$(SRC_TARGET_DIR)/product/core_64_bit.mk)
1718
18-PRODUCT_NAME := mini_x86_64
19-PRODUCT_DEVICE := x86_64
20-PRODUCT_BRAND := Android
21-PRODUCT_MODEL := Mini for x86_64
19+# includes the base of Android-x86 platform
20+$(call inherit-product,device/generic/common/x86.mk)
2221
23-# default is nosdcard, S/W button enabled in resource
24-DEVICE_PACKAGE_OVERLAYS := device/generic/x86/overlay
25-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
--- /dev/null
+++ b/vendorsetup.sh
@@ -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
Show on old repository browser