mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-06 18:07:43 +00:00
cloop: new package
Only the host variant is supported, which explains why there is no Config.in file. Will be used by the filesystem generation code. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
de4cf4e913
commit
ae4c8a81d3
18
package/cloop/cloop.mk
Normal file
18
package/cloop/cloop.mk
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
CLOOP_VERSION=2.631-1
|
||||||
|
CLOOP_SOURCE=cloop_$(CLOOP_VERSION).tar.gz
|
||||||
|
CLOOP_SITE=http://debian-knoppix.alioth.debian.org/sources/
|
||||||
|
|
||||||
|
HOST_CLOOP_DEPENDENCIES = host-zlib
|
||||||
|
|
||||||
|
define HOST_CLOOP_BUILD_CMDS
|
||||||
|
$(HOST_MAKE_ENV) $(MAKE1) \
|
||||||
|
CFLAGS="$(HOST_CFLAGS) -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_ERROR_SILENT" -C $(@D) APPSONLY=yes
|
||||||
|
endef
|
||||||
|
|
||||||
|
define HOST_CLOOP_INSTALL_CMDS
|
||||||
|
install -m 755 $(@D)/create_compressed_fs $(HOST_DIR)/usr/bin
|
||||||
|
install -m 755 $(@D)/extract_compressed_fs $(HOST_DIR)/usr/bin
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call GENTARGETS,package,cloop))
|
||||||
|
$(eval $(call GENTARGETS,package,cloop,host))
|
Loading…
x
Reference in New Issue
Block a user