Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933296AbZJOQS7 (ORCPT ); Thu, 15 Oct 2009 12:18:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933238AbZJOQS6 (ORCPT ); Thu, 15 Oct 2009 12:18:58 -0400 Received: from gv-out-0910.google.com ([216.239.58.191]:40065 "EHLO gv-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933236AbZJOQS5 (ORCPT ); Thu, 15 Oct 2009 12:18:57 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; b=tn4tsJfJdstkh9xcPZURfoXECph/PYUX8533QaFCNQKC8tCepq2MgLBWajWUnG97gQ ng5Azy7ZRtpfsUaS7VG7kbv4BhfAcacPdD3Ic8qAAcnvfQSamRChxxmG+n+oD7zYsi2z OzO73mmiNhED8fgfdR7UDDtl70zqkK1P2+YW8= Message-ID: <4AD74B02.1070606@gmail.com> Date: Thu, 15 Oct 2009 12:17:06 -0400 From: Gregory Haskins User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Daniel Walker CC: "linux-kernel@vger.kernel.org" Subject: Re: Tips for module_init() dependencies References: <4AD71D12.9060203@gmail.com> <1255621559.22917.35.camel@desktop> <4AD7469B.9070907@gmail.com> <1255623129.22917.41.camel@desktop> In-Reply-To: <1255623129.22917.41.camel@desktop> X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9708509F85191C539689C9BE" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2141 Lines: 63 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9708509F85191C539689C9BE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Daniel Walker wrote: > On Thu, 2009-10-15 at 11:58 -0400, Gregory Haskins wrote: >=20 >> Hi Daniel, >> >> Possibly. >> >> A) Any suggestions on how? Can I express this in Kconfig or something >> (i.e. "depends on FOO"). I currently have "select FOO" in the BAR >> object, but this doesn't seem to be sufficient to describe the relatio= nship. >> >> B) Do I have to make the entire chain follow suit? (I have C deps on B= , >> B deps on A kind of scenarios) >=20 > Yeah, what Randy said .. As far as I know it should be just a build > order issue .. In the make file when you specify your new module along > with all the others where you put it is actually important .. In > fs/Makefile you have this line, >=20 > obj-$(CONFIG_CONFIGFS_FS) +=3D configfs/ >=20 > and I would guess you want yours after that line if your adding to that= > makefile. Right, that makes sense. However, the problem is that these dependencies might not have anything to do with ./fs per se and therefore would not necessarily be in the ./fs Makefile. But I think the Makefile dependency idea in general is the right approach, so I will experiment with this suggestion. Kind Regards, -Greg --------------enig9708509F85191C539689C9BE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkrXSwIACgkQP5K2CMvXmqFEHQCeNfVS2Ypiu5BPG44kD6ATBoj0 Yc4AnRsXGnah5zAYwkOKLVhnJr5dauzf =8gtB -----END PGP SIGNATURE----- --------------enig9708509F85191C539689C9BE-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/