From: Johannes Zink <j.zink@pengutronix.de>
To: barebox@lists.infradead.org
Cc: kernel@pengutronix.de, ahmad@a3f.at, afa@pengutronix.de,
patchwork-jzi@pengutronix.de,
Johannes Zink <j.zink@pengutronix.de>
Subject: [PATCH 2/2] imx-usb-loader: also add version information on target tool
Date: Fri, 26 May 2023 18:59:48 +0200 [thread overview]
Message-ID: <20230526165947.1079052-3-j.zink@pengutronix.de> (raw)
In-Reply-To: <20230526165947.1079052-1-j.zink@pengutronix.de>
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 <j.zink@pengutronix.de>
---
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
next prev parent reply other threads:[~2023-05-26 17:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-26 16:59 [PATCH 0/2] imx-usb-loader: fixes in displaying version number Johannes Zink
2023-05-26 16:59 ` [PATCH 1/2] imx-usb-loader: fix compilation if prepare make target was not called before Johannes Zink
2023-05-26 18:42 ` Ahmad Fatoum
2023-05-26 16:59 ` Johannes Zink [this message]
2023-05-30 6:27 ` [PATCH 0/2] imx-usb-loader: fixes in displaying version number Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230526165947.1079052-3-j.zink@pengutronix.de \
--to=j.zink@pengutronix.de \
--cc=afa@pengutronix.de \
--cc=ahmad@a3f.at \
--cc=barebox@lists.infradead.org \
--cc=kernel@pengutronix.de \
--cc=patchwork-jzi@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox