mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
ac607c85a7
commit
d2362fc9c4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user