Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] tinyalsa: avoid install in /usr/local/
@ 2016-11-04 15:28 Maxime Hadjinlian
  2016-11-05 12:17 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Maxime Hadjinlian @ 2016-11-04 15:28 UTC (permalink / raw)
  To: buildroot

Set the PREFIX to avoid installing files in [...]/usr/local/.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/tinyalsa/tinyalsa.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/tinyalsa/tinyalsa.mk b/package/tinyalsa/tinyalsa.mk
index 4cd01d5..87753d6 100644
--- a/package/tinyalsa/tinyalsa.mk
+++ b/package/tinyalsa/tinyalsa.mk
@@ -16,6 +16,7 @@ endef
 define TINYALSA_INSTALL_STAGING_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) \
 		-C $(@D) \
+		PREFIX="/usr" \
 		CROSS_COMPILE="$(TARGET_CROSS)" \
 		DESTDIR="$(STAGING_DIR)" install
 endef
@@ -23,6 +24,7 @@ endef
 define TINYALSA_INSTALL_TARGET_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) \
 		-C $(@D) \
+		PREFIX="/usr" \
 		CROSS_COMPILE="$(TARGET_CROSS)" \
 		DESTDIR="$(TARGET_DIR)" install
 endef
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-05 12:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-04 15:28 [Buildroot] [PATCH] tinyalsa: avoid install in /usr/local/ Maxime Hadjinlian
2016-11-05 12:17 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox