当前位置: 首页 > 工具软件 > AIO4J > 使用案例 >

AIO-3288J android编译

阳长恨
2023-12-01

1. buildspec.mk补丁

--- buildspec.mk	2020-08-04 20:44:38.870136999 +0800
+++ buildspec_new.mk	2020-08-06 18:52:49.933262000 +0800
@@ -21,13 +21,13 @@
 # "buildspec.mk" should never be checked in to source control.
 ######################################################################
 
-TARGET_BOARD_PLATFORM ?= rk3288
-TARGET_BOARD_PLATFORM_GPU ?= mali-t760
+TARGET_BOARD_PLATFORM ?= AIO-3288J
+TARGET_BOARD_PLATFORM_GPU ?= mali-t764
 
 # Choose a product to build for.  Look in the products directory for ones
 # that work.
 ifndef TARGET_PRODUCT
-TARGET_PRODUCT:=rk3288_box
+TARGET_PRODUCT:=rk3288_AIO_box   //查看device/rockchip/rk3288目录
 endif
 
 # Choose a variant to build.  If you don't pick one, the default is eng.

2.make.sh补丁

路径:FFTools/make.sh

--- FFTools/make.sh	2020-08-06 17:48:13.284555999 +0800
+++ make.sh	2020-08-06 17:50:41.394464000 +0800
@@ -25,8 +25,8 @@ make -j $MAKE_THEARD
 popd
 
 pushd kernel/ 
-make firefly-rk3288_defconfig
-make firefly-rk3288.img -j $MAKE_THEARD
+make firefly-rk3288-AIO_defconfig
+make make firefly-rk3288-AIO.img -j $MAKE_THEARD
 popd
 
 source  build.sh 

3.单独编译内核

make firefly-rk3288-AIO.img -j4

 

 

 

 

 

 

 

 

 

 

 

 类似资料: