1111# @ load("/components/toolchain/lib/coreutils.lib.yml", "create_coreutils_component")
1212# @ load("/components/toolchain/lib/mingw64.lib.yml", "create_mingw64_components")
1313# @ load("/components/toolchain/lib/spec.lib.yml", "create_spec_components")
14+ # @ load("/components/toolchain/lib/pkgconfig.lib.yml", "create_pkgconfig_component")
1415
1516# @yaml/text-templated-strings
1617---
3536# @ extra_gcc_make_variables="",
3637# @ dynamic=None,
3738# @ spec=False,
39+ # @ custom_pkgconfig=False,
3840# @ ):
3941
4042# @ if/end binutils_version:
4749(@= "toolchain/" + toolchain_name + "/linux-headers" @) : # @ create_linux_headers_component(triple=triple, linux_version=linux_version, arch_name=linux_arch_name)
4850
4951# @ if/end gcc_version:
50- (@= "toolchain/" + toolchain_name + "/gcc" @) : # @ create_gcc_component(toolchain_name=toolchain_name, triple=triple, gcc_sysroot=gcc_sysroot, gcc_version=gcc_version, extra_gcc_configure_options=extra_gcc_configure_options, extra_gcc_stage2_configure_options=extra_gcc_stage2_configure_options, extra_gcc_make_variables=extra_gcc_make_variables, musl_version=musl_version, uclibc_version=uclibc_version, linux_version=linux_version, mingw64_version=mingw64_version, binutils_version=binutils_version)
52+ (@= "toolchain/" + toolchain_name + "/gcc" @) : # @ create_gcc_component(toolchain_name=toolchain_name, triple=triple, gcc_sysroot=gcc_sysroot, gcc_version=gcc_version, extra_gcc_configure_options=extra_gcc_configure_options, extra_gcc_stage2_configure_options=extra_gcc_stage2_configure_options, extra_gcc_make_variables=extra_gcc_make_variables, musl_version=musl_version, uclibc_version=uclibc_version, linux_version=linux_version, mingw64_version=mingw64_version, binutils_version=binutils_version, custom_pkgconfig=custom_pkgconfig )
5153
5254# @ if/end mingw64_version:
5355_ : # @ template.replace(create_mingw64_components(toolchain_name=toolchain_name, triple=triple, mingw64_version=mingw64_version, gcc_version=gcc_version))
@@ -64,4 +66,7 @@ _: #@ template.replace(create_uclibc_components(triple=triple, toolchain_name=to
6466# @ if/end spec:
6567_ : # @ template.replace(create_spec_components(triple=triple, toolchain_name=toolchain_name))
6668
69+ # @ if/end custom_pkgconfig:
70+ toolchain/(@= toolchain_name @)/pkgconfig : # @ create_pkgconfig_component(triple=triple, toolchain_name=toolchain_name)
71+
6772# @ end
0 commit comments