From 9381ae971066a42ad00def424c29370ced09eb60 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sat, 19 Dec 2015 16:32:12 +0000 Subject: Added menuconfig support. Added default config files for Linux and NetBSD. Added kconf2h tool. Small fixes to README --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3