From 68bcc1949029864b8fb701984f8b73d046631db3 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 28 Sep 2011 14:59:54 +0000 Subject: Fix sim build under Ubuntu 9.09 git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3988 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/sim/src/Makefile | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'nuttx/arch/sim') diff --git a/nuttx/arch/sim/src/Makefile b/nuttx/arch/sim/src/Makefile index 808388410..f7844a1d9 100644 --- a/nuttx/arch/sim/src/Makefile +++ b/nuttx/arch/sim/src/Makefile @@ -35,19 +35,6 @@ -include $(TOPDIR)/Make.defs -# The X11 stuff only builds on Linux (but not Ubuntu -- Ubuntu needs -# some work). - -ifneq ($(HOSTOS),Cygwin) -ifeq ($(CONFIG_SIM_X11FB),y) - USEX = y -else - USEX = n -endif -else - USEX = n -endif - CFLAGS += -I$(TOPDIR)/sched ASRCS = up_setjmp.S @@ -64,7 +51,7 @@ ifeq ($(CONFIG_NX_LCDDRIVER),y) CSRCS += up_lcd.c else CSRCS += up_framebuffer.c -ifeq ($(USEX),y) +ifeq ($(CONFIG_SIM_X11FB),y) HOSTSRCS += up_x11framebuffer.c endif endif @@ -97,7 +84,7 @@ SRCS = $(ASRCS) $(CSRCS) $(HOSTSRCS) OBJS = $(AOBJS) $(COBJS) $(HOSTOBJS) LDFLAGS = $(ARCHSCRIPT) -ifeq ($(USEX),y) +ifeq ($(CONFIG_SIM_X11FB),y) STDLIBS = -lX11 -lXext -lc else STDLIBS = -lc -- cgit v1.2.3