summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-12-19 16:32:12 +0000
committerFreeArtMan <dos21h@gmail.com>2015-12-19 16:32:12 +0000
commit9381ae971066a42ad00def424c29370ced09eb60 (patch)
tree93e69c6920579ef0f499a9c79aab67d9aa1bc474 /Makefile
parent80971b7c44ef1066b6555c5802b1f1d67e20bed2 (diff)
downloadradiola-9381ae971066a42ad00def424c29370ced09eb60.tar.gz
radiola-9381ae971066a42ad00def424c29370ced09eb60.zip
Added menuconfig support. Added default config files for Linux and NetBSD. Added kconf2h tool. Small fixes to README
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