mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
libnl: build as static library
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
ce58a1ec2a
commit
a2fa9386b4
@ -25,7 +25,7 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="https://01.org/powertop/"
|
PKG_SITE="https://01.org/powertop/"
|
||||||
PKG_URL="https://01.org/powertop/sites/default/files/downloads/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="https://01.org/powertop/sites/default/files/downloads/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS="ncurses pciutils libnl"
|
PKG_DEPENDS="ncurses pciutils"
|
||||||
PKG_BUILD_DEPENDS="toolchain ncurses pciutils libnl"
|
PKG_BUILD_DEPENDS="toolchain ncurses pciutils libnl"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="system"
|
PKG_SECTION="system"
|
||||||
|
@ -27,8 +27,8 @@ cd $PKG_BUILD
|
|||||||
--build=$HOST_NAME \
|
--build=$HOST_NAME \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--disable-static \
|
--enable-static \
|
||||||
--enable-shared \
|
--disable-shared \
|
||||||
--disable-cli \
|
--disable-cli \
|
||||||
|
|
||||||
make V=1
|
make V=1
|
||||||
|
@ -1,27 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/lib/.libs/libnl-*.so* $INSTALL/usr/lib/
|
|
||||||
rm -rf $INSTALL/usr/lib/libnl-*.so*T
|
|
@ -25,6 +25,8 @@
|
|||||||
# wpa_supplicant fails to build with LTO
|
# wpa_supplicant fails to build with LTO
|
||||||
strip_lto
|
strip_lto
|
||||||
|
|
||||||
|
LDFLAGS="$LDFLAGS -lpthread"
|
||||||
|
|
||||||
cd $PKG_BUILD/$1
|
cd $PKG_BUILD/$1
|
||||||
|
|
||||||
cp $ROOT/$PKG_DIR/config/makefile.config .config
|
cp $ROOT/$PKG_DIR/config/makefile.config .config
|
||||||
|
@ -25,7 +25,7 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://hostap.epitest.fi/wpa_supplicant/"
|
PKG_SITE="http://hostap.epitest.fi/wpa_supplicant/"
|
||||||
PKG_URL="http://hostap.epitest.fi/releases/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="http://hostap.epitest.fi/releases/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS="dbus libnl openssl"
|
PKG_DEPENDS="dbus openssl"
|
||||||
PKG_BUILD_DEPENDS="toolchain dbus libnl openssl"
|
PKG_BUILD_DEPENDS="toolchain dbus libnl openssl"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="network"
|
PKG_SECTION="network"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user