From b54479d8e7aaec0a29fca0844cae7485dff50b7d Mon Sep 17 00:00:00 2001 From: Logan Gunthorpe Date: Fri, 22 Mar 2019 17:11:46 -0600 Subject: Always build bbl.bin bbl.bin is necessary for booting on hardware and is created by a simple objcopy line. It's much more convienent for riscv-pk to create this file then to expect the user to know to do it or to dig through the SDK's makefile to learn that it's required. Signed-off-by: Logan Gunthorpe --- bbl/bbl.mk.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bbl') diff --git a/bbl/bbl.mk.in b/bbl/bbl.mk.in index f91dfbf..b0ef476 100644 --- a/bbl/bbl.mk.in +++ b/bbl/bbl.mk.in @@ -35,3 +35,8 @@ bbl_test_srcs = bbl_install_prog_srcs = \ bbl.c \ + +bbl.bin: bbl + $(OBJCOPY) -S -O binary --change-addresses -0x80000000 $< $@ + +bbl_extra_targets = bbl.bin -- cgit v1.1