Makefile 869 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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:=3.7.2
  10. PKG_HASH:=b06aa538fefc9c6b33c4db4931a09a5f52d9d2357219afcbff7d93fe12ebf6f7
  11. PKG_CPE_ID:=cpe:/a:openbsd:libressl
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=https://mirror.ox.ac.uk/pub/OpenBSD/LibreSSL \
  14. http://ftp.jaist.ac.jp/pub/OpenBSD/LibreSSL \
  15. https://ftp.openbsd.org/pub/OpenBSD/LibreSSL
  16. HOST_BUILD_PARALLEL:=1
  17. include $(INCLUDE_DIR)/host-build.mk
  18. HOSTCC := $(HOSTCC_NOCACHE)
  19. HOST_CFLAGS += $(HOST_FPIC)
  20. HOST_CONFIGURE_ARGS += \
  21. --enable-static \
  22. --disable-shared \
  23. --disable-asm \
  24. --with-pic \
  25. --disable-tests
  26. define Host/Uninstall
  27. -$(call Host/Compile/Default,uninstall)
  28. endef
  29. $(eval $(call HostBuild))