diff --git a/package/avm/ipw2100/ipw2100.conf b/package/avm/ipw2100/ipw2100.conf index 9d3a0a68d..1b6f9964e 100644 --- a/package/avm/ipw2100/ipw2100.conf +++ b/package/avm/ipw2100/ipw2100.conf @@ -20,6 +20,10 @@ # # --- ROCK-COPYRIGHT-NOTE-END --- +. $base/package/base/linux/kernelversion.sh +var_append makeinstopt " " "KVER=$kernelversion" +var_append makeopt " " "KVER=$kernelversion" + ipw2100_pm() { driverfile=$base/download/mirror/h/hostap-driver-0.1.3.tar.bz2 tar -x --use-compress-program=bunzip2 -f $driverfile @@ -32,3 +36,4 @@ ipw2100_pm() { hook_add premake 3 "ipw2100_pm" var_append makeopt " " "CONFIG_IPW2100_LEGACY_FW_LOAD=y" + diff --git a/package/avm/tpctl/tpctl.conf b/package/avm/tpctl/tpctl.conf new file mode 100644 index 000000000..4423977d2 --- /dev/null +++ b/package/avm/tpctl/tpctl.conf @@ -0,0 +1,19 @@ + +uname_inst() { + mkdir -p $builddir/bin + cat << EOT > $builddir/bin/uname +#!/bin/bash +if [ "\$*" = "-r" ]; then + echo $kernelversion +else + exec $( type -p uname ) +fi +EOT + chmod +x $builddir/bin/uname + ln -s /bin/true $builddir/bin/depmod + var_insert PATH ":" $builddir/bin +} + +hook_add prepare 8 uname_inst +. $base/package/base/linux/kernelversion.sh + diff --git a/package/stf/gatos-km/gatos-km.conf b/package/stf/gatos-km/gatos-km.conf new file mode 100644 index 000000000..54028fa5e --- /dev/null +++ b/package/stf/gatos-km/gatos-km.conf @@ -0,0 +1,5 @@ + +. $base/package/base/linux/kernelversion.sh +var_append makeinstopt " " "KVER=$kernelversion" +var_append makeopt " " "KVER=$kernelversion" +