From patchwork Sat Feb 20 16:27:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Fan X-Patchwork-Id: 1442644 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Sd7EznNN; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DjYmD2pZMz9sVt for ; Sun, 21 Feb 2021 03:28:44 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C357987121; Sat, 20 Feb 2021 16:28:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fwl5ijHaaUXj; Sat, 20 Feb 2021 16:28:42 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 440878716D; Sat, 20 Feb 2021 16:28:42 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 06ADB1BF954 for ; Sat, 20 Feb 2021 16:28:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id E97D66E38D for ; Sat, 20 Feb 2021 16:28:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 34K-BHUVu8_H for ; Sat, 20 Feb 2021 16:28:40 +0000 (UTC) Received: by smtp3.osuosl.org (Postfix, from userid 1001) id 119EC6F484; Sat, 20 Feb 2021 16:28:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) by smtp3.osuosl.org (Postfix) with ESMTPS id 667056E38D for ; Sat, 20 Feb 2021 16:28:38 +0000 (UTC) Received: by mail-qk1-f175.google.com with SMTP id 204so3721224qke.11 for ; Sat, 20 Feb 2021 08:28:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2AIZVgVopnpxZ5QxYmanSbevfTPQXLsJVmOhU85/evA=; b=Sd7EznNN+wSyswZf/NKf3Aoc+Pp3JnZFR0nQ+KpHSEwmqXaktZ+CVSF/WavwSgFwGv DcH/Hwlt/sJxXnBXpClAE4mVmzHWBHw+6lYi2U89m3CfTguC5BHk0clauLTu7vphEf/m 3H6I7b4UbLKH8G7fhMc2HpiRQ1fRuWgVnhKmxGG0sybI/E2YYIoMqudKJ+XmwYAit8+u S8+N6Rg5K0qc9xPaSuuJuTzAZhQql+ZTNUTxUiL7bSi0xsEuo6g6195GL652bImSRa1V jehfx7AR61nWkLAO5MVh6fJsF263gBIPxNsGIVHUxbnekOsj5glPwNLd+RUZLKDDHl+/ jZAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2AIZVgVopnpxZ5QxYmanSbevfTPQXLsJVmOhU85/evA=; b=T9rnED4++z7lEj4ZAR6HOqoocg3PiXKNvAcpIu1Qz4KSW0MT51BWrUXTFSveWZBkjk NzWyzgz56vKlb+aunym91sPuyDqpDK40rZE1MnWXCjHuJF/XweNkW17U80gqTqocCxLl qfNL81OyEu6dyZ+HGvYXqZsQjclMiGnX0BbloyFYGgkLKGyyPjrTL6SXjK4aNuCjx5SE 2hfM92h1qR/CIIcDCZcCH2pciHPQ+3xopNlz/zI9ZKu91goCohdRyyxGo2NljycjWTRL d1WTU9Y8pJvYzXioU9eiFGMENMn1BL2lpIggbWwAE+7aqzuPoB0X4AxVQUcsHr2Pca3N ybJw== X-Gm-Message-State: AOAM530jaWLRzxQlfPg5YPdyX3ojVWLfSCy/0mWPR4iNS960Sn1x82gf hH4i5wYgpZ69mk++izvF/9sxNXw504LahA== X-Google-Smtp-Source: ABdhPJyesvVX9Jj4cq1EeqGTcC1d9P+hSHBqZzM4umdmx/nEqX/0H7tEZO5rnmRVmWp04UEnn5t41Q== X-Received: by 2002:a37:59c5:: with SMTP id n188mr14313155qkb.394.1613838516910; Sat, 20 Feb 2021 08:28:36 -0800 (PST) Received: from localhost ([66.112.214.180]) by smtp.gmail.com with ESMTPSA id m9sm923004qth.40.2021.02.20.08.28.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Feb 2021 08:28:36 -0800 (PST) From: Scott Fan To: buildroot@buildroot.org Date: Sun, 21 Feb 2021 00:27:14 +0800 Message-Id: <20210220162715.283519-2-fancp2007@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210220162715.283519-1-fancp2007@gmail.com> References: <20210220162715.283519-1-fancp2007@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/3] package/open62541: fix library version definition X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yann CARDAILLAC , Scott Fan Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Manually specified version must start with letter 'v', otherwise, the generated version macro will be zero in the /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 --- 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)