Moved default AUDIO=en behavior to Makefile instead of build.sh
This commit is contained in:
parent
90cd88f1a8
commit
ec7941b845
2 changed files with 2 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -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),)
|
||||
|
|
3
build.sh
3
build.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue