Difference between revisions of "Conf local.conf"
Jems.cheng (talk | contribs) |
Jems.cheng (talk | contribs) |
||
| Line 23: | Line 23: | ||
#適用於 build_ProjectA/conf/local.conf 和 build_ProjectB/conf/local.conf | #適用於 build_ProjectA/conf/local.conf 和 build_ProjectB/conf/local.conf | ||
| − | <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">SSTATE_DIR = "/ | + | <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">SSTATE_DIR = "${BSPDIR}//sstate-cache"</div> <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">DL_DIR ?= "${BSPDIR}/downloads/"</div> |
| | ||
Revision as of 04:57, 15 October 2025
ACCEPT_FSL_EULA = "1"
INHERIT += "rm_work"
RM_WORK_EXCLUDE += " spdlog dtc "
UBOOT_CONFIG = "2G"
IMAGE_INSTALL_append = " tcpdump spdlog-dev qtserialport ethtool "
//#IMAGE_OVERHEAD_FACTOR = "1.5"
//#IMAGE_ROOTFS_EXTRA_SPACE_append = "1024576"
//#IMAGE_ROOTFS_EXTRA_SPACE = "1024576"
//#IMAGE_FEATURES += " dev-pkgs tools-sdk "
//#IMAGE_INSTALL_append = " vim busybox phoronix-test-suite packagegroup-core-base-utils "
//#IMAGE_INSTALL_append += " vim xeyes xwininfo helloyocto hellogtk "
//#IMAGE_INSTALL_append = " gtk+3 libzip-dev zlib zip php php-cgi lighttpd lighttpd-module-fastcgi "
//#CORE_IMAGE_EXTRA_INSTALL += " chromium-ozone-wayland "
//#LICENSE_FLAGS_WHITELIST += " commercial_libav commercial_x264 "
//#CORE_IMAGE_EXTRA_INSTALL += "chromium-x11 libexif"
//#LICENSE_FLAGS_WHITELIST="commercial"
//#IMAGE_INSTALL_append = " vim "
//#IMAGE_INSTALL_remove = " packagegroup-qt5-imx packagegroup-imx-ml "
//#PACKAGE_EXCLUDE = " opencv "
In build/conf/local.conf. It can add parameter below to reduce the system resource usage.
BB_NUMBER_THREADS = "Half of you CPU core" # Ex. 8 core CPU, it can set 4 PARALLEL_MAKE = "-j Half of your CPU core" # Ex. 8 core CPU, it can set 4</code>
- 適用於 build_ProjectA/conf/local.conf 和 build_ProjectB/conf/local.conf
Yocto2.1:
WARNING: Invalid protocol (\ftp) in MIRRORS: \ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/
ERROR: OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
Fetcher failure for URL: 'https://eula-downloads.yoctoproject.org/index.php'. URL https://eula-downloads.yoctoproject.org/index.php doesn't work. Please ensure your network is configured correctly.
touch conf/sanity.conf