Re: [OS-BUILD PATCHv2 0/2] redhat/genspec.sh: Remove options and use Makefile variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Prarit Bhargava on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1638#note_860879443

@dzickusrh, I had no idea that was an acceptable solution!  It's *trivial*
to do it that way.  All I have to do is add a single 'export' (no args)
and the Makefile will export the symbols to all targets.  From the
makefile help:

"If you want all variables to be exported by default, you can use export by
itself:

export

This tells make that variables which are not explicitly mentioned in an
export or unexport directive should be exported. Any variable given in an
unexport directive will still not be exported. If you use export by itself
to export variables by default, variables whose names contain characters
other than alphanumerics and underscores will not be exported unless
specifically mentioned in an export directive."

I have modified the changeset to add an export at the very end of the
redhat/Makefile.
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux