[Buildroot] [PATCH] tinyalsa: Fix overwrite of asound.h

Maxime Hadjinlian maxime.hadjinlian at gmail.com
Sat Oct 18 13:21:14 UTC 2014


As stated by Maarten ter Huurne on the mailing list, the install of the
asound.h headers overwrite the one from the toolchains or kernel
headers.
Since tinyals's header is only a subset of the 'real' asound.h, there is
no need to overwrite it.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian at gmail.com>
Cc: Maarten ter Huurne <maarten at treewalker.org>
Cc: Thomas Petazzoni  <thomas.petazzoni at free-electrons.com>
---
 package/tinyalsa/tinyalsa.mk | 2 --
 1 file changed, 2 deletions(-)

diff --git a/package/tinyalsa/tinyalsa.mk b/package/tinyalsa/tinyalsa.mk
index b287e78..48288f1 100644
--- a/package/tinyalsa/tinyalsa.mk
+++ b/package/tinyalsa/tinyalsa.mk
@@ -16,8 +16,6 @@ endef
 define TINYALSA_INSTALL_STAGING_CMDS
 	$(INSTALL) -D -m 0755 $(@D)/libtinyalsa.so \
 			$(STAGING_DIR)/usr/lib/libtinyalsa.so
-	$(INSTALL) -D -m 0644 $(@D)/include/sound/asound.h \
-			$(STAGING_DIR)/usr/include/sound/asound.h
 	$(INSTALL) -D -m 0644 $(@D)/include/tinyalsa/asoundlib.h \
 			$(STAGING_DIR)/usr/include/tinyalsa/asoundlib.h
 endef
-- 
2.1.1



More information about the buildroot mailing list