From 92fb07122b419989a891963fc40346dd652f739a Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 6 Apr 2011 23:01:06 +0000 Subject: [PATCH] current_regs should be volatile; add support for nested interrupts; enable interrupts during syscall processing git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3475 42af7a65-404d-4744-a932-0658087f49c3 --- netutils/thttpd/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/netutils/thttpd/Makefile b/netutils/thttpd/Makefile index ec0df4ba6..963ab514f 100644 --- a/netutils/thttpd/Makefile +++ b/netutils/thttpd/Makefile @@ -69,9 +69,15 @@ SUBDIR_BIN3 = ssi SUBDIR_BIN += cgi-bin/$(SUBDIR_BIN1) cgi-bin/$(SUBDIR_BIN2) cgi-bin/$(SUBDIR_BIN3) endif -all: $(SUBDIR_BIN) $(BIN) +all: $(SUBDIR_BIN) .built .PHONY: depend clean distclean +$(AOBJS): %$(OBJEXT): %.S + $(call ASSEMBLE, $<, $@) + +$(COBJS): %$(OBJEXT): %.c + $(call COMPILE, $<, $@) + ifeq ($(CONFIG_NXFLAT),y) cgi-bin: @mkdir cgi-bin @@ -97,12 +103,10 @@ endif .built: $(OBJS) @( for obj in $(OBJS) ; do \ - $(call ARCHIVE, $@, $${obj}); \ + $(call ARCHIVE, $(BIN), $${obj}); \ done ; ) @touch .built -.built: $(BIN) - context: .depend: Makefile $(SRCS)