summaryrefslogtreecommitdiff
path: root/pkg/u-boot/gen.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/u-boot/gen.lua')
-rw-r--r--pkg/u-boot/gen.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/u-boot/gen.lua b/pkg/u-boot/gen.lua
index 43042079..aa4ff938 100644
--- a/pkg/u-boot/gen.lua
+++ b/pkg/u-boot/gen.lua
@@ -11,6 +11,8 @@ pkg.deps = {
'pkg/linux-headers/headers',
}
+cc('lib/sha512.c', nil, {cflags='$cflags -D CONFIG_SHA384 -D CONFIG_SHA512'})
+
-- XXX: missing imximage.c and fdtdec_common.c, but seems to build without them
local objs = objects[[
tools/(
@@ -55,6 +57,7 @@ local objs = objects[[
rc4.c
sha1.c
sha256.c
+ sha512.c.o
)
]]