mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 04:29:02 -04:00
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…
x
Reference in New Issue
Block a user