If called with '-b' option 'imx-image' tool prepends barebox header to the image, but the tool does not fill the data at image size offset correctly. Fix that. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
13 lines
380 B
Makefile
13 lines
380 B
Makefile
hostprogs-$(CONFIG_ARCH_IMX_IMXIMAGE) += imx-image
|
|
hostprogs-$(CONFIG_ARCH_IMX_USBLOADER) += imx-usb-loader
|
|
|
|
always := $(hostprogs-y)
|
|
|
|
HOSTCFLAGS_imx-usb-loader.o = `pkg-config --cflags libusb-1.0`
|
|
HOSTLOADLIBES_imx-usb-loader = `pkg-config --libs libusb-1.0`
|
|
|
|
HOSTCFLAGS_imx-image.o = -I$(srctree)
|
|
|
|
imx-usb-loader-objs := imx-usb-loader.o
|
|
imx-image-objs := imx-image.o
|