How to download webos header and source files only?
cscd98 opened this issue · 7 comments
I just want to download the web os (open source) sdk without all the tool chain etc?
I want to start looking at
#include <wayland-webos-shell-client-protocol.h>
etc.
Thanks!
@shr-project I've seen those. But they are just xml files and not the actual headers and c source files?
Just use wayland-scanner on them as described in CMake
As you were building whole webOS OSE image before, you can build just this recipe with "bitbake webos-wayland-extensions" and it will do it for you (without building any unnecessary dependencies).
@shr-project I don't speak CMake :)
git clone https://github.com/webosose/build-webos.git
./mcf -p 2 -b 2 raspberrypi4 (tried 8, then 4, now trying 2) - I have 8 core CPU with 16 GB
(let it do it's thing)
bitbake webos-wayland-extensions
bitbake: command not found
Do I need to run make first? (preferably not make on it's own, as that downloads 10,000 packages it seems)
bitbake exists in a sub-folder.
source oe-init-build-env then call bitbake
@shr-project Thanks I think i've found what I'm looking for:
BUILD/sysroots-components/raspberrypi4/webos-wayland-extensions/usr/include
I'm assuming I don't need/have the relevant c/cpp files?
Do I then need to link against the libs in:
BUILD/sysroots-components/raspberrypi4/webos-wayland-extensions/usr/lib
I noticed it built against glibc. Is there anyway to override the version that it uses? (https://ftp.gnu.org/gnu/glibc/)
As well as the kernel headers?
Also, if I want to include the headers in my project, do I just copy across
webos-wayland-extensions/usr/include
Into my project and link against existing wayland source & libs I already have?