summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1ce692c..01b3fd5 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,8 @@ include filt/make.mk
include hw/make.mk
include mod/make.mk
+
+
make: $(OBJECTS)
$(CC) $(OBJECTS_FINAL) $(PROJECT).c -o $(PROJECT) $(LDFLAGS)
ld -r $(OBJECTS_FINAL) -o $(PROJECT).o
@@ -30,3 +32,15 @@ clean:
distclean: clean
rm -rf $(BUILD_DIR)
+
+kconf2h: tools/kconf2h/kconf2h
+ $(CC) -c tools/kconf2h/kconf2h_parser.c -o tools/kconf2h/kconf2h_parser.o
+ $(CC) tools/kconf2h/kconf2h.c tools/kconf2h/kconf2h_parser.o -o tools/kconf2h/kconf2h
+
+menuconfig: kconf2h
+ ./mconf Kconfig
+ tools/kconf2h/kconf2h .config config/config_linux.h
+
+bsd: kconf2h
+ ./mconf Kconfig
+ tools/kconf2h/kconf2h .config config/config_bsd.h \ No newline at end of file