diff mbox

tinyalsa: Fix overwrite of asound.h

Message ID 1413638474-7242-1-git-send-email-maxime.hadjinlian@gmail.com
State Accepted
Headers show

Commit Message

Maxime Hadjinlian Oct. 18, 2014, 1:21 p.m. UTC
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@gmail.com>
Cc: Maarten ter Huurne <maarten@treewalker.org>
Cc: Thomas Petazzoni  <thomas.petazzoni@free-electrons.com>
---
 package/tinyalsa/tinyalsa.mk | 2 --
 1 file changed, 2 deletions(-)

Comments

Thomas Petazzoni Oct. 18, 2014, 5:17 p.m. UTC | #1
Dear Maxime Hadjinlian,

On Sat, 18 Oct 2014 15:21:14 +0200, Maxime Hadjinlian wrote:
> 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@gmail.com>
> Cc: Maarten ter Huurne <maarten@treewalker.org>
> Cc: Thomas Petazzoni  <thomas.petazzoni@free-electrons.com>
> ---
>  package/tinyalsa/tinyalsa.mk | 2 --
>  1 file changed, 2 deletions(-)

Applied, thanks.

Thomas
diff mbox

Patch

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