Skip to contentSkip to conversation

accel-config: Remove non-interface headers from packaging

PATCH In review ramesh.thomas at intel.com 2 participants 2 messages Mar 26, 2021

lore
Share & tools
lore

ramesh.thomas at intel.com

#0 lore raw

PATCH 1/1 accel-config: Remove non-interface headers from packaging

From: Ramesh Thomas <ramesh.thomas(a)intel.com>

Non interface files were getting included into interface files causing compilation errors. Other non-interface files were getting included into packaging.

Signed-off-by Ramesh Thomas <ramesh.thomas(a)intel.com>
Reported-by Ziye Yang <ziye.yang(a)intel.com>
---
 accfg/lib/Makefile.am   | 2 +-
 accfg/libaccel_config.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
accfg/lib/Makefile.am +1 -1
index 2560314..64610e1 100644
@@ -3,7 +3,7 @@ include $(top_srcdir)/Makefile.am.in
 %.pc: %.pc.in Makefile
 	$(SED_PROCESS)
 
-pkginclude_HEADERS = ../libaccel_config.h ../accfg.h
+pkginclude_HEADERS = ../libaccel_config.h
 lib_LTLIBRARIES = libaccel-config.la
 
 DISTCLEANFILES = config.h
accfg/libaccel_config.h +0 -1
index b7b64c4..94aef80 100644
@@ -11,7 +11,6 @@
 #include <errno.h>
 #include <limits.h>
 #include <uuid/uuid.h>
-#include <util/filter.h>
 
 #ifdef __cplusplus
 extern "C" {
Signature · 1 line
2.26.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · ramesh.thomas(a)intel.com

From: Ramesh Thomas <ramesh.thomas(a)intel.com>

Non interface files were getting included into interface files causing compilation errors. Other non-interface files were getting included into packaging.

Signed-off-by Ramesh Thomas <ramesh.thomas(a)intel.com>
Reported-by Ziye Yang <ziye.yang(a)intel.com>
Reviewed-by Dave Jiang <dave.jiang(a)intel.com>
Quoted 30 lines
---
  accfg/lib/Makefile.am   | 2 +-
  accfg/libaccel_config.h | 1 -
  2 files changed, 1 insertion(+), 2 deletions(-)
accfg/lib/Makefile.am +1 -1
index 2560314..64610e1 100644
@@ -3,7 +3,7 @@ include $(top_srcdir)/Makefile.am.in
  %.pc: %.pc.in Makefile
  	$(SED_PROCESS)
 
-pkginclude_HEADERS = ../libaccel_config.h ../accfg.h
+pkginclude_HEADERS = ../libaccel_config.h
  lib_LTLIBRARIES = libaccel-config.la
 
  DISTCLEANFILES = config.h
accfg/libaccel_config.h +0 -1
index b7b64c4..94aef80 100644
@@ -11,7 +11,6 @@
  #include <errno.h>
  #include <limits.h>
  #include <uuid/uuid.h>
-#include <util/filter.h>
 
  #ifdef __cplusplus
  extern "C" {