31554e50d2
Upstream switched to building with CMake. Adjust accordingly. Reapplied patch as upstream changed the file format. Added HOST_BUILD_PARALLEL for faster compilation. Added cmake tool dependency and removed circular dependencies as a result. Adjusted dependent tools to use NOCACHE as they are needed to build ccache. Signed-off-by: Rosen Penev <rosenp@gmail.com>
35 lines
854 B
Makefile
35 lines
854 B
Makefile
#
|
|
# Copyright (C) 2016-2017 LEDE project
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=libressl
|
|
PKG_VERSION:=3.3.1
|
|
PKG_HASH:=a6d331865e0164a13ac85a228e52517f7cf8f8488f2f95f34e7857302f97cfdb
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_CPE_ID:=cpe:/a:openbsd:libressl
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=http://mirror.ox.ac.uk/pub/OpenBSD/LibreSSL \
|
|
http://ftp.jaist.ac.jp/pub/OpenBSD/LibreSSL \
|
|
https://ftp.openbsd.org/pub/OpenBSD/LibreSSL
|
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
HOSTCC := $(HOSTCC_NOCACHE)
|
|
HOST_CONFIGURE_ARGS += --enable-static --disable-shared --disable-tests
|
|
HOST_CFLAGS += $(FPIC)
|
|
|
|
ifeq ($(GNU_HOST_NAME),x86_64-linux-gnux32)
|
|
HOST_CONFIGURE_ARGS += --disable-asm
|
|
endif
|
|
|
|
$(eval $(call HostBuild))
|