Adding systemwide library to BitBake layer
Created page with "=== Adding system-wide library to BitBake layer === System-wide library can be added to BitBake layer through several simple steps. ''libogg'' will be used here as an example. T..."
New page
=== Adding system-wide library to BitBake layer ===System-wide library can be added to BitBake layer through several simple steps. ''libogg'' will be used here as an example. This library will be added to ''meta-elphel393'' layer and we will apply a couple of patches to it.
The recipe for ''libogg'' is already included into ''poky/meta/recipes-multimedia'', but we need to apply some patches. There is no need to copy original recipe for this library as we can add special recipe into custom layer which will append Metadata to original recipe. Such recipes are called append files and they use ''.bbappend'' file type suffix. Append file must have the same name as its corresponding recipe. All we need to do is create ''libogg_1.3.2.bbappend'' file in ''meta/meta-elphel393/recipes-multimedia/libogg'' directory and add the following lines to the file:
<pre>
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI_append += "file://framing.c.patch \
file://ogg.h.patch"
</pre>
This file extends the locations so that BitBake could find patches and adds these patches to original recipe. ''1.3.2'' in the name is the library version and it should match in append file. If corresponding recipe is renamed to update to a newer library version, this ''.bbappend'' must be renamed as well.
Next step is appending ''libogg'' package to the list of packages in ''core-image-elphel393'' recipe which resides in ''meta-elphel393/recipes-core/images'' directory. Append library package to ''IMAGE_INSTALL_append'' variable.
<pre>
IMAGE_INSTALL_append += " python-core \
libogg \
...
</pre>
Now we can compile the library
<pre>
bitabke libogg -c compile
</pre>
and add it to roofs
<pre>
bitbake libogg -c populate_sysroot
</pre>
Or just launch ''bitbake libogg'' and BitBake will compile, package and copy this library to ''sysroots''. The library now can be used in cross-compiled user space application. Mikhail
05/05/16 [x393][framepars] by Andrey Filippov: changed user name to full name
Andrey Filippov committed changes to the Elphel git project :
changed user name to full name
changed user name to full name
05/04/16 [x393][framepars] by Andrey Filippov: updated bitfile to 0x03930087
Andrey Filippov committed changes to the Elphel git project :
updated bitfile to 0x03930087
updated bitfile to 0x03930087
05/04/16 [x393][framepars] by Andrey Filippov: Merge branch 'master' of github.com:Elphel/x393
Andrey Filippov committed changes to the Elphel git project :
Merge branch 'master' of github.com:Elphel/x393
Merge branch 'master' of github.com:Elphel/x393
05/04/16 [x393][master] by Andrey Filippov: multiple changes, synchronizing simulation with hardware
Andrey Filippov committed changes to the Elphel git project :
multiple changes, synchronizing simulation with hardware
multiple changes, synchronizing simulation with hardware
05/04/16 [linux-elphel][jtag] by Oleg Dzhimiev: init for 10389's PCA9571
Oleg Dzhimiev committed changes to the Elphel git project :
init for 10389's PCA9571
init for 10389's PCA9571
05/04/16 [linux-elphel][ahciwrite] by Oleg Dzhimiev: missed a func declaration in the top - for power off
Oleg Dzhimiev committed changes to the Elphel git project :
missed a func declaration in the top - for power off
missed a func declaration in the top - for power off
05/04/16 [linux-elphel][framepars] by Oleg Dzhimiev: more comments
Oleg Dzhimiev committed changes to the Elphel git project :
more comments
more comments
05/04/16 [linux-elphel][ahciwrite] by Oleg Dzhimiev: PCA9571 controlling
Oleg Dzhimiev committed changes to the Elphel git project :
PCA9571 controlling
PCA9571 controlling
05/04/16 [meta-elphel393][master] by Oleg Dzhimiev: driver for PCA9571 (compatible with PCA8574)
Oleg Dzhimiev committed changes to the Elphel git project :
driver for PCA9571 (compatible with PCA8574)
driver for PCA9571 (compatible with PCA8574)
05/03/16 [mechanical-parts][master] by Andrey Filippov: Merge branch 'master' of github.com:Elphel/mechanical-parts
Andrey Filippov committed changes to the Elphel git project :
Merge branch 'master' of github.com:Elphel/mechanical-parts
Merge branch 'master' of github.com:Elphel/mechanical-parts
05/03/16 [mechanical-parts][master] by Andrey Filippov: modified support
Andrey Filippov committed changes to the Elphel git project :
modified support
modified support
05/02/16 [linux-elphel][ahciwrite] by Oleg Dzhimiev: Merge branch 'master' of https://github.com/Elphel/linux-elphel
Oleg Dzhimiev committed changes to the Elphel git project :
Merge branch 'master' of https://github.com/Elphel/linux-elphel
Merge branch 'master' of https://github.com/Elphel/linux-elphel
05/02/16 [linux-elphel][framepars] by Oleg Dzhimiev: +'shutdown -hP ...'
Oleg Dzhimiev committed changes to the Elphel git project :
+'shutdown -hP ...'
+'shutdown -hP ...'
05/02/16 [linux-elphel][master-next] by Mikhail Karpenko: Merge branch 'master' of https://github.com/Elphel/linux-elphel
Mikhail Karpenko committed changes to the Elphel git project :
Merge branch 'master' of https://github.com/Elphel/linux-elphel
Merge branch 'master' of https://github.com/Elphel/linux-elphel
05/02/16 [linux-elphel][framepars] by Andrey Filippov: intermediate state, not working
Andrey Filippov committed changes to the Elphel git project :
intermediate state, not working
intermediate state, not working
05/02/16 [linux-elphel][ahciwrite] by Mikhail Karpenko: Detect and fix erroneous HW pointer in updateIRQJPEG_wp
Mikhail Karpenko committed changes to the Elphel git project :
Detect and fix erroneous HW pointer in updateIRQJPEG_wp
Detect and fix erroneous HW pointer in updateIRQJPEG_wp
05/02/16 [linux-elphel][ahciwrite] by Oleg Dzhimiev: +power_shutdown
Oleg Dzhimiev committed changes to the Elphel git project :
+power_shutdown
+power_shutdown
Elphel camera parts 0393-13
0393-13-01 - Back panel for NC393, connector openings for 10393A and 10389B connectors:
← Older revision Revision as of 20:50, 2 May 2016 Line 5: Line 5: {{Cad4a|0393-13-01}} {{Cad4a|0393-13-01}} ---- ---- +==== 0393-13-01A - Back panel for NC393, Rev. "A", connector openings for 10393A and 10389B connectors ==== +{{Cad4a|0393-13-01a}} +---- + ==== 0393-13-02 - Back panel for NC393, connector openings for 10393 board only ==== ==== 0393-13-02 - Back panel for NC393, connector openings for 10393 board only ==== {{Cad4a|0393-13-02}} {{Cad4a|0393-13-02}} ---- ---- MikhailElphel camera parts 0393-12
0393-12-30A - Sensor adjustment plate, Rev. A:
← Older revision Revision as of 20:45, 2 May 2016 (3 intermediate revisions not shown)Line 11: Line 11: === 0393-12-30 - Sensor adjustment plate === === 0393-12-30 - Sensor adjustment plate === {{Cad4a|0393-12-30}} {{Cad4a|0393-12-30}} +---- +=== 0393-12-30A - Sensor adjustment plate, Rev. "A" === +Note: X3D model will be updated later +{{Cad4a|0393-12-30A}} ---- ---- Line 16: Line 20: Made of stainless steel 316 hypodermic round tubing Made of stainless steel 316 hypodermic round tubing {{Cad4a|0393-12-31}} {{Cad4a|0393-12-31}} +---- +=== 0393-12-31A - Disk springs support pin, Rev. "A" === +Made of stainless steel 316 hypodermic round tubing + +Note: X3D model will be updated later +{{Cad4a|0393-12-31A}} ---- ---- MikhailPages
