Files
lk/tools/Makefile
Travis Geiselbrecht 9d1cadbd97 [tools][lkboot] fork/exec the zynq-dcc utility for transferring over jtag
The zynq-dcc utility will use a shared memory buffer to transfer bulk
data over a jtag interface.

Change-Id: I3e5d154abbcf9073f46feda9e7887dc1c28d432a
2015-04-27 16:34:02 -07:00

17 lines
540 B
Makefile

all: lkboot mkimage
LKBOOT_SRCS := lkboot.c liblkboot.c network.c
LKBOOT_DEPS := network.h liblkboot.h ../app/lkboot/lkboot_protocol.h
lkboot: $(LKBOOT_SRCS) $(LKBOOT_DEPS)
gcc -Wall -o $@ $(LKBOOT_SRCS)
MKIMAGE_DEPS := bootimage.h ../lib/bootimage/include/lib/bootimage_struct.h
MKIMAGE_SRCS := mkimage.c bootimage.c ../lib/mincrypt/sha256.c
MKIMAGE_INCS := -I../lib/mincrypt/include -I../lib/bootimage/include
mkimage: $(MKIMAGE_SRCS) $(MKIMAGE_DEPS)
gcc -Wall -g -o $@ $(MKIMAGE_INCS) $(MKIMAGE_SRCS)
clean::
rm -f lkboot mkimage