Skip to content
Snippets Groups Projects
Commit 8550086c authored by Lucian Cristian's avatar Lucian Cristian Committed by Christian Lamparter
Browse files

elfutils: enable host build


frr 8.0 needs host libelf dev
add option for host build
tested on x86, ramips, kirkwood

Signed-off-by: default avatarLucian Cristian <lucian.cristian@gmail.com>
[changed commit author's email]
Signed-off-by: default avatarChristian Lamparter <chunkeey@gmail.com>
parent 78be2741
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ PKG_BUILD_DEPENDS:=!USE_GLIBC:argp-standalone ...@@ -26,6 +26,7 @@ PKG_BUILD_DEPENDS:=!USE_GLIBC:argp-standalone
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk include $(INCLUDE_DIR)/nls.mk
include $(INCLUDE_DIR)/host-build.mk
define Package/elfutils/Default define Package/elfutils/Default
SECTION:=libs SECTION:=libs
...@@ -60,6 +61,12 @@ else ...@@ -60,6 +61,12 @@ else
CONFIGURE_ARGS += --disable-nls CONFIGURE_ARGS += --disable-nls
endif endif
HOST_CONFIGURE_ARGS += \
--disable-debuginfod \
--disable-libdebuginfod \
--without-lzma \
--without-zstd
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--program-prefix=eu- \ --program-prefix=eu- \
--disable-debuginfod \ --disable-debuginfod \
...@@ -97,6 +104,7 @@ define Package/libelf/install ...@@ -97,6 +104,7 @@ define Package/libelf/install
endef endef
# these lines need to be ordered by dependency because of ABI versioning # these lines need to be ordered by dependency because of ABI versioning
$(eval $(call HostBuild))
$(eval $(call BuildPackage,libelf)) $(eval $(call BuildPackage,libelf))
$(eval $(call BuildPackage,libdw)) $(eval $(call BuildPackage,libdw))
$(eval $(call BuildPackage,libasm)) $(eval $(call BuildPackage,libasm))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment