[Buildroot] [git commit] tinyalsa: avoid install in /usr/local/
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Nov 5 12:17:29 UTC 2016
commit: https://git.buildroot.net/buildroot/commit/?id=d2362fc9c4d6add63c0a5c077d2729c0a67f239f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Set the PREFIX to avoid installing files in [...]/usr/local/.
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.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
More information about the buildroot
mailing list