분류가 모호한 글2023. 6. 16. 17:07

buildroot에는 rootfs overlay 라고 빌드된 이미지 위에, 프로그램을 넣어 전체 이미지를 생성하는 기능이 존재한다.

위치를 지정할때는 프로젝트 외부변수를 사용해서 넣는데

프로젝트 외부변수는 BR2_EXTERNAL_{$PROJECT_NAME}_PATH 식으로 구성해서 넣는 듯.

그런데 설정된 부분이 없으면 그냥 들어갈테니

/board/<boardname>/overlay 식으로 써도 되려나?

 

Free-form content
One can store all the board-specific configuration files there, such as the kernel configuration, the root filesystem overlay, or any other configuration file for which Buildroot allows to set the location (by using the BR2_EXTERNAL_$(NAME)_PATH variable). For example, you could set the paths to a global patch directory, to a rootfs overlay and to the kernel configuration file as follows (e.g. by running make menuconfig and filling in these options):

BR2_GLOBAL_PATCH_DIR=$(BR2_EXTERNAL_BAR_42_PATH)/patches/
BR2_ROOTFS_OVERLAY=$(BR2_EXTERNAL_BAR_42_PATH)/board/<boardname>/overlay/
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=$(BR2_EXTERNAL_BAR_42_PATH)/board/<boardname>/kernel.config

[링크 : https://buildroot.org/downloads/manual/manual.html]

[링크 : https://boozlachu.medium.com/buildroot-part-2-bffac4b0b86a]

'분류가 모호한 글' 카테고리의 다른 글

FMCW, MMIC  (0) 2022.03.22
베르세르크 작가 미우라 켄타로 사망  (2) 2021.05.22
good bye 척 예거  (2) 2020.12.09
FMCW  (0) 2018.07.19
우드락 / 보드롱 / 폼보드?  (0) 2018.05.03
Posted by 구차니