mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 14:13:09 +00:00
194305a8bb
This quirk is needed for properly switching between the internal and an external headphone. Thanks to Peter for the patch. Issue #3929.
30 lines
930 B
Makefile
30 lines
930 B
Makefile
LICENSE := BSD
|
|
VERSION := 1
|
|
DOWNLOADS := audio.archive
|
|
|
|
#
|
|
# Audio drivers from OpenBSD 6.6
|
|
#
|
|
SRC_DIR_AUDIO := src/lib/audio
|
|
VERSION_AUDIO := 6.6
|
|
BASE_URL := https://ftp.fau.de/pub/OpenBSD
|
|
URL(audio) := $(BASE_URL)/$(VERSION_AUDIO)/sys.tar.gz
|
|
SHA(audio) := a1b19665989c02a2017a639d47a042f4fe7f584b6298727e982a5536020b832d
|
|
DIR(audio) := $(SRC_DIR_AUDIO)
|
|
TAR_OPT(audio) := --strip-components=1 --files-from $(REP_DIR)/audio.list
|
|
HASH_INPUT += $(REP_DIR)/audio.list
|
|
|
|
#
|
|
# Patches
|
|
#
|
|
PATCHES := $(addprefix patches/,$(notdir $(wildcard $(REP_DIR)/patches/*.patch)))
|
|
|
|
AUDIO_OPT := -p1 -d$(SRC_DIR_AUDIO)
|
|
PATCH_OPT(patches/oppress_warning.patch) := $(AUDIO_OPT)
|
|
PATCH_OPT(patches/azalia_c.patch) := $(AUDIO_OPT)
|
|
PATCH_OPT(patches/azalia_h.patch) := $(AUDIO_OPT)
|
|
PATCH_OPT(patches/azalia_codec_c.patch) := $(AUDIO_OPT)
|
|
PATCH_OPT(patches/notify.patch) := $(AUDIO_OPT)
|
|
|
|
# vi: set ft=make :
|