summaryrefslogtreecommitdiff
path: root/pkg/u-boot/gen.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-11-04 15:25:20 -0800
committerMichael Forney <mforney@mforney.org>2020-11-04 15:33:23 -0800
commita93d937a2bca8d09d107707ac2d8f5700974dc70 (patch)
tree68d10d83b369f0617b7c9012a57f5aeb5e19b876 /pkg/u-boot/gen.lua
parentfcc419dbc29bcecea5eaf62f96adde084be247da (diff)
u-boot: Update to 2020.10
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
)
]]