rk3568 android9.0 ,32位平台
1.进入devices/rockchip/rk356x/
将rk3568_box_32 拷贝一份,命名为hdx6
2.打开vendorsetup.sh,添加lunch选项
add_lunch_combo hdx6-user
add_lunch_combo hdx6-userdebug
3.进入hdx6,修改rk3568_box_32.mk 成hdx6.mk
修改hdx6的内容
include device/rockchip/rk356x/hdx6/BoardConfig.mk
PRODUCT_NAME :=hdx6
PRODUCT_DEVICE := hdx6
#品牌
PRODUCT_BRAND := DBG
4.打开AndroidProducts.mk,添加hdx6.mk
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/rk356x.mk \
$(LOCAL_DIR)/rk356x_box/rk356x_box.mk \
- $(LOCAL_DIR)/rk356x_box_32/rk356x_box_32.mk
+ $(LOCAL_DIR)/rk356x_box_32/rk356x_box_32.mk \
+ $(LOCAL_DIR)/hdx6/hdx6.mk
5.修改复制build_box_32.sh成hdx6.sh
修改TARGET_PRODUCT="rk3568_box_32"
TARGET_PRODUCT="hdx6"
6.编译
source build/envsetup.sh
lunch hdx6-userdebug
./hdx6.sh -UKApuo