2013-06-21 00:17:14 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# squashfs3
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2013-07-20 08:52:43 +02:00
|
|
|
SQUASHFS3_VERSION = 3.4
|
|
|
|
SQUASHFS3_SOURCE = squashfs$(SQUASHFS3_VERSION).tar.gz
|
|
|
|
SQUASHFS3_SITE = http://downloads.sourceforge.net/project/squashfs/squashfs/$(SQUASHFS3_VERSION)
|
2010-04-09 12:15:25 +02:00
|
|
|
|
|
|
|
SQUASHFS3_DEPENDENCIES = zlib
|
|
|
|
|
|
|
|
define SQUASHFS3_BUILD_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) \
|
|
|
|
CC="$(TARGET_CC)" \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
|
|
|
-C $(@D)/squashfs-tools/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define SQUASHFS3_INSTALL_TARGET_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/squashfs-tools/ INSTALL_DIR=$(TARGET_DIR)/usr/bin install
|
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_SQUASHFS3_BUILD_CMDS
|
2010-05-07 21:23:31 +02:00
|
|
|
$(HOST_MAKE_ENV) $(MAKE) CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)" -C $(@D)/squashfs-tools/
|
2010-04-09 12:15:25 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_SQUASHFS3_INSTALL_CMDS
|
|
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/squashfs-tools/ INSTALL_DIR=$(HOST_DIR)/usr/bin install
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-generic-package))
|
2010-04-09 12:15:25 +02:00
|
|
|
|