Messages in this thread Patch in this message | | | Date | Thu, 10 Aug 2000 00:43:24 +1000 (EST) | From | Paul Gearon <> | Subject | [PATCH] drivers/char/Makefile, kernel 2.4.0-test5 |
| |
I'm new to the kernel, so please excuse me if I got this wrong.
If DRM is selected as a module then drivers/char/Makefile does not reference the drivers/char/drm directory. This patch just sets MOD_SUB_DIRS if CONFIG_DRM is "m".
Regards, Paul
Paul Gearon gearon@computer.org
Catapultam habeo. Nisi pecuniam omnem mihi dabis, ad caput tuum saxum immane mittam. (Translation from latin: "I have a catapult. Give me all the money, or I will fling an enormous rock at your head.") --- linux-2.4.0-test5.orig/drivers/char/Makefile Sat Jul 22 07:21:06 2000 +++ linux/drivers/char/Makefile Thu Aug 10 00:05:58 2000 @@ -323,6 +323,10 @@ SUB_DIRS += drm ALL_SUB_DIRS += drm MOD_SUB_DIRS += drm +else + ifeq ($(CONFIG_DRM),m) + MOD_SUB_DIRS += drm + endif endif ifeq ($(CONFIG_PCMCIA),y) | |