From 3c8ec2338b7a8e4e6e23a9f7067f3ed6dcdeba12 Mon Sep 17 00:00:00 2001 From: Roland Hieber Date: Mon, 13 Aug 2018 15:02:48 +0200 Subject: images: MXS: allow generation of unencrypted bootstreams mxsimage can now build unencrypted images with -u, so make use of it in the Makefile. To keep the existing rules simple, name the generated images *.mxsbsu instead of *.mxsbs. Signed-off-by: Roland Hieber Signed-off-by: Sascha Hauer --- images/Makefile.mxs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'images') diff --git a/images/Makefile.mxs b/images/Makefile.mxs index 93d43b3529..aab883202a 100644 --- a/images/Makefile.mxs +++ b/images/Makefile.mxs @@ -10,6 +10,14 @@ quiet_cmd_mxs_bootstream = MXS-BOOTSTREAM $@ $(obj)/%.mxsbs: $(obj)/%.pblx $(obj)/prep_%.pblb FORCE $(call if_changed,mxs_bootstream) +# %.mxsbsu - convert into unencrypted MXS BootStream image +# ---------------------------------------------------------------- +quiet_cmd_mxs_bootstream_u = MXS-BOOTSTREAM-U $@ + cmd_mxs_bootstream_u = $(objtree)/scripts/mxsimage -u -c $(CFG_$(@F)) -b $< -o $@ -p $(word 2,$^) + +$(obj)/%.mxsbsu: $(obj)/%.pblx $(obj)/prep_%.pblb FORCE + $(call if_changed,mxs_bootstream_u) + # %.mxssd - convert into MXS SD card image # ---------------------------------------------------------------- quiet_cmd_mxs_sd = MXS-SD $@ -- cgit v1.2.3