Skip to contentSkip to conversation

tinyalsa: Fix overwrite of asound.h

PATCH New Maxime Hadjinlian 2 participants 2 messages Oct 18, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tinyalsa: Fix overwrite of asound.h

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.

Cc Maarten ter Huurne <[email protected]>
Cc Thomas Petazzoni <[email protected]>
---
 package/tinyalsa/tinyalsa.mk | 2 --
 1 file changed, 2 deletions(-)
package/tinyalsa/tinyalsa.mk +0 -2
index b287e78..48288f1 100644
@@ -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
Signature · 1 line
2.1.1
#1 lore raw

PATCH 1/1 tinyalsa: Fix overwrite of asound.h

Dear Maxime Hadjinlian,

Quoted 6 lines · Maxime Hadjinlian

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.

Quoted 6 lines
Cc Maarten ter Huurne <[email protected]>
Cc Thomas Petazzoni <[email protected]>
---
 package/tinyalsa/tinyalsa.mk | 2 --
 1 file changed, 2 deletions(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com