diff options
| author | Michal Idziorek <m.i@gmx.at> | 2015-05-14 10:44:00 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2015-05-14 10:44:00 +0200 |
| commit | dc7bf2f47d6f97407e3b50ae0b8ab59fd51079e5 (patch) | |
| tree | 1ed444c804d9ff55e23a7a007275c3d5c649a455 /xxx/boot2/Makefile | |
| parent | 7df4060ae807dd27f3ae0a11f243897f36053ba1 (diff) | |
moving unused files folder
Diffstat (limited to 'xxx/boot2/Makefile')
| -rw-r--r-- | xxx/boot2/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
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) + + + + |
