initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_CRAMFS
|
||||
bool "cramfs"
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
cramfs is a compressed read-only filesystem. This package
|
||||
contains the tools to generate and check a cramfs filesystem.
|
||||
|
||||
https://github.com/npitre/cramfs-tools
|
||||
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_HOST_CRAMFS
|
||||
bool "host cramfs"
|
||||
help
|
||||
cramfs is a compressed read-only filesystem. This package
|
||||
contains the tools to generate and check a cramfs filesystem.
|
||||
|
||||
https://github.com/npitre/cramfs-tools
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 cdb7a4ecad034f063b6456b37cdf653ae31758a224c32161e54712a9d7f01cc3 cramfs-2.1.tar.gz
|
||||
sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING
|
||||
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
#
|
||||
# cramfs
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CRAMFS_VERSION = 2.1
|
||||
CRAMFS_SITE = $(call github,npitre,cramfs-tools,v$(CRAMFS_VERSION))
|
||||
CRAMFS_LICENSE = GPL-2.0+
|
||||
CRAMFS_LICENSE_FILES = COPYING
|
||||
|
||||
CRAMFS_DEPENDENCIES = zlib
|
||||
HOST_CRAMFS_DEPENDENCIES = host-zlib
|
||||
|
||||
define CRAMFS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D)
|
||||
endef
|
||||
|
||||
define CRAMFS_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 755 $(@D)/mkcramfs $(TARGET_DIR)/usr/bin/mkcramfs
|
||||
$(INSTALL) -D -m 755 $(@D)/cramfsck $(TARGET_DIR)/usr/bin/cramfsck
|
||||
endef
|
||||
|
||||
define HOST_CRAMFS_BUILD_CMDS
|
||||
$(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)
|
||||
endef
|
||||
|
||||
define HOST_CRAMFS_INSTALL_CMDS
|
||||
$(INSTALL) -D -m 755 $(@D)/mkcramfs $(HOST_DIR)/bin/mkcramfs
|
||||
$(INSTALL) -D -m 755 $(@D)/cramfsck $(HOST_DIR)/bin/cramfsck
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user