From aea11e0e4aea4ea84069cf3722c9bb41c5be9c3d Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Thu, 20 Feb 2020 20:10:31 -0800 Subject: Use our own linux-headers --- pkg/tinyemu/gen.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/tinyemu/gen.lua') diff --git a/pkg/tinyemu/gen.lua b/pkg/tinyemu/gen.lua index b6a6ee35..cf6d0aad 100644 --- a/pkg/tinyemu/gen.lua +++ b/pkg/tinyemu/gen.lua @@ -7,11 +7,13 @@ cflags{ [[-D 'CONFIG_VERSION="2019-02-10"']], '-I $builddir/pkg/bearssl/include', '-I $builddir/pkg/curl/include', + '-I $builddir/pkg/linux-headers/include', } pkg.deps = { 'pkg/bearssl/headers', 'pkg/curl/headers', + 'pkg/linux-headers/headers', } build('cc', '$outdir/riscv_cpu32.o', '$srcdir/riscv_cpu.c', {cflags='$cflags -DMAX_XLEN=32'}) -- cgit v1.2.3