dragon: Add empty platform_param()
authorTormod Volden <debian.tormod@gmail.com>
Sun, 15 May 2016 14:17:18 +0000 (16:17 +0200)
committerAlan Cox <alan@etchedpixels.co.uk>
Mon, 16 May 2016 10:05:46 +0000 (11:05 +0100)
Also fix up devdw in Makefile to keep the platform building.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Kernel/platform-dragon/Makefile
Kernel/platform-dragon/main.c

index f97dd76..fe2c979 100644 (file)
@@ -1,8 +1,7 @@
 
 CSRCS = devlpr.c devtty.c devfd.c
 CSRCS += devices.c main.c libc.c
-
-DSRCS = ../dev/devdw.c
+CSRCS += ../dev/devdw.c
 
 ASRCS = p6809.s crt0.s drivewire.s
 ASRCS += tricks.s commonmem.s usermem_sam.s floppy.s
index cc85d91..6b33c4d 100644 (file)
@@ -4,6 +4,11 @@
 #include <printf.h>
 #include <devtty.h>
 
+uint8_t platform_param(unsigned char *p)
+{
+       return 0;
+}
+
 void platform_idle(void)
 {
 }