diff --git a/docs/dev/hardware.rst b/docs/dev/hardware.rst index 54ae75e0..75ec8e55 100644 --- a/docs/dev/hardware.rst +++ b/docs/dev/hardware.rst @@ -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 `_). -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