mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-06 21:25:03 -05:00
hosted: Pull tinyalsa out of ibasso tree so other targets can use it
Change-Id: I85e31a0d0993d3494568abbc05ff9b114d493d75
This commit is contained in:
parent
26d22a64c9
commit
9020360f66
6 changed files with 12 additions and 4 deletions
|
|
@ -2066,8 +2066,6 @@ target/hosted/ibasso/sysfs-ibasso.c
|
||||||
target/hosted/ibasso/system-ibasso.c
|
target/hosted/ibasso/system-ibasso.c
|
||||||
target/hosted/ibasso/usb-ibasso.c
|
target/hosted/ibasso/usb-ibasso.c
|
||||||
target/hosted/ibasso/vold-ibasso.c
|
target/hosted/ibasso/vold-ibasso.c
|
||||||
target/hosted/ibasso/tinyalsa/mixer.c
|
|
||||||
target/hosted/ibasso/tinyalsa/pcm.c
|
|
||||||
#ifdef DX50
|
#ifdef DX50
|
||||||
target/hosted/ibasso/dx50/audiohw-dx50.c
|
target/hosted/ibasso/dx50/audiohw-dx50.c
|
||||||
target/hosted/ibasso/dx50/button-dx50.c
|
target/hosted/ibasso/dx50/button-dx50.c
|
||||||
|
|
@ -2078,6 +2076,11 @@ target/hosted/ibasso/dx90/button-dx90.c
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef USE_TINYALSA
|
||||||
|
target/hosted/tinyalsa/mixer.c
|
||||||
|
target/hosted/tinyalsa/pcm.c
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (CONFIG_PLATFORM & PLATFORM_CTRU)
|
#if (CONFIG_PLATFORM & PLATFORM_CTRU)
|
||||||
asm/arm/lcd-as-memframe.S
|
asm/arm/lcd-as-memframe.S
|
||||||
target/hosted/ctru/backlight-ctru.c
|
target/hosted/ctru/backlight-ctru.c
|
||||||
|
|
|
||||||
9
tools/configure
vendored
9
tools/configure
vendored
|
|
@ -4150,6 +4150,7 @@ fi
|
||||||
bootoutput="rockbox"
|
bootoutput="rockbox"
|
||||||
appextra="recorder:gui:hosted"
|
appextra="recorder:gui:hosted"
|
||||||
plugins="yes"
|
plugins="yes"
|
||||||
|
tinyalsa="yes"
|
||||||
# architecture, manufacturer and model for the target-tree build
|
# architecture, manufacturer and model for the target-tree build
|
||||||
t_cpu="hosted"
|
t_cpu="hosted"
|
||||||
t_manufacturer="ibasso"
|
t_manufacturer="ibasso"
|
||||||
|
|
@ -4174,6 +4175,7 @@ fi
|
||||||
bootoutput="rockbox"
|
bootoutput="rockbox"
|
||||||
appextra="recorder:gui:hosted"
|
appextra="recorder:gui:hosted"
|
||||||
plugins="yes"
|
plugins="yes"
|
||||||
|
tinyalsa="yes"
|
||||||
# architecture, manufacturer and model for the target-tree build
|
# architecture, manufacturer and model for the target-tree build
|
||||||
t_cpu="hosted"
|
t_cpu="hosted"
|
||||||
t_manufacturer="ibasso"
|
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
|
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/sdl"
|
||||||
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/hosted"
|
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
|
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"
|
||||||
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/hosted/ctru/lib/bfile"
|
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/hosted/ctru/lib/bfile"
|
||||||
fi
|
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"
|
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"
|
test -n "$t_soc" && TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu/$t_soc"
|
||||||
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu"
|
TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue