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.3
  10. PKG_HASH:=7948c856a90c825bd7268b6f85674a8dcd254bae42e221781b24e3f8dc335db3
  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))