kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 0d39e5c62a4eb11ac476966b870475d4074195bc
parent efc7b3d9a63845bf5fd8451c49346f935efaa030
Author: Joris Vink <joris@coders.se>
Date:   Mon, 29 Nov 2021 15:43:43 +0100

Allow setting of TARGET_PLATFORM.

This overrides the linux seccomp building, useful
for cross compiling Kore to other linux architectures.

Diffstat:
misc/linux-platform.sh | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/misc/linux-platform.sh b/misc/linux-platform.sh @@ -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