• 一、build system


    LICHEE_TOP_DIR='pwd'

    LICHEE_OUT_DIR=${LICHEE_TOP_DIR}/out

    LICHEE_TOOLS_DIR=${LICHEE_TOP_DIR}/tools

    LICHEE_PLAT_OUT="${LICHEE_OUT_DIR}/${LICHEE_CHIP}/${LICHEE_PLATFORM}/${out_dir}"

    LICHEE_BR_OUT="${LICHEE_PLAT_OUT}/buildroot"

    LICHEE_BR_DIR=${LICHEE_TOOLS_DIR}/buildroot

    cd android/

    source build/envsetup.sh

    lunch 9

    extract-bsp

    make -j8

    pack

    LICHEE_DIR=$ANDROID_BUILD_TOP/../lichee

    LINUXOUT_DIR=$LICHEE_DIR/out/sun50iw3p1/android/common

    LINUXOUT_MODULE_DIR=$LINUXOUT_DIR/lib/modules/*/*

    export PAHT="$PATH:/home/nansutech/workbench/lifangbo/android/prebuilts/python/linux-x86/2.7.5/bin/"

    方案一:

    cd lichee

    .build.sh-->

        tools/build/mkcommon.sh-->

            .buildconfig

                export LICHEE_CHIP=sun50iw3p1

                export LICHEE_PLATFORM=android

                export LICHEE_KERN_VER=linux-3.10

                export LICHEE_ARCH=arm64

                export LICHEE_BOARD=t1

                export LICHEE_BUSINESS=pad

                export LICHEE_CROSS_COMPILER=aarch64-linux-gnu

                export LICHEE_TOOLCHAIN_PATH=/home/alfredzhang/a63_Android7.0/lichee/out/external-toolchain/gcc-aarch64

            source ${BR_SCRIPTS_DIR}/mkcmd.sh-->

                LICHEE_TOP_DIR=`pwd`

                LICHEE_KERN_DIR=${LICHEE_TOP_DIR}/${LICHEE_KERN_VER}

                LICHEE_ARCH_DIR=${LICHEE_KERN_DIR}/${LICHEE_ARCH}

                LICHEE_TOOLS_DIR=${LICHEE_TOP_DIR}/tools

                LICHEE_BR_DIR=${LICHEE_TOOLS_DIR}/buildroot

                LICHEE_SATA_DIR=${LICHEE_TOP_DIR}/SATA

                LICHEE_OUT_DIR=${LICHEE_TOP_DIR}/out

                MKRULE_FILE=${LICHEE_TOOLS_DIR}/build/mkrule

                MKBUSINESS_FILE=${LICHEE_TOOLS_DIR}/build/mkbusiness

                function select_xxx

                function init_xxx

                fucntion mkxxx

    ./build.sh config

    ./build.sh [-k <kernel directly>] [-p <chip_os>] [-m <module>]

    ./build.sh pack

  • 相关阅读:
    SSM项目搭建(提供源码)
    U盘启动安装linux时卡在“starting dracut initqueue hook”
    nginx 中只能访问根目录,无法访问路由(404)
    在多GPU情况下TensorFlow如何指定在哪些GPU上运行程序
    TensorFlow只训练部分参数
    python中的随机数函数
    Python中读取、显示和保存图片的方法
    神经网络中参数数量的计算
    排序算法
    window Linux 双系统安装
  • 原文地址:https://www.cnblogs.com/fbli/p/13367027.html
Copyright © 2020-2023  润新知