~hui.wang/alsa-driver/dkms-packaging.audiosdw

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
# Makefile parameters that is set by the user
# This is also used by the debian packaging.
#

# This is the Ubuntu codename, ie, maverick, natty, etc.
# 1) take from debian/changelog
# DISTRIBUTION := $(shell dpkg-parsechangelog | sed -n -e 's/^Distribution: //p')
# 2) take from currently running system
DISTRIBUTION := $(shell lsb_release -sc)
# 3) your own idea
 DISTRIBUTION := disco

# Package name
# dashes only in here (DKMS constraint)
# 1) Take binary package name from debian/control
PACKAGE_NAME := $(shell sed -n -e 's/^Package: //p' -e 's/-dkms$$//p' < debian/control | tail -1)
# 2) your own idea 
# PACKAGE_NAME := 

# no dashes or underscores allowed, less is more (DKMS constraint)
# 1) take from debian/changelog?
PACKAGE_VERSION := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
# 2) autogenerate based on current date?
# PACKAGE_VERSION := 0.$(shell date +%Y%m%d)
# 3) your own idea
# PACKAGE_VERSION := 

# If newer kernel installs, when will this DKMS package be obsoleted
OBSOLETE_BY = 9.99

# Uncomment this line to quiet all of the makefile recipe spew.
# Q = @
# Uncomment this line to see all of the spew.
Q = 

# If you want to compile a specific set of kernel headers, specify here.
KBUILD_TARGET =

# Controls from where the daily snapshot is picked as used by the fetch-src-from-tarball target.
UNSTABLE_TARBALL_SRC = ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz

# From where the source is picked in the fetch-src-from-directory target
UPSTREAM_SRC_DIR = hda-src-from-tree

# From where the source is picked in the fetch-src-from-kernel target
UPSTREAM_KERNEL_DIR = /home/hwang4/work/soundwire/ww09/kernel/linux