From owner-freebsd-hackers@freebsd.org Wed Apr 26 15:40:22 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 609E3D511FE for ; Wed, 26 Apr 2017 15:40:22 +0000 (UTC) (envelope-from eric@metricspace.net) Received: from mail.metricspace.net (mail.metricspace.net [IPv6:2001:470:1f11:617::107]) by mx1.freebsd.org (Postfix) with ESMTP id 3AD58B19 for ; Wed, 26 Apr 2017 15:40:22 +0000 (UTC) (envelope-from eric@metricspace.net) Received: from [IPv6:2001:470:1f11:617:3210:b3ff:fe77:becd] (unknown [IPv6:2001:470:1f11:617:3210:b3ff:fe77:becd]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: eric) by mail.metricspace.net (Postfix) with ESMTPSA id AFE401870 for ; Wed, 26 Apr 2017 15:40:14 +0000 (UTC) To: "freebsd-hackers@freebsd.org" From: Eric McCorkle Subject: Generating sources during buildworld Message-ID: <3f63e99c-9241-380d-2e3a-12ef6a5a2758@metricspace.net> Date: Wed, 26 Apr 2017 11:40:10 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7qp1q1g5xT8XjOTT92nMWQcaELFLw0GxR" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2017 15:40:22 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --7qp1q1g5xT8XjOTT92nMWQcaELFLw0GxR Content-Type: multipart/mixed; boundary="aOaKO2Qb9Q5VwEXEbPk5epcLHPwmfQnmC"; protected-headers="v1" From: Eric McCorkle To: "freebsd-hackers@freebsd.org" Message-ID: <3f63e99c-9241-380d-2e3a-12ef6a5a2758@metricspace.net> Subject: Generating sources during buildworld --aOaKO2Qb9Q5VwEXEbPk5epcLHPwmfQnmC Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I'm looking for some help with the build system, specifically how to generate sources for a library that will then be used to build the librar= y. Basically, I want to have a tool which collects public key certificates, then converts them into .c files which are used to build both loader and the kernel. Knowing how LLVM works, it seems that this is possible; however, I've been unable to find documentation on how to write a makefile that accomplishes this. Can someone point me to documentation or examples on how to do this? --aOaKO2Qb9Q5VwEXEbPk5epcLHPwmfQnmC-- --7qp1q1g5xT8XjOTT92nMWQcaELFLw0GxR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQRELMWN3SgpoYkrmidWwohAqoAEjQUCWQC/WgAKCRBWwohAqoAE jSUMAQCgRCgfpNn66/jtWiW+y06f9TEIQnWje20sa5qqFobo/QD9Ge3zvIfZkTYm 5sRJANE3Xvkl/5bf7qsxG0pFV2+Q+gg= =03kA -----END PGP SIGNATURE----- --7qp1q1g5xT8XjOTT92nMWQcaELFLw0GxR--