manual: explain format of comment about udev /dev management dependency
authorThomas De Schampheleire <patrickdepinguin@gmail.com>
Thu, 19 Dec 2013 20:13:02 +0000 (21:13 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 19 Dec 2013 20:54:36 +0000 (21:54 +0100)
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
docs/manual/adding-packages-directory.txt

index 57f32044121890a1e130e5b3609fc39e622a7ad8..754a14505f75c2fa997c59ded6060034be20c012 100644 (file)
@@ -270,6 +270,23 @@ kernel, use this format:
 foo needs a toolchain w/ featA, featB, featC and a Linux kernel to be built
 --------------------------
 
+Dependencies on udev /dev management
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+If a package needs udev /dev management, it should depend on symbol
++BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV+, and the following comment
+should be added:
+
+--------------------------
+foo needs udev /dev management
+--------------------------
+
+If there is a dependency on both toolchain options and udev /dev
+management, use this format:
+
+--------------------------
+foo needs udev /dev management and a toolchain w/ featA, featB, featC
+--------------------------
+
 The +.mk+ file
 ~~~~~~~~~~~~~~
 [[adding-packages-mk]]