[dpdk-dev] [PATCH v2] mk: fix make defconfig on FreeBSD
Burakov, Anatoly
anatoly.burakov at intel.com
Tue Apr 10 17:55:43 CEST 2018
On 10-Apr-18 4:44 PM, David Hunt wrote:
> On FreeBSD, make defconfig generates the config as "defconfig_x86_64-bsdapp-",
> which does not resolve to any known config file.
>
> This fix starts by introducing a 'compiler' variable which is set by executing
> "${CC} --version" and pulling out the name of the compiler.
>
> On FreeBDS,
^^ FreeBSD :)
we get amd64 out of "uname -m", which was not handled by the list
> of checks, but which now resolves to x86_64-native
Probably should end with a period?
>
> The remaining code in the patch then takes ${compiler}, the "uname -m"
> output and assembles them all together into a valid freebsd config name,
> i.e. "defconfig_x86_64-native-bsdapp-clang"
Same here, end with period?
>
> Fixes: bce6c42c4ad5 ("mk: add sensible default target with defconfig")
>
> Signed-off-by: David Hunt <david.hunt at intel.com>
> ---
Left out my Tested-by.
--
Thanks,
Anatoly
More information about the dev
mailing list