[Mod] device,简化wifi_iot_cm33,剥离依赖

This commit is contained in:
2023-06-05 15:09:41 +00:00
parent 4a18f28b35
commit 454c2c7357
10 changed files with 108 additions and 1222 deletions

View File

@ -1,7 +1,42 @@
# BoardConfig.mk
#
# Product-specific compile-time definitions.
#
# same as cm33s except HAL
include device/generic/mips/BoardConfig.mk
# The generic product target doesn't have any hardware-specific pieces.
TARGET_NO_BOOTLOADER := true
TARGET_NO_KERNEL := true
TARGET_ARCH := arm
TARGET_ARCH_VARIANT := armv8
TARGET_CPU_ABI := arm
TARGET_CPU_SMP := false
SMALLER_FONT_FOOTPRINT := true
MINIMAL_FONT_FOOTPRINT := true
# Some framework code requires this to enable BT
BOARD_HAVE_BLUETOOTH := true
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth
# Build OpenGLES emulation libraries
BUILD_EMULATOR_OPENGL := true
BUILD_EMULATOR_OPENGL_DRIVER := true
USE_OPENGL_RENDERER := true
BOARD_USES_GENERIC_AUDIO := true
USE_CAMERA_STUB := true
BOARD_USE_LEGACY_UI := true
BOARD_EGL_CFG := device/generic/goldfish/opengl/system/egl/egl.cfg
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_USE_EXT4 := true
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
BOARD_SEPOLICY_DIRS += \
build/target/board/generic/sepolicy
BOARD_SEPOLICY_UNION += \
bootanim.te

View File

@ -12,12 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
$(call inherit-product, device/generic/mini-emulator-armv7-a-neon/mini_emulator_common.mk)
PRODUCT_NAME := wifi_iot_cm33
PRODUCT_NAME := wifi_iot_cm33
PRODUCT_DEVICE := wifi-iot-cm33
PRODUCT_BRAND := Android
PRODUCT_MODEL := wifi-iot-cm33
PRODUCT_BRAND := Rtos
PRODUCT_MODEL := wifi-iot-cm33
LOCAL_KERNEL := prebuilts/qemu-kernel/mips/kernel-qemu
PRODUCT_COPY_FILES += \