Skip to content
Snippets Groups Projects
Unverified Commit 0775bf76 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

docs: dev/hardware: update libplatforminfo instructions

parent 08386a77
Branches
Tags
No related merge requests found
...@@ -119,10 +119,11 @@ required for adding a new target: ...@@ -119,10 +119,11 @@ required for adding a new target:
Package adjustments Package adjustments
''''''''''''''''''' '''''''''''''''''''
One package that definitely needs adjustments for every new target added is ``libplatforminfo`` (to be found in One package that may need adjustments for new targets is ``libplatforminfo`` (to be found in
`packages/gluon/libs/libplatforminfo <https://github.com/freifunk-gluon/packages/tree/master/libs/libplatforminfo>`_). `packages/gluon/libs/libplatforminfo <https://github.com/freifunk-gluon/packages/tree/master/libs/libplatforminfo>`_).
Start with a copy of an existing platform info source file and adjust it for the new target (or just add a symlink if If the new platform works fine with the definitions found in ``default.c``, nothing needs to be done. Otherwise,
there is nothing to adjust). Then add the new target to the DEPENDS variable in the ``libplatforminfo`` package Makefile. create a definition for the added target or subtarget, either by symlinking one of the files in the ``templates``
directory, or adding a new source file.
On many targets, Gluon's network setup scripts (mainly in the packages ``gluon-core`` and ``gluon-mesh-batman-adv-core``) On many targets, Gluon's network setup scripts (mainly in the packages ``gluon-core`` and ``gluon-mesh-batman-adv-core``)
won't run correctly without some adjustments, so better double check that everything is fine there (and the files won't run correctly without some adjustments, so better double check that everything is fine there (and the files
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment