Makefile 794 B

123456789101112131415161718192021222324252627282930313233
  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=libressl
  9. PKG_VERSION:=2.9.2
  10. PKG_HASH:=c4c78167fae325b47aebd8beb54b6041d6f6a56b3743f4bd5d79b15642f9d5d4
  11. PKG_RELEASE:=1
  12. PKG_CPE_ID:=cpe:/a:openbsd:libressl
  13. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  14. PKG_SOURCE_URL:=http://mirror.ox.ac.uk/pub/OpenBSD/LibreSSL \
  15. http://ftp.jaist.ac.jp/pub/OpenBSD/LibreSSL \
  16. https://ftp.openbsd.org/pub/OpenBSD/LibreSSL
  17. HOST_BUILD_PARALLEL:=1
  18. include $(INCLUDE_DIR)/host-build.mk
  19. HOST_CONFIGURE_ARGS += --disable-shared
  20. HOST_CFLAGS += $(FPIC)
  21. ifeq ($(GNU_HOST_NAME),x86_64-linux-gnux32)
  22. HOST_CONFIGURE_ARGS += --disable-asm
  23. endif
  24. $(eval $(call HostBuild))