package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / genromfs / genromfs.mk
blob8db08998124d0b867048b86a6c4bb71f2f063ef8
1 ################################################################################
3 # genromfs
5 ################################################################################
7 GENROMFS_VERSION = 0.5.2
8 GENROMFS_SITE = http://downloads.sourceforge.net/project/romfs/genromfs/$(GENROMFS_VERSION)
9 GENROMFS_LICENSE = GPLv2+
10 GENROMFS_LICENSE_FILES = COPYING
12 define GENROMFS_BUILD_CMDS
13 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
14 CC="$(TARGET_CC)" \
15 CFLAGS="$(TARGET_CFLAGS)" \
16 LDFLAGS="$(TARGET_LDFLAGS)"
17 endef
19 define GENROMFS_INSTALL_TARGET_CMDS
20 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=$(TARGET_DIR) install
21 endef
23 define HOST_GENROMFS_BUILD_CMDS
24 $(HOST_MAKE_ENV) $(MAKE) -C $(@D)
25 endef
27 define HOST_GENROMFS_INSTALL_CMDS
28 $(HOST_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=$(HOST_DIR) install
29 endef
31 $(eval $(generic-package))
32 $(eval $(host-generic-package))