summaryrefslogtreecommitdiff
path: root/package/tinyalsa
diff options
context:
space:
mode:
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>2016-11-04 16:28:42 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-11-05 13:17:29 +0100
commitd2362fc9c4d6add63c0a5c077d2729c0a67f239f (patch)
tree7fff5780756f3368acc68c586931a969894e92e7 /package/tinyalsa
parentac607c85a7152c3d0eaa3fde6b5344b283220bed (diff)
tinyalsa: avoid install in /usr/local/
Set the PREFIX to avoid installing files in [...]/usr/local/. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/tinyalsa')
-rw-r--r--package/tinyalsa/tinyalsa.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/tinyalsa/tinyalsa.mk b/package/tinyalsa/tinyalsa.mk
index 4cd01d5d4..87753d6f4 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