Unification of comments about dependency on Linux kernel
Subsystems (2)
PATCH 1/1 Unification of comments about dependency on Linux kernel
Signed-off-by Thomas De Schampheleire <[email protected]>
--- boot/boot-wrapper-aarch64/Config.in | 4 ++++ docs/manual/adding-packages-directory.txt | 16 ++++++++++++++++ fs/initramfs/Config.in | 2 +- fs/iso9660/Config.in | 2 +- package/a10disp/Config.in | 2 +- package/cryptodev/Config.in | 5 ++++- package/directfb/Config.in | 3 +++ package/freescale-imx/imx-lib/Config.in | 2 +- package/gstreamer/gst-fsl-plugins/Config.in | 2 +- package/igh-ethercat/Config.in | 3 +++ package/ktap/Config.in | 2 +- package/libfslvpuwrap/Config.in | 2 +- package/linux-fusion/Config.in | 3 +++ package/lttng-modules/Config.in | 2 +- package/on2-8170-libs/Config.in | 2 +- package/on2-8170-modules/Config.in | 4 ++-- package/owl-linux/Config.in | 2 +- package/perf/Config.in | 2 +- package/ti-gfx/Config.in | 2 +- 19 files changed, 47 insertions(+), 15 deletions(-)
PATCH 1/1 Config.in files: unification of comments about dependency on Linux kernel
This patch lines up the comments of packages that need a Linux kernel to be built by buildroot, to the format:
foo needs a Linux kernel to be built
Signed-off-by Thomas De Schampheleire <[email protected]>
--- boot/boot-wrapper-aarch64/Config.in | 4 ++++ fs/initramfs/Config.in | 2 +- fs/iso9660/Config.in | 2 +- package/a10disp/Config.in | 2 +- package/cryptodev/Config.in | 5 ++++- package/directfb/Config.in | 3 +++ package/freescale-imx/imx-lib/Config.in | 2 +- package/gstreamer/gst-fsl-plugins/Config.in | 2 +- package/igh-ethercat/Config.in | 3 +++ package/ktap/Config.in | 2 +- package/libfslvpuwrap/Config.in | 2 +- package/linux-fusion/Config.in | 3 +++ package/lttng-modules/Config.in | 2 +- package/on2-8170-libs/Config.in | 2 +- package/on2-8170-modules/Config.in | 4 ++-- package/owl-linux/Config.in | 2 +- package/perf/Config.in | 2 +- package/ti-gfx/Config.in | 2 +- 18 files changed, 31 insertions(+), 15 deletions(-)
boot/boot-wrapper-aarch64/Config.in +4 -0
@@ -1,3 +1,7 @@ +comment "boot-wrapper-aarch64 needs a Linux kernel to be built" + depends on BR2_aarch64 + depends on !BR2_LINUX_KERNEL + config BR2_TARGET_BOOT_WRAPPER_AARCH64 bool "boot-wrapper-aarch64" depends on BR2_aarch64
fs/initramfs/Config.in +1 -1
@@ -17,5 +17,5 @@ config BR2_TARGET_ROOTFS_INITRAMFS identical root filesystems, one embedded inside the kernel image, and one separately. -comment "initramfs requires a Linux kernel to be built" +comment "initramfs needs a Linux kernel to be built" depends on !BR2_LINUX_KERNEL
fs/iso9660/Config.in +1 -1
@@ -12,6 +12,6 @@ config BR2_TARGET_ROOTFS_ISO9660_BOOT_ME depends on BR2_TARGET_ROOTFS_ISO9660 default "fs/iso9660/menu.lst" -comment "iso image requires a Linux kernel to be built" +comment "iso image needs a Linux kernel to be built" depends on BR2_i386 || BR2_x86_64 depends on !BR2_LINUX_KERNEL
package/a10disp/Config.in +1 -1
@@ -8,6 +8,6 @@ config BR2_PACKAGE_A10DISP http://github.com/hglm/a10disp -comment "a10disp requires the linux kernel" +comment "a10disp needs a Linux kernel to be built" depends on BR2_arm depends on !BR2_LINUX_KERNEL
package/cryptodev/Config.in +4 -1
@@ -1,5 +1,8 @@ +comment "cryptodev needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + config BR2_PACKAGE_CRYPTODEV - bool "cryptodev support" + bool "cryptodev" depends on BR2_LINUX_KERNEL help Select the desired cryptodev implementation.
package/directfb/Config.in +3 -0
@@ -16,6 +16,9 @@ config BR2_PACKAGE_DIRECTFB_MULTI help Enable use of multiple concurrent DirectFB applications +comment "directfb multi application needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + config BR2_PACKAGE_DIRECTFB_DEBUG bool "directfb debugging" help
package/freescale-imx/imx-lib/Config.in +1 -1
@@ -1,4 +1,4 @@ -comment "imx-lib needs an imx-specific kernel to be built" +comment "imx-lib needs an imx-specific Linux kernel to be built" depends on BR2_arm && !BR2_LINUX_KERNEL config BR2_PACKAGE_IMX_LIB
package/gstreamer/gst-fsl-plugins/Config.in +1 -1
@@ -1,4 +1,4 @@ -comment "gst-fsl-plugins requires an imx-specific kernel to be built" +comment "gst-fsl-plugins needs an imx-specific Linux kernel to be built" depends on BR2_arm && BR2_PACKAGE_GSTREAMER && !BR2_LINUX_KERNEL config BR2_PACKAGE_GST_FSL_PLUGINS
package/igh-ethercat/Config.in +3 -0
@@ -1,3 +1,6 @@ +comment "igh-ethercat needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + config BR2_PACKAGE_IGH_ETHERCAT bool "igh-ethercat" depends on BR2_LINUX_KERNEL
package/ktap/Config.in +1 -1
@@ -18,7 +18,7 @@ config BR2_PACKAGE_KTAP http://www.ktap.org -comment "ktap requires a linux kernel to be built" +comment "ktap needs a Linux kernel to be built" depends on !BR2_LINUX_KERNEL comment "ktap needs a toolchain w/ threads"
package/libfslvpuwrap/Config.in +1 -1
@@ -1,4 +1,4 @@ -comment "libfslvpuwrap needs an imx-specific kernel to be built" +comment "libfslvpuwrap needs an imx-specific Linux kernel to be built" depends on BR2_arm depends on !BR2_LINUX_KERNEL
package/linux-fusion/Config.in +3 -0
@@ -1,3 +1,6 @@ +comment "linux-fusion needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + config BR2_PACKAGE_LINUX_FUSION depends on BR2_LINUX_KERNEL bool "linux-fusion communication layer for DirectFB multi"
package/lttng-modules/Config.in +1 -1
@@ -17,5 +17,5 @@ config BR2_PACKAGE_LTTNG_MODULES http://lttng.org -comment "lttng-modules requires a linux kernel to be built" +comment "lttng-modules needs a Linux kernel to be built" depends on !BR2_LINUX_KERNEL
package/on2-8170-libs/Config.in +1 -1
@@ -10,6 +10,6 @@ config BR2_PACKAGE_ON2_8170_LIBS http://www.at91.com/linux4sam/bin/view/Linux4SAM/SAM9M10Gstreamer -comment "on2-8170-libs needs an (e)glibc toolchain and a linux kernel to be built" +comment "on2-8170-libs needs an (e)glibc toolchain and a Linux kernel to be built" depends on BR2_arm926t depends on !BR2_LINUX_KERNEL || !BR2_TOOLCHAIN_USES_GLIBC
package/on2-8170-modules/Config.in +2 -2
@@ -1,5 +1,5 @@ config BR2_PACKAGE_ON2_8170_MODULES - bool "on2-8170 modules" + bool "on2-8170-modules" depends on BR2_LINUX_KERNEL depends on BR2_arm926t help
@@ -7,6 +7,6 @@ config BR2_PACKAGE_ON2_8170_MODULES http://www.at91.com/linux4sam/bin/view/Linux4SAM/SAM9M10Gstreamer -comment "on2-8170 modules requires a linux kernel to be built" +comment "on2-8170-modules needs a Linux kernel to be built" depends on BR2_arm926t depends on !BR2_LINUX_KERNEL
package/owl-linux/Config.in +1 -1
@@ -9,7 +9,7 @@ config BR2_PACKAGE_OWL_LINUX http://linux.hd-wireless.se/bin/view/Linux/GettingStarted -comment "owl-linux requires a Linux kernel" +comment "owl-linux needs a Linux kernel to be built" depends on !BR2_LINUX_KERNEL depends on BR2_arm || BR2_armeb
package/perf/Config.in +1 -1
@@ -18,5 +18,5 @@ config BR2_PACKAGE_PERF https://perf.wiki.kernel.org/ -comment "perf only available if Linux kernel is enabled, and needs a toolchain w/ largefile" +comment "perf needs a toolchain w/ largefile and a Linux kernel to be built" depends on !BR2_LINUX_KERNEL || !BR2_LARGEFILE
package/ti-gfx/Config.in +1 -1
@@ -60,6 +60,6 @@ endchoice endif -comment "ti-gfx needs an (e)glibc toolchain and the linux kernel" +comment "ti-gfx needs an (e)glibc toolchain and a Linux kernel to be built" depends on BR2_arm depends on !(BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC)
PATCH 1/1 manual: clarify format of comments about dependency on Linux kernel
In reply to Thomas De SchampheleireSigned-off-by Thomas De Schampheleire <[email protected]>
--- docs/manual/adding-packages-directory.txt | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-)
docs/manual/adding-packages-directory.txt +16 -0
@@ -253,6 +253,22 @@ use in the comment. ** Dependency symbol: +!BR2_PREFER_STATIC_LIB+ ** Comment string: +dynamic library+ +Dependencies on a Linux kernel built by buildroot +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Some packages need a Linux kernel to be built by buildroot. These are +typically kernel modules or firmware. A comment should be added in the +Config.in file to express this dependency, similar to dependencies on +toolchain options. The general format is: + +-------------------------- +foo needs a Linux kernel to be built +-------------------------- + +If there is a dependency on both toolchain options and the Linux +kernel, use this format: +-------------------------- +foo needs a toolchain w/ featA, featB, featC and a Linux kernel to be built +-------------------------- The +.mk+ file ~~~~~~~~~~~~~~
PATCH 1/1 Unification of comments about dependency on Linux kernel
In reply to Thomas De SchampheleireQuoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas De Schampheleire <[email protected]> writes:
Signed-off-by Thomas De Schampheleire <[email protected]>
Committed series, thanks.
Signature · 1 line
Bye, Peter Korsgaard