devtools: better freebsd support scripts
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 9 Apr 2019 15:19:53 +0000 (17:19 +0200)
committerOlivier Matz <olivier.matz@6wind.com>
Wed, 22 May 2019 16:24:38 +0000 (18:24 +0200)
commitc38a071e2356b5dc088251f819b0748da8f8fb4d
tree147dae7e65dc2d9d47d19adb3753956a3b430c5a
parent4bccbe5921d84222e55fbd5dc3eec999fb24497c
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 -r -i ''"
- 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