Makefile: fix distclean removal of $(O)
authorDanomi Manchego <danomimanchego123@gmail.com>
Wed, 23 Nov 2016 02:23:02 +0000 (21:23 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 23 Nov 2016 22:29:45 +0000 (23:29 +0100)
commit171d4103c565d618ac6dfc61dedf3e1a310e8d6c
tree7b2621e9ce08ae53564737e5283f003b65fb212a
parent82f7217b334cc5e86ed81b62c3c184a44c813405
Makefile: fix distclean removal of $(O)

The distclean target no longer removes the "output" directory for
in-tree builds, because $(O) is no longer just "output" in that
case. Change the test to be against "$(CURDIR)/output", to match
the O setting, and a similar test elsewhere in the same Makefile.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Makefile