38 lines
886 B
Diff
38 lines
886 B
Diff
Index: Makefile
|
|
===================================================================
|
|
--- Makefile.orig
|
|
+++ Makefile
|
|
@@ -7,6 +7,7 @@
|
|
# Path for the floppy disk device
|
|
#
|
|
FDISK=/dev/fd0
|
|
+TARGETDIR=/boot
|
|
|
|
CC=gcc
|
|
#
|
|
@@ -114,7 +115,10 @@ clean:
|
|
wormkill:
|
|
rm -f *~
|
|
|
|
-install: all
|
|
+install:
|
|
+ install -o root -g root memtest.bin $(DESTDIR)$(TARGETDIR)/
|
|
+
|
|
+install-floppy: all
|
|
dd <memtest.bin >$(FDISK) bs=8192
|
|
|
|
install-bin:
|
|
Index: config.h
|
|
===================================================================
|
|
--- config.h.orig
|
|
+++ config.h
|
|
@@ -13,7 +13,7 @@
|
|
/* SERIAL_CONSOLE_DEFAULT - The default state of the serial console. */
|
|
/* This is normally off since it slows down testing. Change to a 1 */
|
|
/* to enable. */
|
|
-#define SERIAL_CONSOLE_DEFAULT 0
|
|
+#define SERIAL_CONSOLE_DEFAULT 1
|
|
|
|
/* SERIAL_BAUD_RATE - Baud rate for the serial console */
|
|
#define SERIAL_BAUD_RATE 9600
|