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 | |
---|
1 | ifneq ($(KERNELRELEASE),) |
---|
2 | obj-m += expose_p2m.o |
---|
3 | else |
---|
4 | PWD := $(shell pwd) |
---|
5 | TOPDIR ?= $(abspath $(PWD)/../../../../..) |
---|
6 | KDIR ?= $(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 | |
---|
10 | ifneq ($(O),) |
---|
11 | OPT_O := O=$(realpath $(O)) |
---|
12 | endif |
---|
13 | |
---|
14 | ifneq ($(V),) |
---|
15 | OPT_V := V=$(V) |
---|
16 | endif |
---|
17 | |
---|
18 | ifneq ($(ARCH),) |
---|
19 | OPT_ARCH := ARCH=$(ARCH) |
---|
20 | endif |
---|
21 | |
---|
22 | ifneq ($(CROSS_COMPILE),) |
---|
23 | OPT_CORSS_COMPILE := CROSS_COMPILE=$(CROSS_COMPILE) |
---|
24 | endif |
---|
25 | |
---|
26 | default: |
---|
27 | $(MAKE) -C $(KDIR) $(OPT_O) $(OPT_V) $(OPT_CORSS_COMPILE) $(OPT_ARCH) M=$(PWD) |
---|
28 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.