devtools: better freebsd support
authorOlivier Matz <olivier.matz@6wind.com>
Thu, 23 May 2019 07:43:18 +0000 (09:43 +0200)
committerOlivier Matz <olivier.matz@6wind.com>
Tue, 9 Jul 2019 11:42:14 +0000 (13:42 +0200)
commit95d4a506ae40ba5204b79d3a91fa12f22ec50390
tree2c021704a7479c52ef630e4a3f5caf0ed9543538
parentcc091931dc05212db32ddbd7da3031104ca4963f
devtools: better freebsd support

- As "readlink -e" and "readlink -m" do not exist on freebsd,
  use "readlink -f", it should not have any impact in these cases.
- "sed -ri" is invalid on freebsd and should be replaced by
  "sed -ri=''"
- Use gmake instead of make.

This fixes the following command:
  SYSDIR=/usr/src/sys ./devtools/test-build.sh \
    -j4 x86_64-native-freebsd-gcc

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
devtools/check-dup-includes.sh
devtools/checkpatches.sh
devtools/get-maintainer.sh
devtools/load-devel-config
devtools/test-build.sh
devtools/validate-abi.sh