docs: dev/hardware: update libplatforminfo instructions
This commit is contained in:
parent
08386a778a
commit
0775bf76aa
@ -119,10 +119,11 @@ required for adding a new target:
|
||||
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>`_).
|
||||
Start with a copy of an existing platform info source file and adjust it for the new target (or just add a symlink if
|
||||
there is nothing to adjust). Then add the new target to the DEPENDS variable in the ``libplatforminfo`` package Makefile.
|
||||
If the new platform works fine with the definitions found in ``default.c``, nothing needs to be done. Otherwise,
|
||||
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``)
|
||||
won't run correctly without some adjustments, so better double check that everything is fine there (and the files
|
||||
|
Loading…
Reference in New Issue
Block a user