Moved default AUDIO=en behavior to Makefile instead of build.sh

This commit is contained in:
Thatcher Chamberlin 2023-02-19 14:42:33 -05:00
parent 90cd88f1a8
commit ec7941b845
2 changed files with 2 additions and 3 deletions

View File

@ -195,6 +195,8 @@ $(error Invalid target: T=$(T))
endif
export T
# Default audio source: en (English, config/_default_cfg_src_/res/en)
AUDIO ?= en
# Select audio source
AUDIO_FOLDER = config/_default_cfg_src_/res/$(AUDIO)
ifeq ($(AUDIO),)

View File

@ -1,8 +1,5 @@
#!/bin/bash
# use AUDIO environment variable, default to "en"
AUDIO="${AUDIO:-en}"
make -j T=open_source DEBUG=1 >log.txt 2>&1
if [ $? -eq 0 ]; then