# build **Repository Path**: thead-linux/build ## Basic Information - **Project Name**: build - **Description**: 选择开发板,设置环境变量。 - **Primary Language**: Shell - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-17 - **Last Updated**: 2022-06-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Build all: follow these steps to build all sub-modules in the root path and find the target binary in the output. - source set-env.sh select your board_name - make Build rootfs separately, please find the rootfs in the output/images of buildroot - cd buildroot - make thead_board_name_br_defconfig - make Build kernel separately shall be the original way of building kernel - cd kernel - make ARCH=xxx CROSS_COMPILE="xxx/host/bin/compiler_prefix-" uImage How to install header files: - make ARCH=xxx headers_install ARCH=i386 CROSS_COMPILE="xxx/host/bin/compiler_prefix-" INSTALL_HDR_PATH=xxx Build uboot separately shall be the original way of building kernel - cd u-boot - make board_name_defconfig - make ARCH=xxx CROSS_COMPILE="xxx/host/bin/compiler_prefix-" NPU: - make How to run linux via gdb - please refers to output/images/readme.txt