- OpenWrt . . . . 6 matches
#keywords 설치,구축,배포판,서버,OpenWRT,build,devops
#title OpenWRT 빌드환경
[wiki:Home 대문] / [wiki:CategoryInstall 설치 및 구축], [wiki:CategoryProgramming 프로그래밍] / [wiki:OpenWrt OpenWrt 빌드환경]
== [wiki:OpenWrt OpenWrt 빌드환경] ==
* 주요 내용 출처 : https://openwrt.org/
[^https://openwrt.org/ https://openwrt.org/_media/logo.png]
OpenWrt(오픈더블유알티 : Open Wireless Router, LEDE)는 처음에는 Linksys사의 무선랜 라우터를 위한 비실시간(Non-Real-Time) 리눅스 기반의 오픈 소스 운영 체제로써 개발이 시작되었으나 현재는 보다 많은 플랫폼을 지원하면서 빌드시스템을 통합 관리하는 차원에서 개발자들에게 매우 광범위한 환경을 제공하는 프로젝트가 되었습니다.
OpenWrt 는 GPLv2 (GNU General Public License Version 2) 기반 라이선스로 배포되고 있습니다.
본 문서는 이러한 OpenWrt (version 19.07.7 기준) 를 활용하는데 필요한 내용을 지극히 개인적인 시각으로써 정리하는 목적으로 작성되었으며 보다 상세한 사항은 [^https://openwrt.org/ OpenWrt 공식 웹사이트]을 방문하여 보실 것을 권합니다.
참고 : https://openwrt.org/docs/guide-developer/build-system/install-buildsystem
개발환경을 구축하기 위해서 기본적으로 [^https://en.wikipedia.org/wiki/Linux GNU/Linux] 환경이 필요합니다. 다른 환경 ([^https://openwrt.org/docs/guide-developer/build-system/buildroot.exigence.macosx macOS], [^https://en.wikipedia.org/wiki/BSD BSD], [^https://openwrt.org/docs/guide-developer/build-system/wsl WSL], ...) 을 이용하시려면 [^https://openwrt.org/docs/guide-developer/build-system/start 여기] 를 참고하세요.
다음과 같은 또는 호환되는 패키지가 설치되어 있어야 합니다. (이 중에서 OpenWrt 이용계획에 따라서 일부 패키지는 선택사항일 수 있으며 여기에 명시되지 않은 추가적인 패키지들이 필요할 수 있습니다.)
* package - is for exactly that - packages. In an OpenWrt firmware, almost everything is an ipk, a software package which can be added to the firmware to provide new features or removed to save space.
* "build_dir/host" , for compiling all the tools that run on the host computer (OpenWRT builds its own version of sed and many other tools from source). This area will be use for compiling programs that run only on your host.
* "staging_dir/toolchain..." is a mini Linux root with its own bin/, lib/, etc that contains the cross C compiler used to build the rest of the firmware. You can actually use that to compile simple C programs outside of OpenWRT that can be loaded onto the firmware. The C compiler might be something like: staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-gcc. You can see the version of the CPU, the C library and gcc encoded into it; this allows multiple targets to be built in the same area concurrently.
* make 명령행 실행시 V 인자변수 또는 OPENWRT_VERBOSE 환경변수에 다음의 값을 하나이상의 조합하여 사용 가능.
=> https://openwrt.org/docs/guide-developer/feeds
OpenWrt는 자체적으로 제공하는 준비된 패키지를 이용할 수 있을 뿐만 아니라 사용자가 추가/변경한 사항들을 별도의 분리된 구조인 feeds 라는 형태로 분리하여 다룰 수 있도록 되어 있습니다. 직접적으로 OpenWrt 를 수정해도 되지만 이렇게 되면 지속적 발전하고 있는 최신 OpenWrt 의 변경사항들을 반영하기 어려워지는 문제가 있기 때문에 feeds 를 사용하여 사용자가 추가/변경한 사항들만 분리하여 관리하도록 고려해두면 항상 OpenWrt 최신 사항을 반영해갈 수 있는 연속성을 유지하는 장점을 가질 수 있습니다.
src-git packages https://git.openwrt.org/feed/packages.git
src-git luci https://git.openwrt.org/project/luci.git
- Buildroot . . . . 1 match
#title OpenWRT 빌드환경
* [wiki:OpenWrt OpenWrt 빌드환경]
Found 2 matching pages out of 204 total pages
You can also click here to search title.