From dc7bf2f47d6f97407e3b50ae0b8ab59fd51079e5 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Thu, 14 May 2015 10:44:00 +0200 Subject: moving unused files folder --- xxx/boot2/Makefile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 xxx/boot2/Makefile (limited to 'xxx/boot2/Makefile') diff --git a/xxx/boot2/Makefile b/xxx/boot2/Makefile new file mode 100644 index 0000000..f2537ce --- /dev/null +++ b/xxx/boot2/Makefile @@ -0,0 +1,28 @@ +#master boot record + +include ../Makefile.common + +.PHONY: all clean + +STAGE2=stage2.bin +MP=mp.bin +CONFIG=config.inc + + + +ASM_SOURCES=$(wildcard *.asm) + +all: $(STAGE2) $(MP) + +$(CONFIG): ../kernel/config.h + cat ../kernel/config.h | grep "^#define" | sed -e "s/#/%/" -e "s/\/\/.*//" > $@ + +$(STAGE2): $(ASM_SOURCES) $(CONFIG) +$(MP): $(ASM_SOURCES) + +clean: + -rm $(STAGE2) $(MP) $(CONFIG) + + + + -- cgit v1.2.3