Skip to content

Commit

Permalink
e2fsprogs: remove HostBuild
Browse files Browse the repository at this point in the history
These things already get built and installed by tools/e2fsprogs. No need
to duplicate.

Signed-off-by: Rosen Penev <[email protected]>
Link: openwrt#15822
Signed-off-by: Robert Marko <[email protected]>
  • Loading branch information
neheb authored and robimarko committed Jun 28, 2024
1 parent 7c9644a commit 7c32295
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions package/utils/e2fsprogs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=NOTICE
PKG_CPE_ID:=cpe:/a:e2fsprogs_project:e2fsprogs

PKG_BUILD_DEPENDS:=util-linux e2fsprogs/host
PKG_BUILD_DEPENDS:=util-linux
PKG_INSTALL:=1

PKG_BUILD_PARALLEL:=1
Expand Down Expand Up @@ -225,23 +225,6 @@ define Build/InstallDev
$(CP) $(PKG_BUILD_DIR)/lib/e2p/e2p.h $(1)/usr/include/e2p
endef

define Host/Compile
$(MAKE) $(PKG_JOBS) -C $(HOST_BUILD_DIR)/lib/ss mk_cmds
$(MAKE) $(PKG_JOBS) -C $(HOST_BUILD_DIR)/lib/et compile_et
endef

define Host/Install
$(INSTALL_DIR) $(1)/share/et
$(CP) $(HOST_BUILD_DIR)/lib/et/et_[ch].awk $(1)/share/et/
$(INSTALL_DIR) $(1)/share/ss
$(CP) $(HOST_BUILD_DIR)/lib/ss/ct_c.{sed,awk} $(1)/share/ss/
$(INSTALL_DIR) $(1)/bin
$(CP) \
$(HOST_BUILD_DIR)/lib/et/compile_et \
$(HOST_BUILD_DIR)/lib/ss/mk_cmds \
$(1)/bin/
endef

define Package/e2fsprogs/conffiles
/etc/e2fsck.conf
endef
Expand Down Expand Up @@ -354,4 +337,3 @@ $(eval $(call BuildPackage,filefrag))
$(eval $(call BuildPackage,debugfs))
$(eval $(call BuildPackage,chattr))
$(eval $(call BuildPackage,lsattr))
$(eval $(call HostBuild))

0 comments on commit 7c32295

Please sign in to comment.