The other part of my thought was that we could use this as a general mechanism going forward, for any packages that got themselves into an ifdef anywhere in the system.
For example, for the ppc kernels, we could include BOEL_NEEDS_PDISK BOEL_NEEDS_HFSTOOLS etc.
Thus spake Dann Frazier ([EMAIL PROTECTED]):
On Wed, Oct 27, 2004 at 04:07:26PM -0500, Brian Elliott Finley wrote:Comments?
The single MODULE_UTILS variable we have explicitly avoids having more than one set of module utilities installed, since it can only be set to one value.
Placing the setting of this variable in kernel.rul seems reasonable, though ideally it would be in an arch/<arch>.rul (along with any other architecture specific settings) - that would avoid all of the ifeq $($(ARCH),) stuff, and be replaced with a simple include $(ARCH).rul.
----- Forwarded message from Brian Elliott Finley <[EMAIL PROTECTED]> -----
Date: Thu, 14 Oct 2004 12:58:10 -0500 From: Brian Elliott Finley <[EMAIL PROTECTED]> To: SIS Devel <[EMAIL PROTECTED]> Subject: BOEL_NEEDS_THIS
I was just puzzling over the ifdef DEPMOD_BINARY in Makefile, and got to thinking, it would be nice if we could simply have a flag, that could be set anywhere (like in any of the .rul files) to allow a package to claim that they need X.
Here's how it could work:
In kernel.rul, - 2.4 kernels could claim BOEL_NEEDS_MODUTILS=1
- 2.6 kernels could claim BOEL_NEEDS_MOD_INIT_TOOLS=1
etc.
In Makefile, or anywhere else, we could then do a: - ifdef BOEL_NEEDS_MODUTILS
And last but not least, in modutils.rul, we could do: - ifdef BOEL_NEEDS_MODUTILS
Comments?
-Brian
--
------------------------------------------------------
Brian Elliott Finley Argonne, MCS Division Office: 630.252.4742 Mobile: 630.631.6621
gpg --keyserver wwwkeys.pgp.net --recv-keys 10F8EE52
------------------------------------------------------
----- End forwarded message -----
--
------------------------------------------------------
Brian Elliott Finley Argonne, MCS Division Office: 630.252.4742 Mobile: 630.631.6621
gpg --keyserver wwwkeys.pgp.net --recv-keys 10F8EE52
------------------------------------------------------
--
------------------------------------------------------
Brian Elliott Finley Argonne, MCS Division Office: 630.252.4742 Mobile: 630.631.6621
gpg --keyserver wwwkeys.pgp.net --recv-keys 10F8EE52
------------------------------------------------------
-------------------------------------------------------
This Newsletter Sponsored by: Macrovision For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
Sisuite-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-devel