kumquat-buildroot/package/tinyalsa/tinyalsa.mk
Maxime Hadjinlian ab70598952 tinyalsa: bump version to 1.0.2
tinyalsa has started doing release, so we will use it.

With this release, both our patches were applied mainline:
    - 0001-tinypcminfo-make-function-pcm_get_format_name-static.patch [1]
    - 0002-asound.h-include-time.h-to-get-struct-timespec-proto.patch [2]

The Makefile has changed a lot, so we take advantage of that to simplify
our package.

1. 7d204edfe8
2. c8333f8c7a

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[Thomas: add patch to remove doxygen usage.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-02 23:23:11 +01:00

31 lines
775 B
Makefile

################################################################################
#
# tinyalsa
#
################################################################################
TINYALSA_VERSION = v1.0.2
TINYALSA_SITE = $(call github,tinyalsa,tinyalsa,$(TINYALSA_VERSION))
TINYALSA_LICENSE = BSD-3c
TINYALSA_INSTALL_STAGING = YES
define TINYALSA_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D)
endef
define TINYALSA_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE) \
-C $(@D) \
CROSS_COMPILE="$(TARGET_CROSS)" \
DESTDIR="$(STAGING_DIR)" install
endef
define TINYALSA_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) \
-C $(@D) \
CROSS_COMPILE="$(TARGET_CROSS)" \
DESTDIR="$(TARGET_DIR)" install
endef
$(eval $(generic-package))