diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
| commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
| tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /arch/m32r/Makefile | |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'arch/m32r/Makefile')
| -rw-r--r-- | arch/m32r/Makefile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/arch/m32r/Makefile b/arch/m32r/Makefile new file mode 100644 index 000000000000..dd4418d846e9 --- /dev/null +++ b/arch/m32r/Makefile | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | # | ||
| 2 | # m32r/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | LDFLAGS := | ||
| 6 | OBJCOPYFLAGS := -O binary -R .note -R .comment -S | ||
| 7 | LDFLAGS_vmlinux := -e startup_32 | ||
| 8 | |||
| 9 | CFLAGS += -pipe -fno-schedule-insns | ||
| 10 | CFLAGS_KERNEL += -mmodel=medium | ||
| 11 | CFLAGS_MODULE += -mmodel=large | ||
| 12 | |||
| 13 | ifdef CONFIG_CHIP_VDEC2 | ||
| 14 | cflags-$(CONFIG_ISA_M32R2) += -DNO_FPU -Wa,-bitinst | ||
| 15 | aflags-$(CONFIG_ISA_M32R2) += -DNO_FPU -Wa,-bitinst | ||
| 16 | else | ||
| 17 | cflags-$(CONFIG_ISA_M32R2) += -DNO_FPU -m32r2 | ||
| 18 | aflags-$(CONFIG_ISA_M32R2) += -DNO_FPU -m32r2 | ||
| 19 | endif | ||
| 20 | |||
| 21 | cflags-$(CONFIG_ISA_M32R) += -DNO_FPU | ||
| 22 | aflags-$(CONFIG_ISA_M32R) += -DNO_FPU -Wa,-no-bitinst | ||
| 23 | |||
| 24 | CFLAGS += $(cflags-y) | ||
| 25 | AFLAGS += $(aflags-y) | ||
| 26 | |||
| 27 | CHECKFLAGS := $(CHECK) -D__m32r__ | ||
| 28 | |||
| 29 | head-y := arch/m32r/kernel/head.o arch/m32r/kernel/init_task.o | ||
| 30 | |||
| 31 | LIBGCC := $(shell $(CC) $(CFLAGS) -print-libgcc-file-name) | ||
| 32 | |||
| 33 | libs-y += arch/m32r/lib/ $(LIBGCC) | ||
| 34 | core-y += arch/m32r/kernel/ \ | ||
| 35 | arch/m32r/mm/ \ | ||
| 36 | arch/m32r/boot/ | ||
| 37 | |||
| 38 | drivers-$(CONFIG_OPROFILE) += arch/m32r/oprofile/ | ||
| 39 | |||
| 40 | boot := arch/m32r/boot | ||
| 41 | |||
| 42 | .PHONY: zImage | ||
| 43 | |||
| 44 | all: zImage | ||
| 45 | |||
| 46 | zImage: vmlinux | ||
| 47 | $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ | ||
| 48 | |||
| 49 | compressed: zImage | ||
| 50 | |||
| 51 | archclean: | ||
| 52 | $(Q)$(MAKE) $(clean)=$(boot) | ||
| 53 | |||
| 54 | define archhelp | ||
| 55 | echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)' | ||
| 56 | endef | ||
