mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-15 19:09:46 +00:00
765323df23
Lakka 5.x Switch changes (#1853) Lakka v5.x switchroot 5.1.2 (#1871) Fix Switch Issue's in upstream 5.x (#1888) Minor Switch Changes (#1893) Lakka v5.x switch 3 (#1895) Lakka v5.x switch 4 (#1898) L4T: Xorg-server: Fix build issue (#1924) Switch: remove ra patch Lakka v5.x switch 6 (#1926) Cleanups, More LibreELEC Stuff, more permission fixes, Misc switch stuff. (#1930) Switch: U-Boot: bump version to 2024-NX02 (#1946) L4T/Ayn post-upstreaming fixes - retroarch_joypad_autoconfig: remove spaces from file names - retroarch: remove Switch specific patch merged upstream - libXv: move to L4T packages folder (package removed in upstream) - bring some packages from v5.x to L4T packages - ffmpeg: remove vulkan - remove stella core from Switch build (missing C++ headers) - Ayn/Odin: use proper kernel arg to not hide kernel messages in console - connman: add wpa_supplicant support back
37 lines
1.3 KiB
Makefile
37 lines
1.3 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="wpa_supplicant"
|
|
PKG_VERSION="2.10"
|
|
PKG_SHA256="20df7ae5154b3830355f8ab4269123a87affdea59fe74fe9292a91d0d7e17b2f"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://w1.fi/wpa_supplicant/"
|
|
PKG_URL="https://w1.fi/releases/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain dbus libnl openssl"
|
|
PKG_LONGDESC="A free software implementation of an IEEE 802.11i supplicant."
|
|
PKG_TOOLCHAIN="make"
|
|
PKG_BUILD_FLAGS="+lto-parallel"
|
|
|
|
PKG_MAKE_OPTS_TARGET="-C wpa_supplicant V=1 LIBDIR=/usr/lib BINDIR=/usr/bin"
|
|
PKG_MAKEINSTALL_OPTS_TARGET="-C wpa_supplicant V=1 LIBDIR=/usr/lib BINDIR=/usr/bin"
|
|
|
|
configure_target() {
|
|
LDFLAGS+=" -lpthread -lm"
|
|
|
|
cp ${PKG_DIR}/config/makefile.config wpa_supplicant/.config
|
|
}
|
|
|
|
post_makeinstall_target() {
|
|
rm -r ${INSTALL}/usr/bin/wpa_cli
|
|
|
|
mkdir -p ${INSTALL}/etc/dbus-1/system.d
|
|
cp wpa_supplicant/dbus/dbus-wpa_supplicant.conf ${INSTALL}/etc/dbus-1/system.d
|
|
|
|
mkdir -p ${INSTALL}/usr/lib/systemd/system
|
|
cp wpa_supplicant/systemd/wpa_supplicant.service ${INSTALL}/usr/lib/systemd/system
|
|
|
|
mkdir -p ${INSTALL}/usr/share/dbus-1/system-services
|
|
cp wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service ${INSTALL}/usr/share/dbus-1/system-services
|
|
}
|