summaryrefslogtreecommitdiffstats
path: root/nuttx/syscall
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-04-03 16:43:35 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-04-03 16:43:35 +0000
commit56156417abb39b166909553f9977963f1cd86a1a (patch)
treecdc1019ec0a6260f004baedd638c12952d6b3a8e /nuttx/syscall
parentcd2f66d53191f083350927532c721e7bf95c907a (diff)
fix dependencies
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3458 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/syscall')
-rw-r--r--nuttx/syscall/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/syscall/Makefile b/nuttx/syscall/Makefile
index 74ff5e3c0a..47e694e9d6 100644
--- a/nuttx/syscall/Makefile
+++ b/nuttx/syscall/Makefile
@@ -61,6 +61,7 @@ BIN1 = libproxies$(LIBEXT)
BIN2 = libstubs$(LIBEXT)
all: $(BIN1) $(BIN2)
+.PHONY: context depend clean distclean
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
@@ -88,12 +89,13 @@ depend: .depend
$(MKSYSCALL):
@$(MAKE) -C $(TOPDIR)/tools -f Makefile.host mksyscall
-.context: $(MKSYSCALL) syscall.csv
+.context: syscall.csv
+ echo "Rebuilding stubs and proxies"
@(cd proxies; $(MKSYSCALL) -p $(CSVFILE);)
@(cd stubs; $(MKSYSCALL) -s $(CSVFILE);)
@touch $@
-context: .context
+context: $(MKSYSCALL) .context
clean:
@rm -f $(BIN1) $(BIN2) *~ .*.swp