diff options
| author | Miguel <m.i@gmx.at> | 2018-08-19 03:33:06 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-08-19 03:33:06 +0200 |
| commit | c102a9cd6c1da22f0c928fc66bd4bf0b5750765a (patch) | |
| tree | c22aad4aeee45fbba2d5fb360875edd794207c69 /userspace | |
| parent | 9b13ca03dacb6a385461dccad319010537add5cf (diff) | |
foolos fonts work again!
Diffstat (limited to 'userspace')
| -rw-r--r-- | userspace/Makefile | 4 | ||||
| -rw-r--r-- | userspace/fonts/Makefile | 2 | ||||
| -rw-r--r-- | userspace/fonts/binarize.py | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/userspace/Makefile b/userspace/Makefile index a508e7f..85c7982 100644 --- a/userspace/Makefile +++ b/userspace/Makefile @@ -25,7 +25,9 @@ include ../Makefile.common all: crt0.o ext2.img + ext2.img: $(PROGS) ../mp/mp.bin + make -C fonts @echo "----------------------" @echo "Creating ext2.img ...." @dd if=/dev/zero of=ext2.img bs=1024 count=$(IMAGESIZE) @@ -38,6 +40,7 @@ ext2.img: $(PROGS) ../mp/mp.bin @echo "Welcome to FoolOs\nWe hope you will enjoy your stay." > mnt/home/miguel/hello.txt @mkdir -p mnt/bin @cp $(PROGS) mnt/bin + @cp fonts/binfont.bin mnt/ @echo "++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++." > mnt/home/miguel/hello.brain # cp ~/temp/fool-os-stuff/binutils-build-host-foolos/binutils/readelf mnt/bin @@ -60,6 +63,7 @@ ext2.img: $(PROGS) ../mp/mp.bin @echo "----------------------" clean: + make -C fonts clean @echo "Cleaning userspace ..."; rm -f *.o $(PROGS) ext2.img *.d new: clean all diff --git a/userspace/fonts/Makefile b/userspace/fonts/Makefile index 2eeaf37..a203753 100644 --- a/userspace/fonts/Makefile +++ b/userspace/fonts/Makefile @@ -1,5 +1,5 @@ ############ fool-font ############ binfont.bin: binfont.src - python3.2 binarize.py $< $@ + python3 binarize.py $< $@ clean: -rm binfont.bin diff --git a/userspace/fonts/binarize.py b/userspace/fonts/binarize.py index 1abb9d6..a992c93 100644 --- a/userspace/fonts/binarize.py +++ b/userspace/fonts/binarize.py @@ -74,8 +74,6 @@ def usage(): print ("python3.x binarize.py [file_in] [file_out]") - - """ direct use """ if __name__ == "__main__": |
