Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2013 18:55:48 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Jean-S?bastien P?dron <jean-sebastien.pedron@dumbbell.fr>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Building a program to be used only during make buildkernel
Message-ID:  <20130222165548.GM2598@kib.kiev.ua>
In-Reply-To: <5127746A.6060702@dumbbell.fr>
References:  <5127746A.6060702@dumbbell.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

--PCv3LdRyJ68gHPUM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Feb 22, 2013 at 02:36:42PM +0100, Jean-S?bastien P?dron wrote:
> Hello,
>=20
> During the build of the "radeon" DRM driver in Linux, a C program is
> first built to generate headers included by the driver. The program is
> not meant to be installed.
>=20
> In FreeBSD, how would one build and use such a program during the build
> of a kernel module? And what if the driver is built into the kernel inste=
ad?

Look at the genasssym program, used by the kernel and several ABI modules
for exactly this use.

--PCv3LdRyJ68gHPUM
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQIcBAEBAgAGBQJRJ6MTAAoJEJDCuSvBvK1BPTUP/3EB3DlTuDomVGkUegsqqREI
zoQKQQ8b2K4OQaSOxU8mcwmvGn64/lbQ5cwjTDEWCUa+XsUz1EI+3qGBhA1rhWEi
W+mjCCzKxkgZTcKjGCUJKvw01v17822uDbwUxXC6kkSR+pKmshOxqhaKllqKKsZh
+vleTqOIdt0gjZ552t4AfG1+28zdB88QeeFCaiLbA4F3ZEw9mKYBvIrXCmw85qw+
8KjR9eyDo3E+LRl1ttmRLgiIGWi48GjEYPHj2mtQcBCiPuJvXL+J90P0ehpq7iHf
s21wpqhAyhjvLp6I18WuufG1/YHX7z+YH89fdNjuSEkuXfWVKksr/0Kv9WF2Bj++
DtUjAcCAXtECQkKw45xZFN/SRSfji/fKUG7YGeD19GwRMtF4kliXl8jLzbcNDrPA
3xEi0/qkvKVGYTUeG08gdl9TUg9+vBRr1DBTGxSCsQuD68m/+fUVhUbgqnB3Qbda
82uKge3+AhY44nsL6B89G3vX4MbVSohOe4iHNMbu8vuZ+PpMF6owGYTfxoBgRCgP
kODf0e0CrnXpSfmYwogEZ3EgnLGzClSphunFuE9tgcsHRaWbh3NSC9K47ZUQrOpB
3V7HamKpZuwrfqPT3EiMD8Cbnr4XQ7U+nEVdT0MeImwet4IiSF3a5y44OGgpnnuU
uQIy3LsBEo9I4htD95rL
=Afsk
-----END PGP SIGNATURE-----

--PCv3LdRyJ68gHPUM--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130222165548.GM2598>