BoardConfig.mk revision 38a261a82b671dadd370ae0ebdc3de36013de05d
1# config.mk 2# 3# Product-specific compile-time definitions. 4# 5 6# The generic product target doesn't have any hardware-specific pieces. 7TARGET_NO_BOOTLOADER := true 8TARGET_NO_KERNEL := true 9TARGET_CPU_ABI := x86 10TARGET_ARCH := x86 11TARGET_ARCH_VARIANT := x86 12TARGET_PRELINK_MODULE := false 13 14# The IA emulator (qemu) uses the Goldfish devices 15HAVE_HTC_AUDIO_DRIVER := true 16BOARD_USES_GENERIC_AUDIO := true 17 18# no hardware camera 19USE_CAMERA_STUB := true 20 21# customize the malloced address to be 16-byte aligned 22BOARD_MALLOC_ALIGNMENT := 16 23 24# Enable dex-preoptimization to speed up the first boot sequence 25# of an SDK AVD. Note that this operation only works on Linux for now 26ifeq ($(HOST_OS),linux) 27WITH_DEXPREOPT ?= true 28endif 29 30# Build OpenGLES emulation host and guest libraries 31BUILD_EMULATOR_OPENGL := true 32 33# Build and enable the OpenGL ES View renderer. When running on the emulator, 34# the GLES renderer disables itself if host GL acceleration isn't available. 35USE_OPENGL_RENDERER := true 36 37TARGET_USERIMAGES_USE_EXT4 := true 38BOARD_SYSTEMIMAGE_PARTITION_SIZE := 786432000 39BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800 40BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016 41BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 42BOARD_FLASH_BLOCK_SIZE := 512 43TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true 44 45BOARD_SEPOLICY_DIRS += build/target/board/generic_x86/sepolicy 46BOARD_SEPOLICY_UNION += \ 47 device.te \ 48 domain.te \ 49 file.te \ 50 file_contexts \ 51 healthd.te \ 52 installd.te \ 53 qemud.te \ 54 rild.te \ 55 shell.te \ 56 system_server.te 57