1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-06 16:48:54 +00:00

gator-daemon: Do not specify header files in GATORD_CXX_SRC_FILES

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Khem Raj
2021-06-28 09:39:50 -07:00
committed by Jon Mason
parent 2928fafcbb
commit 453f4094e1
2 changed files with 35 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
From 6f62c77f0a51de17b7f81f225ef483ed8214640e Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 26 Jun 2021 14:19:10 -0700
Subject: [PATCH] Sources.mk: Remove xml/PmuXMLParser.h header from
GATORD_CXX_SRC_FILES
This otherwise appears in final linker cmdline and clang is not happy
since it sees this as an output file along with the real output file
specified with -o and bails out
| clang-13: error: cannot specify -o when generating multiple output files
Upstream-Status: Backport [https://github.com/ARM-software/gator/commit/6ef311882a56e14c189d70c4d72945dd95e9b88e]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
daemon/Sources.mk | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/daemon/Sources.mk b/daemon/Sources.mk
index 60d15ef..3e679f5 100644
--- a/daemon/Sources.mk
+++ b/daemon/Sources.mk
@@ -147,5 +147,4 @@ GATORD_CXX_SRC_FILES := \
xml/EventsXMLProcessor.cpp \
xml/MxmlUtils.cpp \
xml/PmuXML.cpp \
- xml/PmuXMLParser.cpp \
- xml/PmuXMLParser.h
+ xml/PmuXMLParser.cpp
--
2.32.0

View File

@@ -16,7 +16,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
"
SRCREV = "9d8d75fa08352470c51abc23fe3b314879bd8b78"
SRC_URI = "git://github.com/ARM-software/gator.git;protocol=http;branch=main"
SRC_URI = "git://github.com/ARM-software/gator.git;protocol=http;branch=main \
file://0001-Sources.mk-Remove-xml-PmuXMLParser.h-header-from-GAT.patch;striplevel=2 \
"
S = "${WORKDIR}/git/daemon"