The version information was not added to the target tool, which then
always showed "undefined" as version string. Fixed.
Fixes: c1b50061f4b3 ("imx-usb-loader: add commandline option for displaying
version number")
Signed-off-by: Johannes Zink <[email protected]>
---
scripts/imx/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/imx/Makefile b/scripts/imx/Makefile
index b3be3886d8eb..d0d1f17e10bd 100644
--- a/scripts/imx/Makefile
+++ b/scripts/imx/Makefile
@@ -6,7 +6,7 @@ hostprogs-always-$(CONFIG_ARCH_IMX_USBLOADER) +=
imx-usb-loader
HOSTCFLAGS_imx-usb-loader.o = `pkg-config --cflags libusb-1.0` -include
$(objtree)/include/generated/utsrelease.h
HOSTLDLIBS_imx-usb-loader = `pkg-config --libs libusb-1.0`
-imx-usb-loader-target-userccflags += `$(CROSS_PKG_CONFIG) --cflags libusb-1.0`
+imx-usb-loader-target-userccflags += `$(CROSS_PKG_CONFIG) --cflags libusb-1.0`
-include $(objtree)/include/generated/utsrelease.h
imx-usb-loader-target-userldlibs += `$(CROSS_PKG_CONFIG) --libs libusb-1.0`
HOSTCFLAGS_imx.o = -I$(srctree)/include/mach
--
2.39.2