diff options
author | Kevin Ma <kma@google.com> | 2014-05-14 14:49:28 -0700 |
---|---|---|
committer | Kevin Ma <kma@google.com> | 2014-05-15 09:37:07 -0700 |
commit | 7b522bb9c419be65cfabca5db710e62b3222bb91 (patch) | |
tree | 7e357557cd18d5072784e4d4d5e56af3edeee526 | |
parent | d3b6a80ad992e930a33a9c8a5fd00e463752ab0d (diff) | |
download | x86_64-7b522bb9c419be65cfabca5db710e62b3222bb91.tar.gz |
Initial commit of x86_64 pdk target.
Bug: 14669316
Change-Id: Ieb8738b11cb6f9360909c234abe7da1590330272
-rw-r--r-- | AndroidProducts.mk | 18 | ||||
-rw-r--r-- | BoardConfig.mk | 39 | ||||
-rw-r--r-- | mini_x86_64.mk | 24 | ||||
-rw-r--r-- | vendorsetup.sh | 23 |
4 files changed, 104 insertions, 0 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk new file mode 100644 index 0000000..554ebc1 --- /dev/null +++ b/AndroidProducts.mk @@ -0,0 +1,18 @@ +# +# Copyright (C) 2014 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. +# + +PRODUCT_MAKEFILES := \ + $(LOCAL_DIR)/mini_x86_64.mk
\ No newline at end of file diff --git a/BoardConfig.mk b/BoardConfig.mk new file mode 100644 index 0000000..9ade5ac --- /dev/null +++ b/BoardConfig.mk @@ -0,0 +1,39 @@ +# config.mk +# +# Product-specific compile-time definitions. +# + +# The generic product target doesn't have any hardware-specific pieces. +TARGET_NO_BOOTLOADER := true +TARGET_NO_KERNEL := true +TARGET_CPU_ABI := x86_64 +TARGET_ARCH := x86_64 +TARGET_ARCH_VARIANT := x86_64 +TARGET_PRELINK_MODULE := false + +TARGET_2ND_CPU_ABI := x86 +TARGET_2ND_ARCH := x86 +TARGET_2ND_ARCH_VARIANT := x86 + +TARGET_USES_64_BIT_BINDER := true + +SMALLER_FONT_FOOTPRINT := true +MINIMAL_FONT_FOOTPRINT := true +# Disable emulator for "make dist" until there is a 64-bit qemu kernel +BUILD_EMULATOR := false +# Some framework code requires this to enable BT +BOARD_HAVE_BLUETOOTH := true +BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth + +USE_OPENGL_RENDERER := true + +BOARD_USE_LEGACY_UI := true + +# PDK does not use ext4 image, but it is added here to prevent build break. +TARGET_USERIMAGES_USE_EXT4 := true +BOARD_SYSTEMIMAGE_PARTITION_SIZE := 786432000 +BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800 +BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016 +BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 +BOARD_FLASH_BLOCK_SIZE := 512 +TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
\ No newline at end of file diff --git a/mini_x86_64.mk b/mini_x86_64.mk new file mode 100644 index 0000000..869bc15 --- /dev/null +++ b/mini_x86_64.mk @@ -0,0 +1,24 @@ +# Copyright (C) 2014 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. + +$(call inherit-product, device/generic/armv7-a-neon/mini_common.mk) + +PRODUCT_NAME := mini_x86_64 +PRODUCT_DEVICE := x86_64 +PRODUCT_BRAND := Android +PRODUCT_MODEL := Mini for x86_64 + +# default is nosdcard, S/W button enabled in resource +DEVICE_PACKAGE_OVERLAYS := device/generic/x86/overlay +PRODUCT_CHARACTERISTICS := nosdcard diff --git a/vendorsetup.sh b/vendorsetup.sh new file mode 100644 index 0000000..cee7030 --- /dev/null +++ b/vendorsetup.sh @@ -0,0 +1,23 @@ +# +# Copyright (C) 2014 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 file is executed by build/envsetup.sh, and can use anything +# defined in envsetup.sh. +# +# In particular, you can add lunch options with the add_lunch_combo +# function: add_lunch_combo generic-eng + +add_lunch_combo mini_x86_64-userdebug |