kvm: vmx: Limit guest PMCs to those supported on the host
[linux-2.6-block.git] / arch / h8300 / Makefile
CommitLineData
8dbdef22
YS
1#
2# arch/h8300/Makefile
3#
4# This file is subject to the terms and conditions of the GNU General Public
5# License. See the file "COPYING" in the main directory of this archive
6# for more details.
7#
8# (C) Copyright 2002-2015 Yoshinori Sato <ysato@users.sourceforge.jp>
9#
10
7b291be8
RD
11KBUILD_DEFCONFIG := edosk2674_defconfig
12
8dbdef22
YS
13cflags-$(CONFIG_CPU_H8300H) := -mh
14aflags-$(CONFIG_CPU_H8300H) := -mh -Wa,--mach=h8300h
15ldflags-$(CONFIG_CPU_H8300H) := -mh8300helf_linux
16cflags-$(CONFIG_CPU_H8S) := -ms
17aflags-$(CONFIG_CPU_H8S) := -ms -Wa,--mach=h8300s
18ldflags-$(CONFIG_CPU_H8S) := -mh8300self_linux
19
20KBUILD_CFLAGS += $(cflags-y)
21KBUILD_CFLAGS += -mint32 -fno-builtin
22KBUILD_CFLAGS += -D__linux__
23KBUILD_CFLAGS += -DUTS_SYSNAME=\"uClinux\"
24KBUILD_AFLAGS += $(aflags-y)
d503ac53 25KBUILD_LDFLAGS += $(ldflags-y)
8dbdef22 26
1b803a35
LVO
27CHECKFLAGS += -msize-long
28
3bc27cdf 29ifeq ($(CROSS_COMPILE),)
fc2b47b5 30CROSS_COMPILE := $(call cc-cross-prefix, h8300-unknown-linux- h8300-linux-)
3bc27cdf 31endif
8dbdef22
YS
32
33core-y += arch/$(ARCH)/kernel/ arch/$(ARCH)/mm/
37c8a5fa 34core-y += arch/$(ARCH)/boot/dts/
8dbdef22
YS
35
36libs-y += arch/$(ARCH)/lib/
37
38boot := arch/h8300/boot
39
8dbdef22
YS
40archclean:
41 $(Q)$(MAKE) $(clean)=$(boot)
42
43vmlinux.srec vmlinux.bin zImage uImage.bin: vmlinux
44 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
45
46define archhelp
47 @echo 'vmlinux.bin - Create raw binary'
48 @echo 'vmlinux.srec - Create srec binary'
49 @echo 'zImage - Compressed kernel image'
50endef