From: Scott Fan <fancp2007@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] package/open62541: fix library version definition
Date: Sun, 21 Feb 2021 00:27:14 +0800 [thread overview]
Message-ID: <20210220162715.283519-2-fancp2007@gmail.com> (raw)
In-Reply-To: <20210220162715.283519-1-fancp2007@gmail.com>
Manually specified version must start with letter 'v',
otherwise, the generated version macro will be zero
in the <build_dir>/src_generated/open62541/config.h file:
#define UA_OPEN62541_VER_MAJOR 0
#define UA_OPEN62541_VER_MINOR 0
#define UA_OPEN62541_VER_PATCH 0
Reference from the following link:
https://open62541.org/doc/current/building.html
Signed-off-by: Scott Fan <fancp2007@gmail.com>
---
package/open62541/open62541.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/open62541/open62541.mk b/package/open62541/open62541.mk
index 65742e83a1..3f75196817 100644
--- a/package/open62541/open62541.mk
+++ b/package/open62541/open62541.mk
@@ -19,7 +19,7 @@ OPEN62541_LICENSE_FILES = LICENSE
OPEN62541_CONF_OPTS = \
-DCMAKE_BUILD_TYPE=Release \
-DGIT_EXECUTABLE=NO \
- -DOPEN62541_VERSION=$(OPEN62541_VERSION) \
+ -DOPEN62541_VERSION=v$(OPEN62541_VERSION) \
-DUA_ENABLE_HARDENING=OFF
ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_MINIMAL),y)
--
2.25.1
next prev parent reply other threads:[~2021-02-20 16:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-20 16:27 [Buildroot] [PATCH 1/3] package/open62541: remove unneeded files Scott Fan
2021-02-20 16:27 ` Scott Fan [this message]
2021-02-20 22:13 ` [Buildroot] [PATCH 2/3] package/open62541: fix library version definition Yann E. MORIN
2021-02-20 16:27 ` [Buildroot] [PATCH 3/3] package/open62541: bump version to 1.2 Scott Fan
2021-03-16 21:41 ` Thomas Petazzoni
2021-03-20 4:02 ` Scott Fan
2021-03-24 0:22 ` Scott Fan
2021-02-20 22:20 ` [Buildroot] [PATCH 1/3] package/open62541: remove unneeded files Yann E. MORIN
2021-02-22 5:39 ` [Buildroot] [PATCH] package/open62541: cleanup tools files after installation Scott Fan
2021-03-16 22:16 ` Thomas Petazzoni
2021-03-17 10:33 ` Yann Cardaillac
2021-07-25 21:58 ` Thomas Petazzoni
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=20210220162715.283519-2-fancp2007@gmail.com \
--to=fancp2007@gmail.com \
--cc=buildroot@busybox.net \
/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