summaryrefslogtreecommitdiffstats
path: root/package/multimedia/alsa-lib/alsa-lib.mk
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-31 10:18:23 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-31 10:18:23 +0000
commitcaa31fcc62f726239f346cb8253918b5b383ffc8 (patch)
treeffc6822004adc029480ba5de519d485282411f07 /package/multimedia/alsa-lib/alsa-lib.mk
parentc1e444ff72f363ff5f7e0cd7ecf0ae1a4af702dd (diff)
downloadbuildroot-novena-caa31fcc62f726239f346cb8253918b5b383ffc8.tar.gz
buildroot-novena-caa31fcc62f726239f346cb8253918b5b383ffc8.zip
Workaround for AVR32 compiler issue affecting inlining, causing alsa-lib to break, feedback to AVR32 compiler team will be sent
Diffstat (limited to 'package/multimedia/alsa-lib/alsa-lib.mk')
-rw-r--r--package/multimedia/alsa-lib/alsa-lib.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/package/multimedia/alsa-lib/alsa-lib.mk b/package/multimedia/alsa-lib/alsa-lib.mk
index b45ac510e..be6b047c5 100644
--- a/package/multimedia/alsa-lib/alsa-lib.mk
+++ b/package/multimedia/alsa-lib/alsa-lib.mk
@@ -12,9 +12,15 @@ ALSA_LIB_BINARY:=libasound.so.2.0.0
ALSA_LIB_TARGET_BINARY:=usr/lib/$(ALSA_LIB_BINARY)
ifeq ($(BR2_arm),y)
-ALSA_LIB_ABI:=-mabi=aapcs-linux
+ALSA_LIB_ABI+=-mabi=aapcs-linux
else
-ALSA_LIB_ABI:=
+ALSA_LIB_ABI+=
+endif
+
+ifeq ($(BR2_avr32),y)
+ALSA_LIB_ABI+=-DAVR32_INLINE_BUG
+else
+ALSA_LIB_ABI+=
endif
ifeq ($(BR2_PACKAGE_ALSA_LIB_PYTHON),y)
@@ -77,6 +83,8 @@ $(TARGET_DIR)/$(ALSA_LIB_TARGET_BINARY): $(STAGING_DIR)/$(ALSA_LIB_TARGET_BINARY
alsa-lib: uclibc $(ALSA_LIB_DEPS) $(TARGET_DIR)/$(ALSA_LIB_TARGET_BINARY)
+alsa-lib-unpacked: $(ALSA_LIB_DIR)/.unpacked
+
alsa-lib-source: $(DL_DIR)/$(ALSA_LIB_SOURCE)
alsa-lib-clean: