2015-03-20 13:35:19 +01:00
|
|
|
################################################################################
|
2014-10-05 19:51:28 +02:00
|
|
|
#
|
|
|
|
# tinyalsa
|
|
|
|
#
|
2015-03-20 13:35:19 +01:00
|
|
|
################################################################################
|
2014-10-05 19:51:28 +02:00
|
|
|
|
2016-12-15 12:40:40 +01:00
|
|
|
TINYALSA_VERSION = 1.1.0
|
2014-10-05 19:51:28 +02:00
|
|
|
TINYALSA_SITE = $(call github,tinyalsa,tinyalsa,$(TINYALSA_VERSION))
|
|
|
|
TINYALSA_LICENSE = BSD-3c
|
2016-12-15 12:40:41 +01:00
|
|
|
TINYALSA_LICENSE_FILES = NOTICE
|
2014-10-05 19:51:28 +02:00
|
|
|
TINYALSA_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
define TINYALSA_BUILD_CMDS
|
2016-10-14 00:13:21 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D)
|
2014-10-05 19:51:28 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define TINYALSA_INSTALL_STAGING_CMDS
|
2016-11-02 18:46:24 +01:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) \
|
|
|
|
-C $(@D) \
|
2016-11-04 16:28:42 +01:00
|
|
|
PREFIX="/usr" \
|
2016-11-02 18:46:24 +01:00
|
|
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
|
|
|
DESTDIR="$(STAGING_DIR)" install
|
2014-10-05 19:51:28 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define TINYALSA_INSTALL_TARGET_CMDS
|
2016-11-02 18:46:24 +01:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) \
|
|
|
|
-C $(@D) \
|
2016-11-04 16:28:42 +01:00
|
|
|
PREFIX="/usr" \
|
2016-11-02 18:46:24 +01:00
|
|
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
|
|
|
DESTDIR="$(TARGET_DIR)" install
|
2014-10-05 19:51:28 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|