From 58453575198944b3fb4fb858cdc4079d91a888c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Tue, 31 May 2011 21:08:27 +0200 Subject: [PATCH] liballegro: enable alsa audio driver --- liballegro/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/liballegro/Makefile b/liballegro/Makefile index 14dbd98..e8ba4db 100644 --- a/liballegro/Makefile +++ b/liballegro/Makefile @@ -7,15 +7,14 @@ # todo: # -# * GFX_SAFE has a problem switching to 32bpp mode (maybe it falsely -# attempts switching to 24bpp mode?), so it fails. doing a -# set_color_depth(32) and GFX_AUTODETECT works. -# # * both shooter and skater try to load a demo.dat from /usr/bin. hack them to # use usr/share subdirs? # # * similar problem with setup? # +# * setup and shoot seem to need 8bpp video modes. can we hack them for +# 32bpp? Would it help to use a differnt video driver than just 'fbcon'? +# include $(TOPDIR)/rules.mk PKG_NAME:=liballegro @@ -54,7 +53,7 @@ endef define Package/liballegro $(call Package/liballegro/Default) - DEPENDS:= + DEPENDS:=+alsa-lib TITLE+= (library) endef @@ -170,7 +169,7 @@ ifneq ($(CONFIG_CCACHE),) endif EXTRA_CFLAGS = -DSETUP_SCREEN_W=320 -DSETUP_SCREEN_H=240 -TARGET_LDFLAGS = -ldl -lrt +TARGET_LDFLAGS = -L$(STAGING_DIR)/usr/lib -ldl -lrt CMAKE_OPTIONS = \ -DRT_LIBRARY= \