summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2019-03-12 11:42:37 +0100
committerRoland Hieber <rhi@pengutronix.de>2019-03-20 15:20:20 +0100
commita6ca873a368df7982a9821c15fb0182efab1a2f5 (patch)
treef9d189862f9ebfbd0d06bf5ebd5b0f3e460b1e69
parent5b58e1fc72e968be34581d197bd24ce80cd0ada0 (diff)
downloaddt-utils-a6ca873a368df7982a9821c15fb0182efab1a2f5.tar.gz
dt-utils-a6ca873a368df7982a9821c15fb0182efab1a2f5.tar.xz
Don't install a pkg-config file for libdt
libdt isn't supposed to be installed as a system library as nobody wants to care about things like a stable API. Also the generated .pc file is completely bogus as it adds "-labc" to the linker instead of -ldt-utils. So just drop generating and installing the pkg-config file.
-rw-r--r--Makefile.am17
-rw-r--r--src/libdt-utils.pc.in11
2 files changed, 0 insertions, 28 deletions
diff --git a/Makefile.am b/Makefile.am
index 64741fc..a2f8545 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,18 +19,6 @@ AM_LDFLAGS = \
-Wl,--gc-sections \
-Wl,--as-needed
-SED_PROCESS = \
- $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \
- -e 's,@VERSION\@,$(VERSION),g' \
- -e 's,@prefix\@,$(prefix),g' \
- -e 's,@exec_prefix\@,$(exec_prefix),g' \
- -e 's,@libdir\@,$(libdir),g' \
- -e 's,@includedir\@,$(includedir),g' \
- < $< > $@ || rm $@
-
-%.pc: %.pc.in Makefile
- $(SED_PROCESS)
-
# If the library source code has changed at all since the last release,
# then increment revision (‘c:r:a’ becomes ‘c:r+1:a’).
# If any interfaces have been added/removed/changed since the last release,
@@ -118,9 +106,4 @@ src_libdt_utils_la_LDFLAGS = $(AM_LDFLAGS) \
-Wl,--version-script=$(top_srcdir)/src/libdt-utils.sym
src_libdt_utils_la_DEPENDENCIES = ${top_srcdir}/src/libdt-utils.sym
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = src/libdt-utils.pc
-EXTRA_DIST += src/libdt-utils.pc.in
-CLEANFILES += src/libdt-utils.pc
-
EXTRA_DIST += scripts/barebox-mark-successful-boot.sh
diff --git a/src/libdt-utils.pc.in b/src/libdt-utils.pc.in
deleted file mode 100644
index 2fc7b76..0000000
--- a/src/libdt-utils.pc.in
+++ /dev/null
@@ -1,11 +0,0 @@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
-
-Name: libabc
-Description: Library for something with abc
-Version: @VERSION@
-Libs: -L${libdir} -labc
-Libs.private:
-Cflags: -I${includedir}