can-utils: Don't overwrite PREFIX and DESTDIR when provided via the environment

For creating a Debian package providing PREFIX and DESTDIR via the
environment is the easiest option. So use ?= to assign these two
variables to honor the values in the environment.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
This commit is contained in:
Uwe Kleine-König
2013-08-18 12:49:50 +02:00
committed by Oliver Hartkopp
parent cc82fd9737
commit 93ef3b1d81
+2 -2
View File
@@ -38,8 +38,8 @@
#
# Send feedback to <linux-can@vger.kernel.org>
DESTDIR =
PREFIX = /usr/local
DESTDIR ?=
PREFIX ?= /usr/local
MAKEFLAGS = -k