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>
pull/1/head
Uwe Kleine-König 2013-08-17 21:28:10 +02:00 committed by Oliver Hartkopp
parent cc82fd9737
commit 93ef3b1d81
1 changed files with 2 additions and 2 deletions

View File

@ -38,8 +38,8 @@
#
# Send feedback to <linux-can@vger.kernel.org>
DESTDIR =
PREFIX = /usr/local
DESTDIR ?=
PREFIX ?= /usr/local
MAKEFLAGS = -k