Lines 29-34
Link Here
|
29 |
S=${WORKDIR}/pwc-v4l2-${MY_PV} |
29 |
S=${WORKDIR}/pwc-v4l2-${MY_PV} |
30 |
|
30 |
|
31 |
pkg_setup() { |
31 |
pkg_setup() { |
|
|
32 |
linux-mod_pkg_setup |
33 |
|
32 |
if kernel_is 2 6; then |
34 |
if kernel_is 2 6; then |
33 |
if [ "${KV_PATCH}" -ge 18 ] ; then |
35 |
if [ "${KV_PATCH}" -ge 18 ] ; then |
34 |
die "In kernel ${KV_FULL} this module is deprecated by the builtin driver." |
36 |
die "In kernel ${KV_FULL} this module is deprecated by the builtin driver." |
Lines 42-56
Link Here
|
42 |
epatch "${FILESDIR}/config.h.patch" |
44 |
epatch "${FILESDIR}/config.h.patch" |
43 |
} |
45 |
} |
44 |
|
46 |
|
45 |
pkg_setup() { |
|
|
46 |
linux-mod_pkg_setup |
47 |
|
48 |
if kernel_is 2 4; then |
49 |
eerror "${P} does not support building against kernel 2.4.x" |
50 |
die "${P} does not support building against kernel 2.4.x" |
51 |
fi |
52 |
} |
53 |
|
54 |
pkg_postinst() { |
47 |
pkg_postinst() { |
55 |
linux-mod_pkg_postinst |
48 |
linux-mod_pkg_postinst |
56 |
|
49 |
|