summaryrefslogtreecommitdiff
path: root/nuttx/tools/Makefile.host
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/tools/Makefile.host')
-rw-r--r--nuttx/tools/Makefile.host7
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/tools/Makefile.host b/nuttx/tools/Makefile.host
index a5a83d4ae..95cf64c68 100644
--- a/nuttx/tools/Makefile.host
+++ b/nuttx/tools/Makefile.host
@@ -35,12 +35,19 @@
all: mkconfig mksyscall
default: mkconfig mksyscall
+.PHONY: clean
+
+# Add CFLAGS=-g on the make command line build debug versions
CFLAGS = -O2 -Wall
+# mkconfig - Convert a .config file into a C config.h file
+
mkconfig: mkconfig.c
@gcc $(CFLAGS) -o mkconfig mkconfig.c
+# mksyscall - Convert a CSV file into syscall stubs and proxies
+
mksyscall: mksyscall.c
@gcc $(CFLAGS) -o mksyscall mksyscall.c