OSDN Git Service

tools/elfutils: drop HOST_BUILD_DEPENDS
[immortalwrt/immortalwrt.git] / tools / elfutils / Makefile
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=elfutils
6 PKG_VERSION:=0.186
7 PKG_RELEASE:=1
8
9 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
10 PKG_SOURCE_URL:=https://sourceware.org/$(PKG_NAME)/ftp/$(PKG_VERSION)
11 PKG_HASH:=7f6fb9149b1673d38d9178a0d3e0fb8a1ec4f53a9f4c2ff89469609879641177
12
13 PKG_LICENSE:=GPL-3.0-or-later
14 PKG_LICENSE_FILES:=COPYING COPYING-GPLV2 COPYING-LGPLV3
15 PKG_CPE_ID:=cpe:/a:elfutils_project:elfutils
16
17 PKG_FIXUP:=autoreconf
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/host-build.mk
21
22 HOST_CONFIGURE_ARGS += \
23         --disable-debuginfod \
24         --disable-libdebuginfod \
25         --disable-nls \
26         --disable-shared \
27         --without-lzma \
28         --without-zstd
29
30 HOST_MAKE_FLAGS += \
31         SUBDIRS="lib libelf libcpu backends libebl libdwelf libdwfl libdw"
32
33 $(eval $(call HostBuild))