diff --git a/package/stf/gatos-ati-remote/config.in b/package/stf/gatos-ati-remote/config.in new file mode 100644 index 000000000..ea1fcd0eb --- /dev/null +++ b/package/stf/gatos-ati-remote/config.in @@ -0,0 +1,5 @@ +if pkgcheck gatos-ati-remote X; then + if [ $ROCKCFG_PKG_LINUX_IMG24 == 0 ]; then + pkgdisable gatos-ati-remote + fi +fi diff --git a/package/stf/gatos-ati-remote/gatos-ati-remote.conf b/package/stf/gatos-ati-remote/gatos-ati-remote.conf new file mode 100644 index 000000000..fbcffc6ae --- /dev/null +++ b/package/stf/gatos-ati-remote/gatos-ati-remote.conf @@ -0,0 +1,7 @@ + +linux24_ver=`grep "\[V\] *2.4" $base/package/base/linux/linux.desc | cut -f2 -d" "` +MAKE="$MAKE KDIR=/usr/src/linux-$linux24_ver-rock" + +hook_add postmake 5 "mkdir -p /lib/modules/$linux24_ver/gatos; \ + cp -a ati_remote.o /lib/modules/$linux24_ver/gatos; \ + cp -a lircd.conf /etc/lircd.conf.gatos-example" \ No newline at end of file diff --git a/package/stf/gatos-ati-remote/gatos-ati-remote.desc b/package/stf/gatos-ati-remote/gatos-ati-remote.desc index c4ad80bf0..d12128bc2 100644 --- a/package/stf/gatos-ati-remote/gatos-ati-remote.desc +++ b/package/stf/gatos-ati-remote/gatos-ati-remote.desc @@ -24,7 +24,10 @@ [I] Linux kernel module that interfaces ATI RF remote as a regular input device [T] GATOS project provides enhanced drivers for many videocards made by ATI (in -[T] particular All-in-Wonder series) and a TV player/recorder application AVview. +[T] particular All-in-Wonder series) and a TV player/recorder application AVview. +[T] +[T] The driver in this package is included in Linux 2.6.5 and later kernels; +[T] therefore this package can only be built with Linux 2.4 kernels. [U] http://gatos.sourceforge.net