OSDN Git Service

elfutils: move host build to tools
[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 HOST_BUILD_DEPENDS:=argp-standalone/host musl-fts/host
21
22 include $(INCLUDE_DIR)/host-build.mk
23
24 HOST_CONFIGURE_ARGS += \
25         --disable-debuginfod \
26         --disable-libdebuginfod \
27         --disable-nls \
28         --disable-shared \
29         --without-lzma \
30         --without-zstd
31
32 $(eval $(call HostBuild))