Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151395096
D24173.id69821.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D24173.id69821.diff
View Options
Index: lib/libpmc/Makefile
===================================================================
--- lib/libpmc/Makefile
+++ lib/libpmc/Makefile
@@ -16,9 +16,10 @@
EVENT_ARCH="powerpc"
.endif
+CFLAGS+= -I${SRCTOP}/${RELDIR:H}/libpmcstat
+
.if ${MK_DIRDEPS_BUILD} == "yes"
# avoid circular dependency
-CFLAGS+= -I${SRCTOP}/${RELDIR:H}/libpmcstat
GENDIRDEPS_FILTER+= N${RELDIR:H}/libpmcstat
JEVENTS?= ${HOST_OBJTOP}/${RELDIR}/pmu-events/jevents
.else
Index: lib/libpmcstat/Makefile
===================================================================
--- lib/libpmcstat/Makefile
+++ lib/libpmcstat/Makefile
@@ -10,6 +10,8 @@
libpmcstat_process.c \
libpmcstat_string.c \
libpmcstat_symbol.c
-INCS= libpmcstat.h
+
+# If libpmcstat becomes public uncomment this line
+#INCS= libpmcstat.h
.include <bsd.lib.mk>
Index: usr.sbin/pmc/Makefile
===================================================================
--- usr.sbin/pmc/Makefile
+++ usr.sbin/pmc/Makefile
@@ -9,6 +9,7 @@
CXXFLAGS+= -O0
CXXSTD= c++14
CWARNFLAGS.gcc+= -Wno-redundant-decls
+CFLAGS+= -I${SRCTOP}/lib/libpmcstat
LIBADD= kvm pmc m ncursesw pmcstat elf
Index: usr.sbin/pmcstat/Makefile
===================================================================
--- usr.sbin/pmcstat/Makefile
+++ usr.sbin/pmcstat/Makefile
@@ -5,6 +5,7 @@
PROG_CXX= pmcstat
MAN= pmcstat.8
+CFLAGS+= -I${SRCTOP}/lib/libpmcstat
LIBADD= kvm pmc m ncursesw pmcstat elf
SRCS= pmcstat.c pmcstat.h pmcstat_log.c \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 9, 3:29 AM (5 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31131536
Default Alt Text
D24173.id69821.diff (1 KB)
Attached To
Mode
D24173: pmc: Add include path for libpmcstat as it is an internallib
Attached
Detach File
Event Timeline
Log In to Comment