Add a port of the CHERIoT compiler. The CHERIoT ISA adds CHERI to RV32e (a microcontroller RISC-V variant). A number of products based on CHERIoT are in the pipeline including the Sonata board from lowRISC's Sunburst Project (https://www.sunburst-project.org). Requested by: emaste
23 lines
594 B
Makefile
23 lines
594 B
Makefile
# llvm-cheriot
|
|
|
|
LLVM_SUFFIX= -cheriot
|
|
|
|
COMMENT= LLVM and Clang with support the CHERIoT microcontroller
|
|
WWW= https://www.microsoft.com/en-us/research/publication/cheriot-rethinking-security-for-low-cost-embedded-systems/
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/distinfo
|
|
DESCR= ${.CURDIR}/pkg-descr
|
|
PLIST= ${.CURDIR}/pkg-plist
|
|
|
|
LLVM_TARGETS= RISCV
|
|
CMAKE_FLAGS+= -DLLVM_DEFAULT_TARGET_TRIPLE=riscv32-unknown-unknown
|
|
|
|
.if exists(${.CURDIR}/files)
|
|
EXTRA_PATCHES= ${.CURDIR}/files
|
|
.endif
|
|
|
|
.include "${.CURDIR}/Makefile.snapshot"
|
|
|
|
MASTERDIR= ${.CURDIR}/../llvm-cheri
|
|
|
|
.include "${MASTERDIR}/Makefile"
|