What's the reason for symlinking the custom board to the in-tree
boards/ folder?  The configuration script accepts a relative path to a
custom location.

On Tue, Aug 3, 2021 at 9:56 AM Simon Filgis
<si...@ingenieurbuero-filgis.de> wrote:
>
> Dear all,
>
> I have my own board assembled with Atmel SAME70 and I would like to work on
> the board files "outside" the nuttix structure in a separate folder
> (custom_board). Now I symlinked my custom_board folder into nuttx:
>
> cd ../nuttx/boards/arm/samv7
> > ln -s ../../../../custom_board/ custom_board
>
>
> This only works if the find command gets a -L (follow symlinks) in
>
> function dumpcfgs
> > {
> >   configlist=`find -L ${TOPDIR}/boards -name defconfig`
> >   for defconfig in ${configlist}; do
> >     config=`dirname ${defconfig} | sed -e "s,${TOPDIR}/boards/,,g"`
> >     boardname=`echo ${config} | cut -d'/' -f3`
> >     configname=`echo ${config} | cut -d'/' -f5`
> >     echo "  ${boardname}:${configname}"
> >   done
> > }
>
>
> Has anybody any concern in adding -L to the find or in general with my
> approach?
>
> Regards,
>
> Simon
>
> Ingenieurbüro-Filgis
> USt-IdNr.: DE305343278

Reply via email to