git.openwrt.org Git - openwrt/staging/ldir.git/log
git.openwrt.orgbuild: move STAGING_DIR_HOSTPKG and BUILD_DIR_HOST back to a common directory for all targets Using a single host package staging dir (and build dir) significantly speeds up builds when multiple targets are built in succession, especially for large host packages like NodeJS. $(STAGING_DIR)/host is kept in addition to $(STAGING_DIR_HOSTPKG) in most places; it is still used as destination for host files in Build/InstallDev.
openwrt buildroot build_dir and staging_dir - Stack Overflow
stackoverflow.com › questions › 26030670Sep 25, 2014 · The directory staging_dir is used to "install" all the compiled programs into, ready either for use in building further packages, or for preparing the firmware image. There are three areas under build_dir: 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.
[OpenWrt Wiki] Build system essentials
openwrt.org › docs › guide-developerOct 15, 2021 · 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.
[OpenWrt Wiki] Preparing your OpenWrt build system for use
openwrt.org › docs › guide-developerWe accept the defaults specified by the OpenWrt build system based on your selections in the configuration menu. While some of the target-independent tools found from staging_dir/host/bin are simply links to the existing executables elsewhere in your development environment, many are not. In order to use these tools effectively in the later chapters of this article series, it is preferable to be able to refer to them without prefixing the full path.