Makefile 858 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. include $(TOPDIR)/rules.mk
  3. PKG_NAME:=elfutils
  4. PKG_VERSION:=0.189
  5. PKG_RELEASE:=1
  6. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  7. PKG_SOURCE_URL:=https://sourceware.org/$(PKG_NAME)/ftp/$(PKG_VERSION)
  8. PKG_HASH:=39bd8f1a338e2b7cd4abc3ff11a0eddc6e690f69578a57478d8179b4148708c8
  9. PKG_LICENSE:=GPL-3.0-or-later
  10. PKG_LICENSE_FILES:=COPYING COPYING-GPLV2 COPYING-LGPLV3
  11. PKG_CPE_ID:=cpe:/a:elfutils_project:elfutils
  12. PKG_FIXUP:=autoreconf
  13. PKG_INSTALL:=1
  14. include $(INCLUDE_DIR)/host-build.mk
  15. HOST_CONFIGURE_ARGS += \
  16. --disable-debuginfod \
  17. --disable-libdebuginfod \
  18. --disable-nls \
  19. --disable-shared \
  20. --without-lzma \
  21. --without-zstd
  22. HOST_MAKE_FLAGS += \
  23. SUBDIRS="lib libelf libcpu backends libebl libdwelf libdwfl libdw"
  24. define Host/Uninstall
  25. -$(call Host/Compile/Default,uninstall)
  26. endef
  27. $(eval $(call HostBuild))