ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / tools / libressl / Makefile
1 #
2 # Copyright (C) 2016-2017 LEDE project
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=libressl
11 PKG_VERSION:=3.7.3
12 PKG_HASH:=7948c856a90c825bd7268b6f85674a8dcd254bae42e221781b24e3f8dc335db3
13
14 PKG_CPE_ID:=cpe:/a:openbsd:libressl
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=https://mirror.ox.ac.uk/pub/OpenBSD/LibreSSL \
18 http://ftp.jaist.ac.jp/pub/OpenBSD/LibreSSL \
19 https://ftp.openbsd.org/pub/OpenBSD/LibreSSL
20
21 HOST_BUILD_PARALLEL:=1
22
23 include $(INCLUDE_DIR)/host-build.mk
24
25 HOSTCC := $(HOSTCC_NOCACHE)
26
27 HOST_CFLAGS += $(HOST_FPIC)
28
29 HOST_CONFIGURE_ARGS += \
30 --enable-static \
31 --disable-shared \
32 --disable-asm \
33 --with-pic \
34 --disable-tests
35
36 define Host/Uninstall
37 -$(call Host/Compile/Default,uninstall)
38 endef
39
40 $(eval $(call HostBuild))