tools/include/xen-foreign: avoid to rely on default .SUFFIXES
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 6 Dec 2021 17:02:04 +0000 (17:02 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 16 Dec 2021 20:27:12 +0000 (20:27 +0000)
commitdca4416a78435c0e63c726c0b683e48f909cde88
treeefa9fa408ab4e2edb62956e6054cbc825f4f1858
parentaff380118b413d45b40680af8fa8980ecd4d69c0
tools/include/xen-foreign: avoid to rely on default .SUFFIXES

When a rule isn't a pattern rule, and thus don't have a %, the
value of the automatic variable stem $* depends on .SUFFIXES. GNU make
manual explain that it is better to avoid this "bizarre" behavior
which exist for compatibility.

Use $(basename ) instead. So we can one day avoid make's build-in
rules and variables.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/include/xen-foreign/Makefile