Skip to contentSkip to conversation

tinyalsa: avoid install in /usr/local/

PATCH New Maxime Hadjinlian 2 participants 2 messages Nov 4, 2016 – Nov 5, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tinyalsa: avoid install in /usr/local/

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

---
 package/tinyalsa/tinyalsa.mk | 2 ++
 1 file changed, 2 insertions(+)
package/tinyalsa/tinyalsa.mk +2 -0
index 4cd01d5..87753d6 100644
@@ -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
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 tinyalsa: avoid install in /usr/local/

Hello,

Quoted 6 lines · Maxime Hadjinlian

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

---
 package/tinyalsa/tinyalsa.mk | 2 ++
 1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com