summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configs/linux-fbdev10
1 files changed, 7 insertions, 3 deletions
diff --git a/configs/linux-fbdev b/configs/linux-fbdev
index c357485ea1..d1aeda555e 100644
--- a/configs/linux-fbdev
+++ b/configs/linux-fbdev
@@ -3,8 +3,12 @@
include $(TOP)/configs/linux
CONFIG_NAME = linux-fbdev
-DRIVER_DIRS = fbdev
+DRIVER_DIRS = fbdev osmesa
+SRC_DIRS = mesa glu glut/fbdev glw
-CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -DUSE_GLFBDEV_DRIVER
+CFLAGS = -g -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -DUSE_GLFBDEV_DRIVER
-PROGRAM_DIRS = fbdev
+
+GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lgpm -lm
+
+PROGRAM_DIRS = fbdev demos redbook samples