--- linux/Makefile 2018/04/24 18:00:12 1.1.1.1 +++ linux/Makefile 2018/04/24 18:00:13 1.1.1.2 @@ -4,9 +4,9 @@ # remove them from the CFLAGS defines. # -AS86 =as -0 -a -CC86 =cc -0 -LD86 =ld -0 +AS86 =as86 -0 +CC86 =cc86 -0 +LD86 =ld86 -0 AS =gas LD =gld @@ -31,12 +31,13 @@ all: Image Image: boot/boot tools/system tools/build tools/build boot/boot tools/system > Image - sync +# sync tools/build: tools/build.c - $(CC) $(CFLAGS) \ - -o tools/build tools/build.c - chmem +65000 tools/build + sh build_tools +# $(CC) $(CFLAGS) \ +# -o tools/build tools/build.c + #chmem +65000 tools/build boot/head.o: boot/head.s @@ -61,7 +62,7 @@ lib/lib.a: boot/boot: boot/boot.s tools/system (echo -n "SYSSIZE = (";ls -l tools/system | grep system \ - | cut -c25-31 | tr '\012' ' '; echo "+ 15 ) / 16") > tmp.s + | cut -c31-37 | tr '\012' ' '; echo "+ 15 ) / 16") > tmp.s cat boot/boot.s >> tmp.s $(AS86) -o boot/boot.o tmp.s rm -f tmp.s @@ -77,7 +78,7 @@ clean: backup: clean (cd .. ; tar cf - linux | compress16 - > backup.Z) - sync +# sync dep: sed '/\#\#\# Dependencies/q' < Makefile > tmp_make