hosted: Pull tinyalsa out of ibasso tree so other targets can use it

Change-Id: I85e31a0d0993d3494568abbc05ff9b114d493d75
This commit is contained in:
Solomon Peachy 2025-11-28 08:10:57 -05:00
parent 26d22a64c9
commit 9020360f66
6 changed files with 12 additions and 4 deletions

9
tools/configure vendored
View file

@ -4150,6 +4150,7 @@ fi
bootoutput="rockbox"
appextra="recorder:gui:hosted"
plugins="yes"
tinyalsa="yes"
# architecture, manufacturer and model for the target-tree build
t_cpu="hosted"
t_manufacturer="ibasso"
@ -4174,6 +4175,7 @@ fi
bootoutput="rockbox"
appextra="recorder:gui:hosted"
plugins="yes"
tinyalsa="yes"
# architecture, manufacturer and model for the target-tree build
t_cpu="hosted"
t_manufacturer="ibasso"
@ -5134,13 +5136,16 @@ if test -n "$t_cpu"; then
elif [ "$simulator" = "yes" ]; then # a few more includes for the sim target tree
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/hosted/sdl"
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/hosted"
elif [ "$t_manufacturer" = "ibasso" ]; then
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/hosted/ibasso/tinyalsa/include"
elif [ "$application" = "yes" ] && [ "$t_manufacturer" = "ctru" ]; then
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/hosted/ctru/lib"
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/hosted/ctru/lib/bfile"
fi
if [ "$tinyalsa" = "yes" ]; then
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/hosted/tinyalsa/include"
extradefines="$extradefines -DUSE_TINYALSA"
fi
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu/$t_manufacturer"
test -n "$t_soc" && TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu/$t_soc"
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu"