source: trunk/packages/xen-common/xen-common/xen/arch/ia64/tools/p2m_expose/Makefile @ 34

Last change on this file since 34 was 34, checked in by hartmans, 17 years ago

Add xen and xen-common

  • Property svn:mime-type set to audio/x-669-mod
File size: 593 bytes
Line 
1ifneq ($(KERNELRELEASE),)
2obj-m += expose_p2m.o
3else
4PWD := $(shell pwd)
5TOPDIR ?= $(abspath $(PWD)/../../../../..)
6KDIR ?= $(TOPDIR)/linux-$(shell awk '/^LINUX_VER\>/{print $$3}' $(TOPDIR)/buildconfigs/mk.linux-2.6-xen)-xen
7#CROSS_COMPILE ?= ia64-unknown-linux-
8#ARCH ?= ia64
9
10ifneq ($(O),)
11OPT_O := O=$(realpath $(O))
12endif
13
14ifneq ($(V),)
15OPT_V := V=$(V)
16endif
17
18ifneq ($(ARCH),)
19OPT_ARCH := ARCH=$(ARCH)
20endif
21
22ifneq ($(CROSS_COMPILE),)
23OPT_CORSS_COMPILE := CROSS_COMPILE=$(CROSS_COMPILE)
24endif
25
26default:
27        $(MAKE) -C $(KDIR) $(OPT_O) $(OPT_V) $(OPT_CORSS_COMPILE) $(OPT_ARCH) M=$(PWD)
28endif
Note: See TracBrowser for help on using the repository browser.