update buildroot to 2017.02.11
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
Disable doxygen usage
|
||||
|
||||
In order to avoid a dependency on doxygen on the build machine, this
|
||||
patch adjusts the main Makefile to not build and install the
|
||||
documentation.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/Makefile
|
||||
===================================================================
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -13,13 +13,11 @@
|
||||
all:
|
||||
$(MAKE) -C src
|
||||
$(MAKE) -C utils
|
||||
- $(MAKE) -C doxygen
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
$(MAKE) -C src clean
|
||||
$(MAKE) -C utils clean
|
||||
- $(MAKE) -C doxygen clean
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
@@ -27,5 +25,3 @@
|
||||
cp -Ru include/tinyalsa $(DESTDIR)$(INCDIR)/
|
||||
$(MAKE) -C src install
|
||||
$(MAKE) -C utils install
|
||||
- $(MAKE) -C doxygen install
|
||||
-
|
||||
17
bsp/buildroot-2017.02.11/package/tinyalsa/Config.in
Normal file
17
bsp/buildroot-2017.02.11/package/tinyalsa/Config.in
Normal file
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_TINYALSA
|
||||
bool "tinyalsa"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
a small library to interface with ALSA in the Linux kernel
|
||||
|
||||
The aims are:
|
||||
|
||||
- Provide a basic pcm and mixer API
|
||||
- If it's not absolutely needed, don't add it to the API
|
||||
- Avoid supporting complex and unnecessary operations that could be dealt
|
||||
with at a higher level
|
||||
|
||||
https://github.com/tinyalsa/tinyalsa
|
||||
|
||||
comment "tinyalsa needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
2
bsp/buildroot-2017.02.11/package/tinyalsa/tinyalsa.hash
Normal file
2
bsp/buildroot-2017.02.11/package/tinyalsa/tinyalsa.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# locally computed
|
||||
sha256 93f4ca1e6345974167dc5577e8151a31fa2e6a628727a72d59e18db2289e7a1c tinyalsa-1.1.0.tar.gz
|
||||
33
bsp/buildroot-2017.02.11/package/tinyalsa/tinyalsa.mk
Normal file
33
bsp/buildroot-2017.02.11/package/tinyalsa/tinyalsa.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# tinyalsa
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TINYALSA_VERSION = 1.1.0
|
||||
TINYALSA_SITE = $(call github,tinyalsa,tinyalsa,$(TINYALSA_VERSION))
|
||||
TINYALSA_LICENSE = BSD-3c
|
||||
TINYALSA_LICENSE_FILES = NOTICE
|
||||
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) \
|
||||
PREFIX="/usr" \
|
||||
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||
DESTDIR="$(STAGING_DIR)" install
|
||||
endef
|
||||
|
||||
define TINYALSA_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) \
|
||||
-C $(@D) \
|
||||
PREFIX="/usr" \
|
||||
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||
DESTDIR="$(TARGET_DIR)" install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user