add build fatresize from source

This commit is contained in:
tiopex
2023-03-20 11:03:47 +01:00
parent 81abb23927
commit 5a0cc1df52
9 changed files with 28 additions and 17 deletions

View File

@@ -0,0 +1,14 @@
FATRESIZE_VERSION = origin/hardcoded
FATRESIZE_SITE_METHOD = git
FATRESIZE_SITE = https://github.com/flabbergast/fatresize.git
FATRESIZE_DEPENDENCIES = parted
define FATRESIZE_BUILD_CMDS
$(MAKE) CC="$(TARGET_CC)" CXX="$(TARGET_CXX)" LD="$(TARGET_LD)" -C $(@D)
endef
define FATRESIZE_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/fatresize_hc $(TARGET_DIR)/usr/bin
endef
$(eval $(generic-package))