tools: Handle existing link to acpi directory
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Sun, 23 Oct 2016 23:09:19 +0000 (19:09 -0400)
committerWei Liu <wei.liu2@citrix.com>
Mon, 24 Oct 2016 10:08:36 +0000 (11:08 +0100)
commit7b9a172af0583a0e8fa98f255325072daa7bb40d
tree3bad6899174064a58101f00074fd5c847c73f600
parent0beaeccdd6cf8accfbdbeb8f92542a16eac81e5e
tools: Handle existing link to acpi directory

The link to acpi include directory is not removed by Makefile's 'clean'
target. This can lead to make failure when making xen/.dir target if
we try to create the link again.

We can prevent this failure by (1) removing acpi link when cleaning up
and (2) adding '-f' option to 'ln' (just like we do for other targets).

We should also add tools/include/acpi link to .gitignore.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
.gitignore
tools/include/Makefile