본문 바로가기
리눅스

yocto 간략히 정리

by slowcloud_ 2026. 4. 21.

yocto에 대해 러프하게 정리한 글입니다. 정보의 간략한 정리 및 빠른 확인을 위해 작성하였습니다.

부정확한 내용이 포함되어 있을 수 있습니다.

 

https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html

 

Yocto Project Quick Build — The Yocto Project ® 5.3-tip documentation

A Linux Foundation Collaborative Project. All Rights Reserved. Linux Foundation® and Yocto Project® are registered trademarks of the Linux Foundation. Linux® is a registered trademark of Linus Torvalds. © Copyright 2010-2026, The Linux Foundation, CC-B

docs.yoctoproject.org

https://docs.yoctoproject.org/bitbake/2.16/index.html

 

BitBake User Manual — Bitbake 2.16 documentation

© Copyright 2004-2026, Richard Purdie, Chris Larson, and Phil Blundell Last updated on Apr 20, 2026 from the bitbake git repository.

docs.yoctoproject.org

 

yocto는 임베디드 리눅스 빌드 프로젝트

yocto 프로젝트 안에 bitbake, oe-core, poky 등이 있고, poky가 bitbake, oe-core를 포함하는 빌드 시스템

 

bitbake-setup init

위 명령어로 빌드할 타겟 보드, 디스트로를 정하고 (보통 poky distro?)

 

source [target]/build/init-build-env

위 명령어로 빌드할 환경을 세팅하고(환경변수 등등?)

 

bitbake-config-build list-fragments

bitbake-config-build [fragments]

위 명령어로 별도 설정 확인하고 설정한 다음에

 

bitbake [target]

위 명령어로 빌드 수행

초기 빌드 시 최대 24시간, 이후 약 1시간? 소요

 

https://docs.yoctoproject.org/overview-manual/index.html

 

Yocto Project Overview and Concepts Manual — The Yocto Project ® 5.3-tip documentation

A Linux Foundation Collaborative Project. All Rights Reserved. Linux Foundation® and Yocto Project® are registered trademarks of the Linux Foundation. Linux® is a registered trademark of Linus Torvalds. © Copyright 2010-2026, The Linux Foundation, CC-B

docs.yoctoproject.org

https://layers.openembedded.org/layerindex/branch/master/layers/

 

OpenEmbedded Layer Index - layers

 

layers.openembedded.org

 

oe-core에는 리눅스 빌드를 위한 다양한 레이어가 있고 그 레이어 안에 레시피가 작성되어 있는 방식

보통 meta-가 prefix로 붙어 있음

커스텀 레이어를 통해 별도 프로그램을 리눅스에 넣어둔다던지 등등을 수행

 

디스트로, 보드, 추가기능 등이 포함된 레이어 설정 가능

 

 

https://docs.yoctoproject.org/dev-manual/index.html

 

Yocto Project Development Tasks Manual — The Yocto Project ® 5.3-tip documentation

A Linux Foundation Collaborative Project. All Rights Reserved. Linux Foundation® and Yocto Project® are registered trademarks of the Linux Foundation. Linux® is a registered trademark of Linus Torvalds. © Copyright 2010-2026, The Linux Foundation, CC-B

docs.yoctoproject.org

레이어 추가, 레시피 작성 등등에 대한 방법과 명령어들은 위 링크에서 확인

'리눅스' 카테고리의 다른 글

커널스페이스와 유저스페이스  (0) 2026.03.26
cmake 기본 활용  (0) 2026.03.06
grep  (0) 2025.08.24
fzf 소개 및 간략한 사용법  (1) 2025.07.17