restool: fix compilation with GCC 10
authorKuan-Yi Li <kyli@abysm.org>
Fri, 17 Sep 2021 06:27:47 +0000 (14:27 +0800)
committerStijn Tintel <stijn@linux-ipv6.be>
Tue, 21 Sep 2021 18:07:55 +0000 (21:07 +0300)
commitb62a4cfc9330e9631a372a11fa9e09ac809080f5
tree906ee44926c39f2088e66a3cdf164a6787839465
parent17d19a7d4398789ae8da3daf8e0db167d58b0782
restool: fix compilation with GCC 10

GCC 10 defaults to `-fno-common` and complains about multiple definition
of `mc_status` in restool.

Backport a patch from upstream to fix compilation with host GCC 10.

Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
package/network/utils/layerscape/restool/Makefile
package/network/utils/layerscape/restool/patches/0001-restool-fix-get_device_file-function.patch
package/network/utils/layerscape/restool/patches/0002-restool-yocto-build-issue.patch [new file with mode: 0644]