SPECS: kernel-net-ipp2p.spec - fixed build with dist_kernel once a...

Paweł Sikora pluto w ds14.agh.edu.pl
Czw, 11 Mar 2004, 12:31:02 CET


On Thursday 11 of March 2004 12:13, Jakub Bogusz wrote:
> On Thu, Mar 11, 2004 at 12:06:01PM +0100, Paweł Sikora wrote:
> > On Thursday 11 of March 2004 11:48, qboosh wrote:
> > > Author: qboosh                       Date: Thu Mar 11 10:48:00 2004 GMT
> > > Module: SPECS                         Tag: HEAD
> > > ---- Log message:
> > > - fixed build with dist_kernel once again
> > >
> > >      ln -sf %{_kernelsrcdir}/config-$cfg .config
> > >
> > > +    %{?with_dist_kernel:ln -sf
> > > %{_kernelsrcdir}/include/linux/autoconf-${cfg}.h
> > > include/linux/autoconf.h}
> >
> > i po co to?
> > make modules generuje automatycznie i nadpisuje autoconfa
> > na podstawie config-{up,smp} badz config-nondist.
> > mozesz sobie sprawdzic, ze bez tego symlinka wygenerowany autoconf.h
> > bedzie identyczny z odpowiednim plikiem autoconf-{smp,up}.h
> > z /usr/src/linux/...
>
> Owszem, sprawdziłem - że:
>
>   SPLIT   include/linux/autoconf.h -> include/config/*
> scripts/split-include: include/linux/autoconf.h: No such file or directory
> make[1]: *** [include/config/MARKER] Błąd 1
>
> (możliwe, że z powodu obecności
> %{_kernelsrcdir}/include/config/autoconf.h w kernel-headers).

na 100% przez to. autoconf.h powstaje na bazie configa
i moim zdaniem nie ma sensu trzymanie tej nadmiarowej jednostki.
skrypty budujace moduly kernela regeneruja sobie ten plik.
(make mrproper takze czysci tego smiecia).

-- 
If you think of MS-DOS as mono, and Windows as stereo,
  then Linux is Dolby Digital and all the music is free...



Więcej informacji o liście dyskusyjnej pld-devel-pl