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
This commit is contained in:
patacongo
2011-09-28 14:59:54 +00:00
parent 99f4ac37a0
commit 01a398eeea
+2 -15
View File
@@ -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