1 ################################################################################
5 ################################################################################
8 CRAMFS_SITE
= http
://downloads.sourceforge.net
/project
/cramfs
/cramfs
/$(CRAMFS_VERSION
)
9 CRAMFS_LICENSE
= GPLv2
+
10 CRAMFS_LICENSE_FILES
= COPYING
12 CRAMFS_DEPENDENCIES
= zlib
14 define CRAMFS_BUILD_CMDS
15 $(TARGET_MAKE_ENV
) $(MAKE
) CC
="$(TARGET_CC)" CFLAGS
="$(TARGET_CFLAGS)" LDFLAGS
="$(TARGET_LDFLAGS)" -C
$(@D
)
18 define CRAMFS_INSTALL_TARGET_CMDS
19 $(INSTALL
) -D
-m
755 $(@D
)/mkcramfs
$(TARGET_DIR
)/usr
/bin
/mkcramfs
20 $(INSTALL
) -D
-m
755 $(@D
)/cramfsck
$(TARGET_DIR
)/usr
/bin
/cramfsck
23 define HOST_CRAMFS_BUILD_CMDS
24 $(HOST_MAKE_ENV
) $(MAKE
) CFLAGS
="$(HOST_CFLAGS) -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS
="$(HOST_LDFLAGS)" -C
$(@D
)
27 define HOST_CRAMFS_INSTALL_CMDS
28 $(INSTALL
) -D
-m
755 $(@D
)/mkcramfs
$(HOST_DIR
)/usr
/bin
/mkcramfs
29 $(INSTALL
) -D
-m
755 $(@D
)/cramfsck
$(HOST_DIR
)/usr
/bin
/cramfsck
32 $(eval
$(generic-package
))
33 $(eval
$(host-generic-package
))