KBUILD_CFLAGS += $(cflags-y)
KBUILD_CFLAGS += -mint32 -fno-builtin
-KBUILD_CFLAGS += -g
KBUILD_CFLAGS += -D__linux__
KBUILD_CFLAGS += -DUTS_SYSNAME=\"uClinux\"
KBUILD_AFLAGS += $(aflags-y)
CROSS_COMPILE := h8300-unknown-linux-
LIBGCC := $(shell $(CROSS-COMPILE)$(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
-core-y += arch/$(ARCH)/kernel/ arch/$(ARCH)/mm/ arch/$(ARCH)/boards/
+core-y += arch/$(ARCH)/kernel/ arch/$(ARCH)/mm/
libs-y += arch/$(ARCH)/lib/ $(LIBGCC)
#if defined(CONFIG_CPU_H8300H)
.h8300h
-#include <asm/regs306x.h>
+#define SYSCR 0xfee012
#define IRAMTOP 0xffff20
#endif
#if defined(CONFIG_CPU_H8S)
.h8300s
-#include <asm/regs267x.h>
+#define INTCR 0xffff31
#define IRAMTOP 0xffc000
#endif