#*****************************************************************
# Makefile to build the RusPiRo kernel
# setting the necessary environment for cross compiling
#
# Copyright (c) 2019 by the authors
#
# Author: André Borrmann
# License: Apache License 2.0
#******************************************************************
CARGO_BIN = ARM_GCC_BIN =
ARM_GCC_LIB =
TARGET =
TARGETDIR =
# environment variables needed by cargo xbuild to use the custom build target
export CC =
export AR =
export CFLAGS =
export PATH +=
# build the current crate
:
# cross compile the crate
cargo xbuild --target $(TARGET) --release
:
:
:
:
: