Line
Link Here
|
0 |
-- a/Makefile |
0 |
++ b/Makefile |
Lines 8-13
Link Here
|
8 |
# Path for the floppy disk device |
8 |
# Path for the floppy disk device |
9 |
# |
9 |
# |
10 |
FDISK=/dev/fd0 |
10 |
FDISK=/dev/fd0 |
|
|
11 |
OBJCOPY=objcopy |
11 |
|
12 |
|
12 |
CFLAGS= -Wall -Werror -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin \ |
13 |
CFLAGS= -Wall -Werror -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin \ |
13 |
-ffreestanding -fPIC $(SMP_FL) -fno-stack-protector |
14 |
-ffreestanding -fPIC $(SMP_FL) -fno-stack-protector |
Lines 36-42
Link Here
|
36 |
$(LD) -shared -Bsymbolic -T memtest_shared.lds -o $@ $(OBJS) |
37 |
$(LD) -shared -Bsymbolic -T memtest_shared.lds -o $@ $(OBJS) |
37 |
|
38 |
|
38 |
memtest_shared.bin: memtest_shared |
39 |
memtest_shared.bin: memtest_shared |
39 |
objcopy -O binary $< memtest_shared.bin |
40 |
$(OBJCOPY) -O binary $< memtest_shared.bin |
40 |
|
41 |
|
41 |
memtest: memtest_shared.bin memtest.lds |
42 |
memtest: memtest_shared.bin memtest.lds |
42 |
$(LD) -s -T memtest.lds -b binary memtest_shared.bin -o $@ |
43 |
$(LD) -s -T memtest.lds -b binary memtest_shared.bin -o $@ |