22 lines
748 B
Makefile
22 lines
748 B
Makefile
|
# SPDX-License-Identifier: GPL-2.0
|
||
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||
|
|
||
|
PKG_NAME="iw"
|
||
|
PKG_VERSION="5.4"
|
||
|
PKG_SHA256="a2469f677088d7b1070a7fbb28f3c747041697e8f6ec70783339cb1bc27a395f"
|
||
|
PKG_LICENSE="PUBLIC_DOMAIN"
|
||
|
PKG_SITE="https://wireless.wiki.kernel.org/en/users/documentation/iw"
|
||
|
PKG_URL="https://www.kernel.org/pub/software/network/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||
|
PKG_DEPENDS_TARGET="toolchain libnl"
|
||
|
PKG_LONGDESC="A new nl80211 based CLI configuration utility for wireless devices."
|
||
|
# iw fails at runtime with lto enabled
|
||
|
|
||
|
pre_configure_target() {
|
||
|
export LDFLAGS="$LDFLAGS -pthread"
|
||
|
}
|
||
|
|
||
|
post_makeinstall_target() {
|
||
|
mkdir -p $INSTALL/usr/lib/iw
|
||
|
cp $PKG_DIR/scripts/setregdomain $INSTALL/usr/lib/iw
|
||
|
}
|