Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 198672 | Differences between
and this patch

Collapse All | Expand All

(-)vhba-module-1.0.0/Makefile (-5 / +4 lines)
Lines 1-21 Link Here
1
VHBA_VERSION = 1.0.0
1
VHBA_VERSION = 1.0.0
2
PACKAGE = vhba-module-$(VHBA_VERSION)
2
PACKAGE = vhba-module-$(VHBA_VERSION)
3
3
4
CFLAGS += -DVHBA_VERSION=\"$(VHBA_VERSION)\"
4
EXTRA_CFLAGS += -DVHBA_VERSION=\"$(VHBA_VERSION)\"
5
5
6
obj-m += vhba.o
6
obj-m += vhba.o
7
7
8
PWD	?= `pwd`
8
PWD	?= `pwd`
9
KDIR := /lib/modules/`uname -r`/build
9
KDIR := /lib/modules/`uname -r`/build
10
KMAKE := $(MAKE) -C $(KDIR) M=$(PWD)
11
10
12
all: modules
11
all: modules
13
12
14
modules:
13
modules:
15
	$(KMAKE) modules
14
	$(MAKE) -C $(KDIR) M=$(PWD) modules
16
15
17
module_install:
16
module_install:
18
	$(KMAKE) modules_install
17
	$(MAKE) -C $(KDIR) M=$(PWD) modules_install
19
18
20
install: module_install
19
install: module_install
21
20
Lines 24-30 Link Here
24
	cp Makefile $(distdir)
23
	cp Makefile $(distdir)
25
24
26
clean:
25
clean:
27
	$(KMAKE) clean
26
	$(MAKE) -C $(KDIR) M=$(PWD) clean
28
	rm -fr $(PACKAGE)    
27
	rm -fr $(PACKAGE)    
29
28
30
dist: dist-gzip
29
dist: dist-gzip

Return to bug 198672