Blame view
arch/m32r/Makefile
1.41 KB
1da177e4c Linux-2.6.12-rc2 |
1 2 3 |
# # m32r/Makefile # |
4f1933620 kbuild: change kb... |
4 5 6 |
# This file is included by the global makefile so that you can add your own # architecture-specific flags and dependencies. # |
1da177e4c Linux-2.6.12-rc2 |
7 |
|
7622b4645 m32r: use KBUILD_... |
8 |
KBUILD_DEFCONFIG := m32700ut.smp_defconfig |
1da177e4c Linux-2.6.12-rc2 |
9 10 |
LDFLAGS := OBJCOPYFLAGS := -O binary -R .note -R .comment -S |
3d60f8493 [PATCH] m32r: fix... |
11 |
LDFLAGS_vmlinux := |
1da177e4c Linux-2.6.12-rc2 |
12 |
|
a0f97e06a kbuild: enable 'm... |
13 |
KBUILD_CFLAGS += -pipe -fno-schedule-insns |
80c00ba94 kbuild: allow ass... |
14 |
KBUILD_CFLAGS_KERNEL += -mmodel=medium |
6588169d5 kbuild: allow ass... |
15 |
KBUILD_CFLAGS_MODULE += -mmodel=large |
1da177e4c Linux-2.6.12-rc2 |
16 17 18 |
ifdef CONFIG_CHIP_VDEC2 cflags-$(CONFIG_ISA_M32R2) += -DNO_FPU -Wa,-bitinst |
cde05cf21 [PATCH] m32r: ena... |
19 |
aflags-$(CONFIG_ISA_M32R2) += -DNO_FPU -O2 -Wa,-bitinst -Wa,-no-parallel |
1da177e4c Linux-2.6.12-rc2 |
20 21 |
else cflags-$(CONFIG_ISA_M32R2) += -DNO_FPU -m32r2 |
cde05cf21 [PATCH] m32r: ena... |
22 |
aflags-$(CONFIG_ISA_M32R2) += -DNO_FPU -m32r2 -O2 |
1da177e4c Linux-2.6.12-rc2 |
23 24 25 |
endif cflags-$(CONFIG_ISA_M32R) += -DNO_FPU |
cde05cf21 [PATCH] m32r: ena... |
26 |
aflags-$(CONFIG_ISA_M32R) += -DNO_FPU -O2 -Wa,-no-bitinst |
1da177e4c Linux-2.6.12-rc2 |
27 |
|
a0f97e06a kbuild: enable 'm... |
28 |
KBUILD_CFLAGS += $(cflags-y) |
222d394d3 kbuild: enable 'm... |
29 |
KBUILD_AFLAGS += $(aflags-y) |
1da177e4c Linux-2.6.12-rc2 |
30 |
|
c74dbac71 [PATCH] m32r: set... |
31 |
CHECKFLAGS += -D__m32r__ -D__BIG_ENDIAN__=1 |
1da177e4c Linux-2.6.12-rc2 |
32 33 |
head-y := arch/m32r/kernel/head.o arch/m32r/kernel/init_task.o |
a0f97e06a kbuild: enable 'm... |
34 |
LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) |
1da177e4c Linux-2.6.12-rc2 |
35 36 37 38 |
libs-y += arch/m32r/lib/ $(LIBGCC) core-y += arch/m32r/kernel/ \ arch/m32r/mm/ \ |
3264f976d m32r: Rearrange p... |
39 40 |
arch/m32r/boot/ \ arch/m32r/platforms/ |
1da177e4c Linux-2.6.12-rc2 |
41 42 43 44 |
drivers-$(CONFIG_OPROFILE) += arch/m32r/oprofile/ boot := arch/m32r/boot |
4f1933620 kbuild: change kb... |
45 |
PHONY += zImage |
1da177e4c Linux-2.6.12-rc2 |
46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
all: zImage zImage: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ compressed: zImage archclean: $(Q)$(MAKE) $(clean)=$(boot) define archhelp echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)' endef |