summaryrefslogtreecommitdiff
path: root/sofort/ccenv
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-11 15:18:42 +0000
committermidipix <writeonce@midipix.org>2021-06-12 10:45:03 +0000
commitc6fde675231e684f6fb3c6628e6f17be9143a6b7 (patch)
tree829aef9f6631c8419cdeec0c91572942ad5a281c /sofort/ccenv
parent25fdd187f43ea5254eaf4d330e7b6cf809abd732 (diff)
downloadbfirm-c6fde675231e684f6fb3c6628e6f17be9143a6b7.tar.bz2
bfirm-c6fde675231e684f6fb3c6628e6f17be9143a6b7.tar.xz
build system: configure, ccenv: added --pkgconf[if] support and integration.
Diffstat (limited to 'sofort/ccenv')
-rw-r--r--sofort/ccenv/ccenv.in2
-rw-r--r--sofort/ccenv/ccenv.sh2
-rw-r--r--sofort/ccenv/ccenv.vars2
3 files changed, 5 insertions, 1 deletions
diff --git a/sofort/ccenv/ccenv.in b/sofort/ccenv/ccenv.in
index bfbb563..441f8ab 100644
--- a/sofort/ccenv/ccenv.in
+++ b/sofort/ccenv/ccenv.in
@@ -77,6 +77,8 @@ DLLTOOL = @ccenv_dlltool@
WINDMC = @ccenv_windmc@
WINDRC = @ccenv_windrc@
+PKGCONF = @ccenv_pkgconf@
+
# @ccenv_cfgtype@ secondary tools
# note: the direct use of $(@ccenv_makevar_prefix@LD) is highly discouraged
AS = @ccenv_as@
diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh
index e66614a..26270f4 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -181,7 +181,7 @@ ccenv_set_primary_tools()
{
ccenv_core_tools="ar nm objdump ranlib size strip strings objcopy"
ccenv_hack_tools="addr2line cov elfedit readelf readobj otool"
- ccenv_peep_tools="perk mdso dlltool windmc windres"
+ ccenv_peep_tools="perk mdso dlltool windmc windres pkgconf"
for __tool in $(printf '%s' "$ccenv_core_tools $ccenv_hack_tools $ccenv_peep_tools"); do
ccenv_tool_prolog "$__tool"
diff --git a/sofort/ccenv/ccenv.vars b/sofort/ccenv/ccenv.vars
index 6cdd547..41eb327 100644
--- a/sofort/ccenv/ccenv.vars
+++ b/sofort/ccenv/ccenv.vars
@@ -80,6 +80,8 @@ ccenv_dlltool=
ccenv_windmc=
ccenv_windrc=
+ccenv_pkgconf=
+
# cflags
ccenv_cflags_os=
ccenv_cflags_pic=