mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
add build fatresize from source
This commit is contained in:
14
package/fatresize/fatresize.mk
Normal file
14
package/fatresize/fatresize.mk
Normal 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))
|
||||
Reference in New Issue
Block a user