aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2014-02-13 18:42:12 +0100
committerMaxim Uvarov <maxim.uvarov@linaro.org>2014-02-17 10:24:13 +0400
commitf9bce50785218804b6a51d184789db824f1f304e (patch)
tree4b321903767a9dee3ec0ebaa603976dbb9342697 /Makefile.inc
parent116f55dcc8a2387f394f7f5b47354f30834b067c (diff)
Makefile.inc: set default for DESTDIR
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index a0872f6a7..cb2a15a23 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -12,6 +12,7 @@ OBJ_DIR = ./obj
ODP_LIB = $(ODP_ROOT)/platform/$(PLATFORM)
ARCH_INC = $(ODP_ROOT)/platform/$(PLATFORM)/include/api
LIB = -L$(ODP_LIB)/lib -lodp
+DESTDIR ?= $(ODP_ROOT)/build
CFLAGS += -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes
CFLAGS += -Wmissing-declarations -Wold-style-definition -Wpointer-arith