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)
|
2010-03-01 23:56:37 +01:00
|
|
|
|
|
|
|
define GENROMFS_BUILD_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
|
|
|
CC="$(TARGET_CC)" \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS)"
|
|
|
|
endef
|
|
|
|
|
|
|
|
define GENROMFS_INSTALL_TARGET_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=$(TARGET_DIR) install
|
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_GENROMFS_BUILD_CMDS
|
|
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_GENROMFS_INSTALL_CMDS
|
|
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=$(HOST_DIR) install
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|
2012-08-26 01:52:48 +02:00
|
|
|
$(eval $(host-generic-package))
|