summaryrefslogtreecommitdiff
path: root/nuttx/syscall/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-03 16:43:35 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-03 16:43:35 +0000
commitcfc7fe371ad9efc22bded77dc0779ec4eff1a9fd (patch)
treecdc1019ec0a6260f004baedd638c12952d6b3a8e /nuttx/syscall/Makefile
parent139456d3cb1a8c7be9e48d765eda23b15d8c8bad (diff)
downloadnuttx-cfc7fe371ad9efc22bded77dc0779ec4eff1a9fd.tar.gz
nuttx-cfc7fe371ad9efc22bded77dc0779ec4eff1a9fd.tar.bz2
nuttx-cfc7fe371ad9efc22bded77dc0779ec4eff1a9fd.zip
fix dependencies
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3458 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/syscall/Makefile')
-rw-r--r--nuttx/syscall/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/syscall/Makefile b/nuttx/syscall/Makefile
index 74ff5e3c0..47e694e9d 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