Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 20 years ago
parent
commit
8feb9b7c50
4 changed files with 34 additions and 1 deletions
  1. +9
    -0
      package/avm/btsco/btsco.conf
  2. +10
    -0
      package/avm/hostap/hostap.conf
  3. +4
    -1
      package/base/linux/linux.conf
  4. +11
    -0
      package/hannes/ipw2200/ipw2200.conf

+ 9
- 0
package/avm/btsco/btsco.conf

@ -20,6 +20,15 @@
#
# --- ROCK-COPYRIGHT-NOTE-END ---
. $base/package/base/linux/kernelversion.sh
add_wrapper uname <<- EOT
if [ "\$*" = "-r" ]; then
echo "$kernelversion"
exit 0
fi
exec \$orig "\$@"
EOT
# this needs the option CONFIG_SND_USB_USX2Y set so snd-hwdep.ko is built!
btsco_kernelmodules() {

+ 10
- 0
package/avm/hostap/hostap.conf

@ -20,6 +20,16 @@
#
# --- ROCK-COPYRIGHT-NOTE-END ---
. $base/package/base/linux/kernelversion.sh
add_wrapper uname <<- EOT
if [ "\$*" = "-r" ]; then
echo "$kernelversion"
exit 0
fi
exec \$orig "\$@"
EOT
hostap_postmake()
{
if basename $PWD | egrep -q "(hostapd|hostap-util)"; then

+ 4
- 1
package/base/linux/linux.conf

@ -482,10 +482,13 @@ main_lx() {
do [ -f $x ] && add_flist $x; done
fi
# fix /lib/modules/${ver}/build symlink
# fix /lib/modules/${ver}/{build,source} symlinks
rm -f $root/lib/modules/${lx_kernelrelease}/build
rm -f $root/lib/modules/${lx_kernelrelease}/source
ln -sf ../../../usr/src/linux-${lx_kernelrelease} \
$root/lib/modules/${lx_kernelrelease}/build
ln -sf ../../../usr/src/linux-${lx_kernelrelease} \
$root/lib/modules/${lx_kernelrelease}/source
if [ "$default" ] ; then
cp $confdir/mkinitrd.sh $root/sbin/mkinitrd

+ 11
- 0
package/hannes/ipw2200/ipw2200.conf

@ -20,6 +20,17 @@
#
# --- ROCK-COPYRIGHT-NOTE-END ---
. $base/package/base/linux/kernelversion.sh
add_wrapper uname <<- EOT
if [ "\$*" = "-r" ]; then
echo "$kernelversion"
exit 0
fi
exec \$orig "\$@"
EOT
ipw2200_pm ()
{
sed -i '/depmod/d' Makefile

Loading…
Cancel
Save