diff options
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/bsp/help.py | 48 |
1 files changed, 44 insertions, 4 deletions
diff --git a/scripts/lib/bsp/help.py b/scripts/lib/bsp/help.py index f78b09b0b0..2d16d2e0ec 100644 --- a/scripts/lib/bsp/help.py +++ b/scripts/lib/bsp/help.py | |||
@@ -115,6 +115,18 @@ yocto_bsp_create_usage = """ | |||
115 | 'properties' that will be used to fill out the BSP-specific portions | 115 | 'properties' that will be used to fill out the BSP-specific portions |
116 | of the BSP. The possible values for the 'karch' paramter can be | 116 | of the BSP. The possible values for the 'karch' paramter can be |
117 | listed via 'yocto-bsp list karch'. | 117 | listed via 'yocto-bsp list karch'. |
118 | |||
119 | NOTE: Once created, you should add your new layer to your | ||
120 | bblayers.conf file in order for it to be subsequently seen and | ||
121 | modified by the yocto-kernel tool. | ||
122 | |||
123 | See 'yocto bsp help create' for more detailed instructions. | ||
124 | |||
125 | NOTE: For x86- and x86_64-based BSPs, the generated BSP assumes the | ||
126 | presence of the meta-intel layer. Ensure the meta-intel layer is | ||
127 | present and added to bblayers.conf. | ||
128 | |||
129 | See 'yocto bsp help create' for more detailed instructions. | ||
118 | """ | 130 | """ |
119 | 131 | ||
120 | yocto_bsp_create_help = """ | 132 | yocto_bsp_create_help = """ |
@@ -156,12 +168,40 @@ DESCRIPTION | |||
156 | current directory, and is useful for debugging. | 168 | current directory, and is useful for debugging. |
157 | 169 | ||
158 | NOTE: Once created, you should add your new layer to your | 170 | NOTE: Once created, you should add your new layer to your |
159 | bblayers.conf file in order for it to be subsquently seen and | 171 | bblayers.conf file in order for it to be subsequently seen and |
160 | modified by the yocto-kernel tool. | 172 | modified by the yocto-kernel tool. |
161 | 173 | ||
162 | NOTE for x86- and x86_64-based BSPs: The generated BSP assumes the | 174 | For example, assuming your poky repo is at /path/to/poky, your new |
163 | presence of the of the meta-intel layer, so you should also have a | 175 | BSP layer is at /path/to/poky/meta-mybsp, and your build directory |
164 | meta-intel layer present and added to your bblayers.conf as well. | 176 | is /path/to/build: |
177 | |||
178 | $ gedit /path/to/build/conf/bblayers.conf | ||
179 | |||
180 | BBLAYERS ?= " \\ | ||
181 | /path/to/poky/meta \\ | ||
182 | /path/to/poky/meta-yocto \\ | ||
183 | /path/to/poky/meta-mybsp \\ | ||
184 | " | ||
185 | |||
186 | NOTE: For x86- and x86_64-based BSPs, the generated BSP assumes | ||
187 | the presence of the meta-intel layer. Ensure the meta-intel layer | ||
188 | is present and added to bblayers.conf. | ||
189 | |||
190 | For example, assuming your poky repo is at /path/to/poky, your new | ||
191 | BSP layer is at /path/to/poky/meta-mybsp, and your build directory | ||
192 | is /path/to/build: | ||
193 | |||
194 | $ cd /path/to/poky | ||
195 | $ git clone git://git.yoctoproject.org/meta-intel.git | ||
196 | |||
197 | $ gedit /path/to/build/conf/bblayers.conf | ||
198 | |||
199 | BBLAYERS ?= " \\ | ||
200 | /path/to/poky/meta \\ | ||
201 | /path/to/poky/meta-yocto \\ | ||
202 | /path/to/poky/meta-intel \\ | ||
203 | /path/to/poky/meta-mybsp \\ | ||
204 | " | ||
165 | """ | 205 | """ |
166 | 206 | ||
167 | yocto_bsp_list_usage = """ | 207 | yocto_bsp_list_usage = """ |