From 6386eda4a75d8dd997039e411e55fb41bb2364b9 Mon Sep 17 00:00:00 2001 From: Thomas De Schampheleire Date: Thu, 19 Dec 2013 21:13:02 +0100 Subject: [PATCH] manual: explain format of comment about udev /dev management dependency Signed-off-by: Thomas De Schampheleire Signed-off-by: Peter Korsgaard --- docs/manual/adding-packages-directory.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/manual/adding-packages-directory.txt b/docs/manual/adding-packages-directory.txt index 57f3204412..754a14505f 100644 --- a/docs/manual/adding-packages-directory.txt +++ b/docs/manual/adding-packages-directory.txt @@ -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]] -- 2.30.2