--- linux/kernel/math/Makefile 2018/04/24 18:04:31 1.1.1.3 +++ linux/kernel/math/Makefile 2018/04/24 18:06:36 1.1.1.4 @@ -10,21 +10,19 @@ AR =ar AS =as LD =ld LDFLAGS =-s -x -CC =gcc -CFLAGS =-Wall -O -fstrength-reduce -fomit-frame-pointer \ - -finline-functions -nostdinc -I../../include -CPP =gcc -E -nostdinc -I../../include +CC =gcc -nostdinc -I../../include +CPP =cpp -nostdinc -I../../include .c.s: - $(CC) $(CFLAGS) \ + $(CC) $(CFLAGS) $(MATH_EMULATION) \ -S -o $*.s $< .s.o: $(AS) -c -o $*.o $< .c.o: - $(CC) $(CFLAGS) \ + $(CC) $(CFLAGS) $(MATH_EMULATION) \ -c -o $*.o $< -OBJS = math_emulate.o error.o convert.o ea.o get_put.o \ +OBJS = emulate.o error.o convert.o ea.o get_put.o \ add.o mul.o div.o compare.o math.a: $(OBJS) @@ -83,7 +81,7 @@ get_put.s get_put.o : get_put.c ../../in ../../include/linux/mm.h ../../include/linux/kernel.h \ ../../include/sys/param.h ../../include/sys/time.h ../../include/time.h \ ../../include/sys/resource.h ../../include/asm/segment.h -math_emulate.s math_emulate.o : math_emulate.c ../../include/linux/config.h +emulate.s emulate.o : emulate.c ../../include/linux/config.h mul.s mul.o : mul.c ../../include/linux/math_emu.h ../../include/linux/sched.h \ ../../include/linux/head.h ../../include/linux/fs.h \ ../../include/sys/types.h ../../include/linux/mm.h \