Browse Source

Merge pull request #9293 from BKPepe/boost

boost: Makefile polishing and fix raw kconfig syntax
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
f3887e746d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 10 deletions
  1. +13
    -10
      libs/boost/Makefile

+ 13
- 10
libs/boost/Makefile View File

@ -13,15 +13,18 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=boost
PKG_VERSION:=1.70.0
PKG_SOURCE_VERSION:=1_70_0
PKG_RELEASE:=6
PKG_RELEASE:=7
PKG_SOURCE:=$(PKG_NAME)_$(PKG_SOURCE_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/$(PKG_NAME)/$(PKG_NAME)/$(PKG_VERSION) https://dl.bintray.com/boostorg/release/$(PKG_VERSION)/source/
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_SOURCE_VERSION)
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)_$(PKG_SOURCE_VERSION)
PKG_HASH:=430ae8354789de4fd19ee52f3b1f739e1fba576f0aded0897c3c2bc00fb38778
PKG_LICENSE:=Boost Software License <http://www.boost.org/users/license.html>
PKG_MAINTAINER:=Carlos M. Ferreira <carlosmf.pt@gmail.com>
PKG_LICENSE:=BSL-1.0
PKG_LICENSE_FILES:=LICENSE_1_0.txt
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_SOURCE_VERSION)
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)_$(PKG_SOURCE_VERSION)
PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0
@ -33,7 +36,7 @@ define Package/boost/Default
SECTION:=libs
CATEGORY:=Libraries
TITLE:=Boost C++ source library
URL:=http://www.boost.org
URL:=https://www.boost.org
DEPENDS:=+libstdcpp +libpthread +librt
endef
@ -196,11 +199,11 @@ define Package/boost/config
bool "Shared"
config boost-runtime-static
depends on @(!boost-shared-libs&&!boost-static-and-shared-libs)
depends on !boost-shared-libs&&!boost-static-and-shared-libs
bool "Static"
config boost-runtime-static-and-shared
depends on @(boost-use-name-tags&&!boost-shared-libs&&!boost-static-and-shared-libs)
depends on boost-use-name-tags&&!boost-shared-libs&&!boost-static-and-shared-libs
bool "Both"
endchoice
@ -237,14 +240,14 @@ define Package/boost/config
default n
config boost-single-thread
depends on @boost-use-name-tags
depends on boost-use-name-tags
bool "Single thread Support."
help
Compile Boost libraries in single-thread mode.
default n
config boost-build-type-complete
depends on @boost-use-name-tags
depends on boost-use-name-tags
bool "Complete Boost Build."
help
Builds both release and debug libs. It will take much longer to compile.
@ -274,7 +277,7 @@ define Package/boost/config
select PACKAGE_boost-test
config boost-coroutine2
depends on !@GCC_VERSION_4_8
depends on !GCC_VERSION_4_8
bool "Boost couroutine2 support."
select PACKAGE_boost-coroutine
default n


Loading…
Cancel
Save