Patchwork [v3,2/6] Makefile: add $(HOST_DIR)/sbin to BR2_PATH

login
register
mail settings
Submitter Samuel Martin
Date Jan. 30, 2014, 8:38 p.m.
Message ID <1391114333-28001-3-git-send-email-s.martin49@gmail.com>
Download mbox | patch
Permalink /patch/315448/
State Superseded
Headers show

Comments

Samuel Martin - Jan. 30, 2014, 8:38 p.m.
Extend BR2_PATH because few host-packages install programs in this
location.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>

---
changes v2 -> v3:
- rebase

changes v1 -> v2:
- rebase
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Thomas Petazzoni - Jan. 31, 2014, 8:25 a.m.
Dear Samuel Martin,

On Thu, 30 Jan 2014 21:38:49 +0100, Samuel Martin wrote:
> Extend BR2_PATH because few host-packages install programs in this
> location.

s/few/a few/

The meaning is completely different otherwise :)

Thomas

Patch

diff --git a/Makefile b/Makefile
index 0d638ce..5e8cfd8 100644
--- a/Makefile
+++ b/Makefile
@@ -306,7 +306,7 @@  TAR_OPTIONS=$(call qstrip,$(BR2_TAR_OPTIONS)) -xf
 HOST_DIR:=$(call qstrip,$(BR2_HOST_DIR))
 
 # Set BR2_PATH (including host bindirs)
-BR2_PATH:="$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(HOST_DIR)/usr/sbin/:$(PATH)"
+BR2_PATH:="$(HOST_DIR)/bin:$(HOST_DIR)/sbin:$(HOST_DIR)/usr/bin:$(HOST_DIR)/usr/sbin/:$(PATH)"
 
 # locales to generate
 GENERATE_LOCALE=$(call qstrip,$(BR2_GENERATE_LOCALE))