diff options
author | bnewbold <bnewbold@robocracy.org> | 2013-07-15 00:03:47 +0000 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2013-07-15 00:03:47 +0000 |
commit | 6c94ef706e8b4450a8a83b0f1cf80a74d683d4a0 (patch) | |
tree | 051fb87d5de9421e798baf709d578e246674d347 /package/genfatfs | |
parent | 6b2a0e0c9b297396a9c0841905fa31275a38a0e3 (diff) | |
download | buildroot-novena-6c94ef706e8b4450a8a83b0f1cf80a74d683d4a0.tar.gz buildroot-novena-6c94ef706e8b4450a8a83b0f1cf80a74d683d4a0.zip |
packages: add genfatfs and makedisk (both host tools)
Diffstat (limited to 'package/genfatfs')
-rw-r--r-- | package/genfatfs/Config.in.host | 6 | ||||
-rw-r--r-- | package/genfatfs/genfatfs.mk | 29 |
2 files changed, 35 insertions, 0 deletions
diff --git a/package/genfatfs/Config.in.host b/package/genfatfs/Config.in.host new file mode 100644 index 000000000..ed8232c84 --- /dev/null +++ b/package/genfatfs/Config.in.host @@ -0,0 +1,6 @@ +config BR2_PACKAGE_HOST_GENFATFS + bool "host genfatfs" + help + FAT filesystem disk image generator. + + https://github.com/xobs/genfatfs diff --git a/package/genfatfs/genfatfs.mk b/package/genfatfs/genfatfs.mk new file mode 100644 index 000000000..1128f0241 --- /dev/null +++ b/package/genfatfs/genfatfs.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# genfatfs +# +################################################################################ + +GENFATFS_VERSION = 5c9ef0078b379966d5532389b4f332cfabb9ccd0 +GENFATFS_SITE = https://github.com/xobs/genfatfs/tarball/$(GENFATFS_VERSION) + +define GENFATFS_BUILD_CMDS + $(MAKE) -C $(@D) \ + HOSTCC="$(TARGET_CC)" \ + HOSTCFLAGS="$(TARGET_CFLAGS)" \ + HOSTLDFLAGS="$(TARGET_LDFLAGS)" \ + HOSTSTRIP=true +endef + +define HOST_GENFATFS_BUILD_CMDS + $(MAKE1) -C $(@D) \ + HOSTCC="$(HOSTCC)" \ + HOSTCFLAGS="$(HOST_CFLAGS)" \ + HOSTLDFLAGS="$(HOST_LDFLAGS)" +endef + +define HOST_GENFATFS_INSTALL_CMDS + $(INSTALL) -m 0755 -D $(@D)/genfatfs $(HOST_DIR)/usr/bin/genfatfs +endef + +$(eval $(host-generic-package)) |