2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-03-01 23:56:37 +01:00
|
|
|
#
|
|
|
|
# genromfs
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-03-01 23:56:37 +01:00
|
|
|
|
2013-07-20 08:52:43 +02:00
|
|
|
GENROMFS_VERSION = 0.5.2
|
|
|
|
GENROMFS_SITE = http://downloads.sourceforge.net/project/romfs/genromfs/$(GENROMFS_VERSION)
|
2017-03-30 15:43:32 +02:00
|
|
|
GENROMFS_LICENSE = GPL-2.0+
|
2014-06-26 21:20:42 +02:00
|
|
|
GENROMFS_LICENSE_FILES = COPYING
|
2010-03-01 23:56:37 +01:00
|
|
|
|
|
|
|
define GENROMFS_BUILD_CMDS
|
2014-10-23 10:43:37 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
|
|
|
CC="$(TARGET_CC)" \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS)"
|
2010-03-01 23:56:37 +01:00
|
|
|
endef
|
|
|
|
|
2017-07-05 13:14:40 +02:00
|
|
|
# "PREFIX" is the equivalent of DESTDIR in autotools, "prefix" is the
|
|
|
|
# traditional prefix. "prefix" defaults to /usr so no need to set it.
|
2010-03-01 23:56:37 +01:00
|
|
|
define GENROMFS_INSTALL_TARGET_CMDS
|
2014-10-23 10:43:37 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=$(TARGET_DIR) install
|
2010-03-01 23:56:37 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_GENROMFS_BUILD_CMDS
|
2014-10-24 07:57:37 +02:00
|
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
|
2010-03-01 23:56:37 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_GENROMFS_INSTALL_CMDS
|
2017-07-05 13:14:40 +02:00
|
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) prefix=$(HOST_DIR) install
|
2010-03-01 23:56:37 +01:00
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|
2012-08-26 01:52:48 +02:00
|
|
|
$(eval $(host-generic-package))
|