| OBJCOPYFLAGS := -O binary -R .note -R .comment -S |
| LDFLAGS_vmlinux := -e startup_32 |
| CFLAGS += -pipe -fno-schedule-insns |
| CFLAGS_KERNEL += -mmodel=medium |
| CFLAGS_MODULE += -mmodel=large |
| cflags-$(CONFIG_ISA_M32R2) += -DNO_FPU -Wa,-bitinst |
| aflags-$(CONFIG_ISA_M32R2) += -DNO_FPU -Wa,-bitinst |
| cflags-$(CONFIG_ISA_M32R2) += -DNO_FPU -m32r2 |
| aflags-$(CONFIG_ISA_M32R2) += -DNO_FPU -m32r2 |
| cflags-$(CONFIG_ISA_M32R) += -DNO_FPU |
| aflags-$(CONFIG_ISA_M32R) += -DNO_FPU -Wa,-no-bitinst |
| CHECKFLAGS := $(CHECK) -D__m32r__ |
| head-y := arch/m32r/kernel/head.o arch/m32r/kernel/init_task.o |
| LIBGCC := $(shell $(CC) $(CFLAGS) -print-libgcc-file-name) |
| libs-y += arch/m32r/lib/ $(LIBGCC) |
| core-y += arch/m32r/kernel/ \ |
| drivers-$(CONFIG_OPROFILE) += arch/m32r/oprofile/ |
| $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ |
| $(Q)$(MAKE) $(clean)=$(boot) |
| echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)' |