mirror of https://git.kore.io/kore.git
Allow setting of TARGET_PLATFORM.
This overrides the linux seccomp building, useful for cross compiling Kore to other linux architectures.
This commit is contained in:
parent
efc7b3d9a6
commit
0d39e5c62a
|
@ -2,7 +2,12 @@
|
|||
#
|
||||
# Linux specific defines and system call maps.
|
||||
|
||||
PLATFORM=$(uname -m)
|
||||
if [ -z "$TARGET_PLATFORM" ]; then
|
||||
PLATFORM=$(uname -m)
|
||||
else
|
||||
PLATFORM=$TARGET_PLATFORM
|
||||
fi
|
||||
|
||||
BASE=$(dirname $0)
|
||||
|
||||
case "$PLATFORM" in
|
||||
|
|
Loading…
Reference in New Issue