xen: remove the usage of the P ar option
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 30 Dec 2020 17:34:46 +0000 (18:34 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 31 Dec 2020 16:19:00 +0000 (16:19 +0000)
commit1516ecd6f55fe3608f374f4f2548491472d1c9a1
tree3fb2a9c446ee39357f002adfa4a2fe81e9b43a50
parent8cefa4b8de4113df58783081d201490ac83a19de
xen: remove the usage of the P ar option

It's not part of the POSIX standard [0] and as such non GNU ar
implementations don't usually have it.

It's not relevant for the use case here anyway, as the archive file is
recreated every time due to the rm invocation before the ar call. No
file name matching should happen so matching using the full path name
or a relative one should yield the same result.

This fixes the build on FreeBSD.

While there also drop the s option, as ar will already generate a
symbol table by default when creating the archive.

[0] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ar.html

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/Rules.mk