summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-05-10 17:47:43 -0700
committerMichael Forney <mforney@mforney.org>2020-05-10 17:50:18 -0700
commit0a6e0ecd886b1d85a0b10470d9551da29a4bdda8 (patch)
treed53929e2252853498f6d2b10b8f3a3ace8e51e60 /pkg
parent714ee37eea5590240508adadc8f5d81579ff890d (diff)
u-boot: Add missing linux-headers dependency
Diffstat (limited to 'pkg')
-rw-r--r--pkg/u-boot/gen.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/u-boot/gen.lua b/pkg/u-boot/gen.lua
index 2be0ec3e..7098276c 100644
--- a/pkg/u-boot/gen.lua
+++ b/pkg/u-boot/gen.lua
@@ -2,10 +2,15 @@ cflags{
'-D USE_HOSTCC',
'-I $dir',
'-I $srcdir/tools',
+ '-I $builddir/pkg/linux-headers/include',
'-idirafter $srcdir/include',
'-include $srcdir/include/compiler.h',
}
+pkg.deps = {
+ 'pkg/linux-headers/headers',
+}
+
-- XXX: missing imximage.c and fdtdec_common.c, but seems to build without them
local objs = objects[[
tools/(