mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
config/options:
- now make without set PROJECT variable works, default is project "generic"
This commit is contained in:
parent
aecf192d6c
commit
83cd79db46
5
Makefile
5
Makefile
@ -1,8 +1,3 @@
|
|||||||
# Use shell variables, if defined
|
|
||||||
ifeq ($(PROJECT),)
|
|
||||||
export PROJECT=generic
|
|
||||||
endif
|
|
||||||
|
|
||||||
BUILD_DIRS="build.*"
|
BUILD_DIRS="build.*"
|
||||||
|
|
||||||
all: system
|
all: system
|
||||||
|
@ -1,7 +1,13 @@
|
|||||||
# Project name
|
# determines PROJECT, if not forced by user
|
||||||
PROJECT=${PROJECT}
|
# default is generic
|
||||||
|
if [ -z "$PROJECT" ]; then
|
||||||
|
PROJECT="generic"
|
||||||
|
else
|
||||||
|
PROJECT=$PROJECT
|
||||||
|
fi
|
||||||
|
|
||||||
# determines TARGET_ARCH, if not forced by user
|
# determines TARGET_ARCH, if not forced by user (i386 / x86_64 / powerpc)
|
||||||
|
# default is i386
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
TARGET_ARCH="i386"
|
TARGET_ARCH="i386"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user