On Thu, Jul 30, 2020 at 10:36:11AM -0400, Prarit Bhargava wrote:
On 7/30/20 10:19 AM, Marcelo Ricardo Leitner wrote:
> On Thu, Jul 30, 2020 at 09:50:54AM -0400, Prarit Bhargava wrote:
>> On 7/29/20 1:29 PM, Marcelo Ricardo Leitner wrote:
...
> Oh. That's not what the help is saying, though, nor how they
appear to
> be implemented:
>
> $ make dist-full-help
> ...
> rh-configs - build ELN configs
> fedora-configs - build Fedora configs
^^ Yeah, that's because your computer is lying to you. I'll fix that.
:-D
> ...
>
> redhat/Makefile:
> ...
> fedora-configs: DIST_TARGET=fedora
> fedora-configs: dist-configs
>
> rh-configs: DIST_TARGET=rhel
> rh-configs: dist-configs
> ...
>
>>
>> For example,
>>
>> [09:45 AM root@intel-whitley-08 redhat]# cd /home/kernel-ark/redhat/configs;
>> TARGET=fedora ./build_configs.sh kernel
>> <snip output>
>> [09:46 AM root@intel-whitley-08 configs]# ls *.config
>> kernel-aarch64-debug-fedora.config kernel-i686-rhel.config
>> kernel-aarch64-debug-rhel.config kernel-ppc64le-debug-fedora.config
>> kernel-aarch64-fedora.config kernel-ppc64le-debug-rhel.config
>> kernel-aarch64-rhel.config kernel-ppc64le-fedora.config
>> kernel-armv7hl-debug-fedora.config kernel-ppc64le-rhel.config
>> kernel-armv7hl-debug-rhel.config kernel-s390x-debug-fedora.config
>> kernel-armv7hl-fedora.config kernel-s390x-debug-rhel.config
>> kernel-armv7hl-lpae-debug-fedora.config kernel-s390x-fedora.config
>> kernel-armv7hl-lpae-debug-rhel.config kernel-s390x-rhel.config
>> kernel-armv7hl-lpae-fedora.config kernel-s390x-zfcpdump-fedora.config
>> kernel-armv7hl-lpae-rhel.config kernel-s390x-zfcpdump-rhel.config
>> kernel-armv7hl-rhel.config kernel-x86_64-debug-fedora.config
>> kernel-i686-debug-fedora.config kernel-x86_64-debug-rhel.config
>> kernel-i686-debug-rhel.config kernel-x86_64-fedora.config
>> kernel-i686-fedora.config kernel-x86_64-rhel.config
>>
>> You can get just the fedora configs by doing an 'ls -l *fedora*'.
>
> I can only have these files, if I call the script by hand as you did
> above.
>
> If I do just 'make dist-configs', all I get is this:
> configs ((1bcf9a283da3...))]$ ls *.config
> kernel-5.8.0-aarch64.config kernel-5.8.0-ppc64le.config
> kernel-5.8.0-aarch64-debug.config kernel-5.8.0-ppc64le-debug.config
> kernel-5.8.0-armv7hl.config kernel-5.8.0-s390x.config
> kernel-5.8.0-armv7hl-debug.config kernel-5.8.0-s390x-debug.config
> kernel-5.8.0-armv7hl-lpae.config kernel-5.8.0-s390x-zfcpdump.config
> kernel-5.8.0-armv7hl-lpae-debug.config kernel-5.8.0-x86_64.config
> kernel-5.8.0-i686.config kernel-5.8.0-x86_64-debug.config
> kernel-5.8.0-i686-debug.config
>
> which are not tagged with a target (rhel/fedora), and apparently are
> using eln values.
Oh that's odd. Are you on Fedora or RHEL?
Fedora.
>
> >
> > I'm not sure now what's the expectations for these make targets so I
> > can't figure out what needs to be fixed, but a make target that
> > generates tagged config files as in your listing would be very
> > welcomed. :-)
>
> Let's figure this out.
>
> P.
>
> >
> > Marcelo
> >
> >
>