linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wayne Whitney <whitney@math.berkeley.edu>
To: <linux-kernel@vger.kernel.org>
Subject: 2.4.0-test13-pre3 drivers/char/Makefile and CONFIG_DRM_MGA=m
Date: Wed, 20 Dec 2000 11:56:56 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.30.0012201131410.14898-100000@shimura.math.berkeley.edu> (raw)


Hello,

When I use 'make menuconfig' on 2.4.0-test13-pre3 to select DRM and the
Matrox DRM driver as a module, I get a .config with CONFIG_DRM=y and
CONFIG_DRM_MGA=m.  However, this causes drivers/char/Makefile to skip the
drm subdirectory when compiling modules: its only reference to CONFIG_DRM
is the line 'subdir-$(CONFIG_DRM) += drm' and 'make menuconfig' does not
allow me to select 'm' for CONFIG_DRM.

I don't know enough about the kernel Makefiles to figure out the proper
solution, but I was able to get the modules compiled by adding the line
'mod-subdirs += drm' to drivers/char/Makefile.  This is not the proper
solution, I expect, as now 'make modules' will enter the driver/char/drm
subdirectory even if CONFIG_DRM=n.

Cheers,
Wayne


--- drivers/char/Makefile~	Wed Dec 20 11:16:59 2000
+++ drivers/char/Makefile	Wed Dec 20 11:21:54 2000
@@ -154,6 +154,7 @@

 subdir-$(CONFIG_FTAPE) += ftape
 subdir-$(CONFIG_DRM) += drm
+mod-subdirs += drm
 subdir-$(CONFIG_PCMCIA) += pcmcia
 subdir-$(CONFIG_AGP) += agp



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

                 reply	other threads:[~2000-12-20 20:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.30.0012201131410.14898-100000@shimura.math.berkeley.edu \
    --to=whitney@math.berkeley.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).