guowenxue
2024-07-18 a580f673d8120c96b9a854cd70ae2ebc8a048c57
 Yocto:IGKBoard-All: Update example local.conf to add build task number configure support

Signed-off-by: guowenxue <guowenxue@gmail.com>
4 files modified
33 ■■■■■ changed files
yocto/meta-igkboard/conf/igkboard-imx6ull_local.conf 11 ●●●● patch | view | raw | blame | history
yocto/meta-igkboard/conf/igkboard-imx8mp_local.conf 12 ●●●● patch | view | raw | blame | history
yocto/meta-igkboard/images/yocto-image-full.bb 8 ●●●●● patch | view | raw | blame | history
yocto/meta-igkboard/recipes-hello/hello-app/hello-app_1.0.bb 2 ●●● patch | view | raw | blame | history
yocto/meta-igkboard/conf/igkboard-imx6ull_local.conf
@@ -1,7 +1,7 @@
MACHINE ??= 'igkboard-imx6ull'
DISTRO ?= 'fsl-imx-wayland'
PACKAGE_CLASSES ?= 'package_deb'
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks tools-sdk tools-debug"
USER_CLASSES ?= "buildstats"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
@@ -16,7 +16,7 @@
PACKAGECONFIG:append_pn-qemu-system-native = " sdl"
CONF_VERSION = "2"
#DL_DIR ?= "${HOME}/oe-sources-yocto/"
#DL_DIR ?= "${HOME}/downloads/"
ACCEPT_FSL_EULA = "1"
LICENSE_FLAGS_ACCEPTED = "commercial"
@@ -24,3 +24,10 @@
# Switch to Debian packaging and include package-management in the image
PACKAGE_CLASSES = "package_deb"
EXTRA_IMAGE_FEATURES += "package-management"
# uncomment these lines, you can set the parallel jobs to build
#BB_NUMBER_THREADS = "16"
#PARALLEL_MAKE = "-j 16"
# don't install u-boot and linux kernel images to /boot
IMAGE_INSTALL:remove = " u-boot-imx linux-imx "
yocto/meta-igkboard/conf/igkboard-imx8mp_local.conf
@@ -1,7 +1,7 @@
MACHINE ??= 'igkboard-imx8mp'
DISTRO ?= 'fsl-imx-wayland'
PACKAGE_CLASSES ?= 'package_deb'
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks tools-sdk tools-debug"
USER_CLASSES ?= "buildstats"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
@@ -16,11 +16,19 @@
PACKAGECONFIG:append_pn-qemu-system-native = " sdl"
CONF_VERSION = "2"
#DL_DIR ?= "${HOME}/oe-sources-yocto/"
#DL_DIR ?= "${HOME}/downloads/"
ACCEPT_FSL_EULA = "1"
LICENSE_FLAGS_ACCEPTED = "commercial"
PACKAGECONFIG:pn-gstreamer1.0-plugins-ugly += "x264"
# Switch to Debian packaging and include package-management in the image
PACKAGE_CLASSES = "package_deb"
EXTRA_IMAGE_FEATURES += "package-management"
# uncomment these lines, you can set the parallel jobs to build
#BB_NUMBER_THREADS = "16"
#PARALLEL_MAKE = "-j 16"
# don't install u-boot and linux kernel images to /boot
IMAGE_INSTALL:remove = " u-boot-imx linux-imx "
yocto/meta-igkboard/images/yocto-image-full.bb
@@ -8,12 +8,10 @@
#IMAGE_ROOTFS_EXTRA_SPACE = "512000"
inherit extrausers
# Create the password hash with following command on host:
# >> mkpasswd -m sha256crypt password -S abcd6789
# Remember to escape the character $ in the resulting hash
# Set the root password:
#PASSWD="\$5\$abcd6789\$Vuv1aLz04ZwhxgsB3lOQbwy1XUS6PJ.8h2A7.9HoUd3"
# Set the root password:  >> mkpasswd -m sha256crypt 123456 -S abcd6789
# Remember to escape the character $ in the resulting hash
#PASSWD="\$5\$abcd6789\$2ayD.ZPdq5xejNiyE3XC3qCpkGZ.brSE5H0zSECVBSB"
EXTRA_USERS_PARAMS = "\
    usermod -p '${PASSWD}' root; \
"
yocto/meta-igkboard/recipes-hello/hello-app/hello-app_1.0.bb
@@ -5,7 +5,7 @@
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c"
# recipe version
PV = "1"
PV = "1.0"
PR = "r0"
# There is /usr/bin/hello link to hello.lmbench, so can not use application name 'hello' here