如何只输出分支版本而不真正开始构建
How to only output branch versions and do not really start the build
当运行:
green@green13:~/green/build$bitbake core-image-minimal
我可以看到如下的分支版本,它会开始构建,但我只需要这些信息输出,并不真的需要开始构建,我该怎么做?
Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "qemuarm64"
DISTRO = "poky"
DISTRO_VERSION = "3.1.14"
TUNE_FEATURES = "aarch64 armv8a crc"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "HEAD:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
meta-oe
meta-python
meta-filesystems
meta-networking = "HEAD:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
meta-virtualization = "HEAD:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
你可以这样做:
bitbake core-image-minimal -n
-n arguments 执行干 运行,从技术上讲,它会启动构建,但不会做太多事情,它会在几秒钟内完成。
例如:
$ bitbake core-image-minimal -n
Loading cache: 100% |#############################################################| Time: 0:00:00
Loaded 1522 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.53.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux-musl"
MACHINE = "qemuarm64"
DISTRO = "poky-tiny"
DISTRO_VERSION = "3.4+snapshot-37b9d6ee2faa5aacb5324d083ba4a7ba8560b5cd"
TUNE_FEATURES = "aarch64 armv8a crc cortexa57"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "master-next:37b9d6ee2faa5aacb5324d083ba4a7ba8560b5cd"
Initialising tasks: 100% |########################################################| Time: 0:00:01
Sstate summary: Wanted 559 Local 0 Mirrors 0 Missed 559 Current 151 (0% match, 21% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 2036 tasks of which 634 didn't need to be rerun and all succeeded.
有关详细信息,请参阅 bitbake manual 中的用法和语法。
当运行:
green@green13:~/green/build$bitbake core-image-minimal
我可以看到如下的分支版本,它会开始构建,但我只需要这些信息输出,并不真的需要开始构建,我该怎么做?
Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "qemuarm64"
DISTRO = "poky"
DISTRO_VERSION = "3.1.14"
TUNE_FEATURES = "aarch64 armv8a crc"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "HEAD:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
meta-oe
meta-python
meta-filesystems
meta-networking = "HEAD:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
meta-virtualization = "HEAD:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
你可以这样做:
bitbake core-image-minimal -n
-n arguments 执行干 运行,从技术上讲,它会启动构建,但不会做太多事情,它会在几秒钟内完成。
例如:
$ bitbake core-image-minimal -n
Loading cache: 100% |#############################################################| Time: 0:00:00
Loaded 1522 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.53.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux-musl"
MACHINE = "qemuarm64"
DISTRO = "poky-tiny"
DISTRO_VERSION = "3.4+snapshot-37b9d6ee2faa5aacb5324d083ba4a7ba8560b5cd"
TUNE_FEATURES = "aarch64 armv8a crc cortexa57"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "master-next:37b9d6ee2faa5aacb5324d083ba4a7ba8560b5cd"
Initialising tasks: 100% |########################################################| Time: 0:00:01
Sstate summary: Wanted 559 Local 0 Mirrors 0 Missed 559 Current 151 (0% match, 21% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 2036 tasks of which 634 didn't need to be rerun and all succeeded.
有关详细信息,请参阅 bitbake manual 中的用法和语法。