-
Notifications
You must be signed in to change notification settings - Fork 16
feat(endpoint): Integrate Legato AF #576
Comments
The cross compiler problem is hard to resolve even if I check the official Bazel document or the Bazel example. The description is not enough and when I tried the example, there are some problems like the header inclusion. Besides, we have 2 build system, Bazel and Makefile. I decide to use Makefile only to build the Although we already have some cross compiler enabled in |
If we move the mbedtls and the http-parser into bazel build system. Will it be easier? |
I don't think so. We have to study the building relation first and convert them to Bazel. |
Here is another potential problem which should be taken care with. In order to build the app with The real behaviour has not been run yet. |
The recommended steps for building anything for Using the Bazel to build the shared library directly for
The possible steps: |
Here are the experimented steps:
|
The files and directory structure are changed. The directory endpoint/endpointComp is for building the Legato app. The endpoint/endpoint.c is renamed as endpoint/endpoint_core.c to separate the core functions. Same as the endpoint/endpoint.h. New: To build the endpoint Legato app, use the command 'make legato'. It is implemented with the mkapp command. Besides, the shared library libendpoint.so can be generated with Bazel as well. Close #576.
The files and directory structure are changed. The directory endpoint/endpointComp is for building the Legato app. The endpoint/endpoint.c is renamed as endpoint/endpoint_core.c to separate the core functions. Same as the endpoint/endpoint.h. New: To build the endpoint Legato app, use the command 'make legato'. It is implemented with the mkapp command. Besides, the shared library libendpoint.so can be generated with Bazel as well. Close #576.
The files and directory structure are changed. The directory endpoint/endpointComp is for building the Legato app. The endpoint/endpoint.c is renamed as endpoint/endpoint_core.c to separate the core functions. Same as the endpoint/endpoint.h. New: To build the endpoint Legato app, use the command 'make legato'. It is implemented with the mkapp command. Besides, the shared library libendpoint.so can be generated with Bazel as well. Close #576.
Build endpoint as legato app.
The text was updated successfully, but these errors were encountered: