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:
@@ -241,6 +241,7 @@ menu "Filesystem and flash utilities"
|
||||
source "package/unionfs/Config.in"
|
||||
source "package/xfsprogs/Config.in"
|
||||
source "package/zfs/Config.in"
|
||||
source "package/fatresize/Config.in"
|
||||
endmenu
|
||||
|
||||
menu "Fonts, cursors, icons, sounds and themes"
|
||||
|
||||
5
package/fatresize/Config.in
Normal file
5
package/fatresize/Config.in
Normal file
@@ -0,0 +1,5 @@
|
||||
config BR2_PACKAGE_FATRESIZE
|
||||
depends on BR2_PACKAGE_PARTED
|
||||
bool "fatresize"
|
||||
help
|
||||
Resize fat partitions
|
||||
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