[Buildroot] [PATCH] board: add support for nanopi-m1-plus
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Jul 10 11:35:55 UTC 2017
Hello,
On Mon, 10 Jul 2017 16:58:01 +0530, Chakra D wrote:
> Will add the info about mainline
>
> > Also, please put this patch in:
> >
> > board/friendlyarm/nanopi-m1-plus/linux/patches/
I was wrong, it should be the opposite:
board/friendlyarm/nanopi-m1-plus/patches/linux/
> > and name it just 0001-<something>.patch (i.e without the linux- prefix).
> >
>
> Do we need additional "patches" directory here ? Is this a convention
> we need to follow for adding patches ?
See above. With BR2_GLOBAL_PATCH_DIR, you need one sub-directory per
package. So, you can do:
BR2_GLOBAL_PATCH_DIR="board/friendlyarm/nanopi-m1-plus/"
with the Linux patch in board/friendlyarm/nanopi-m1-plus/linux
or you can do:
BR2_GLOBAL_PATCH_DIR="board/friendlyarm/nanopi-m1-plus/patches/"
with the Linux patch in board/friendlyarm/nanopi-m1-plus/patches/linux
The latter being the preferred way. See board/beaglebone/ for example.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list