[MPlayer-dev-eng] [PATCH] don't build the drivers subdirectory on non Linux system

Bernd Ernesti mplayer-dev-eng at lists.veego.de
Sat Jun 25 20:53:58 CEST 2005


Hi,

it doesn't make sense building the drivers subdirectory on non Linux systems,
because it include linux only headers.

I noticed it because of the follwing make output:

grep: /lib/modules/3.99.3/build/include/linux/version.h: No such file or directory
grep: /lib/modules/3.99.3/build/include/linux/version.h: No such file or directory
grep: /lib/modules/3.99.3/build/include/linux/version.h: No such file or directory
grep: /lib/modules/3.99.3/build/include/linux/version.h: No such file or directory
gmake[2]: Entering directory `/work/drivers'

Please test that on a linux system, because I can't test if it still enters the
drivers directory on a linux system.

Bernd

-------------- next part --------------
--- Makefile.orig	2005-06-25 18:40:16.000000000 +0200
+++ Makefile	2005-06-25 20:34:20.000000000 +0200
@@ -149,13 +149,15 @@
         libavcodec \
         libavformat \
         libao2 \
-        drivers \
         osdep \
         postproc \
         input \
         libvo \
         libaf \
 
+ifeq ($(TARGET_OS),Linux)
+PARTS += drivers
+endif
 ifeq ($(MP3LIB),yes)
 PARTS += mp3lib
 endif


More information about the MPlayer-dev-eng mailing list