From 0be38301249d797ec1f59071cc868ceda6d4720a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com>
Date: Tue, 12 Apr 2016 12:50:32 +0100
Subject: [PATCH 1/2] config.mk: allow prefix / mandir / localedir from
 environment
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

We want to control them using OE environment variables.

Upstream-Status: Inappropriate [embedded-specific]
Signed-off-by: André Draszik <andre.draszik@jci.com>
---
 config.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/config.mk b/config.mk
index 71f17e5..81d9702 100644
--- a/config.mk
+++ b/config.mk
@@ -249,7 +249,7 @@ ifeq ($(WITH_DOCS),yes)
 endif
 
 INSTALL?=install
-prefix=/usr/local
-mandir=${prefix}/share/man
-localedir=${prefix}/share/locale
+prefix?=/usr/local
+mandir?=${prefix}/share/man
+localedir?=${prefix}/share/locale
 STRIP?=strip
-- 
2.15.1

