Changeset 14533


Ignorieren:
Zeitstempel:
09.11.2017 01:03:52 (vor 2 Wochen)
Autor:
er13
Nachricht:
  • provide squashfs4-le package
Ort:
trunk/make
Dateien:
1 gelöscht
5 bearbeitet
2 kopiert

Legende:

Unverändert
Hinzugefügt
Entfernt
  • trunk/make/squashfs4-be/Config.in

    r14520 r14533  
    11config FREETZ_PACKAGE_SQUASHFS4_BE 
    2     bool "squashfs-tools 4.3 - with AVM-BE support" 
     2    bool "squashfs-tools 4.3 (AVM-BE)" 
    33    depends on FREETZ_KERNEL_VERSION_2_6_28_MIN 
    44    select FREETZ_LIB_libm        if !FREETZ_PACKAGE_SQUASHFS4_BE_ALL_STAT 
  • trunk/make/squashfs4-le/Config.in

    r14520 r14533  
    1 config FREETZ_PACKAGE_SQUASHFS4_BE 
    2     bool "squashfs-tools 4.3 - with AVM-BE support" 
     1config FREETZ_PACKAGE_SQUASHFS4_LE 
     2    bool "squashfs-tools 4.3 (AVM-LE)" 
    33    depends on FREETZ_KERNEL_VERSION_2_6_28_MIN 
    4     select FREETZ_LIB_libm        if !FREETZ_PACKAGE_SQUASHFS4_BE_ALL_STAT 
    5     select FREETZ_LIB_libpthread  if !FREETZ_PACKAGE_SQUASHFS4_BE_ALL_STAT 
    6     select FREETZ_LIB_libz        if  FREETZ_PACKAGE_SQUASHFS4_BE_ALL_DYN && FREETZ_PACKAGE_SQUASHFS4_BE_LEGACY 
    7     select FREETZ_LIB_liblzma     if  FREETZ_PACKAGE_SQUASHFS4_BE_ALL_DYN 
     4    select FREETZ_LIB_libm        if !FREETZ_PACKAGE_SQUASHFS4_LE_ALL_STAT 
     5    select FREETZ_LIB_libpthread  if !FREETZ_PACKAGE_SQUASHFS4_LE_ALL_STAT 
     6    select FREETZ_LIB_libz        if  FREETZ_PACKAGE_SQUASHFS4_LE_ALL_DYN && FREETZ_PACKAGE_SQUASHFS4_LE_LEGACY 
     7    select FREETZ_LIB_liblzma     if  FREETZ_PACKAGE_SQUASHFS4_LE_ALL_DYN 
    88    default n 
    99    help 
    1010        This package provides unsquashfs/mksquashfs utilities modified 
    11         to be able to expand/create images in AVM-BE format. 
     11        to be able to expand/create images in AVM-LE format. 
    1212 
    13         AVM-BE is not an official name, it's a name given by the user 
    14         community to a non-standard SquashFS format used by AVM since 
    15         Fritz!OS Labor 6.35 - ths first kernel 3.10.73 based Fritz!OS 
    16         version. 
     13        AVM-LE is the format used by AVM to pack the filesystem of some 
     14        cable boxes, e.g. 6490, 6590 (x86 core only). 
    1715 
    18 config FREETZ_PACKAGE_SQUASHFS4_BE_LEGACY 
    19     depends on FREETZ_PACKAGE_SQUASHFS4_BE 
     16        The only difference of this format to the original LE format 
     17        is that the value of the mkfs_time superblock field is equal 
     18        to the bytes_used field. 
     19 
     20config FREETZ_PACKAGE_SQUASHFS4_LE_LEGACY 
     21    depends on FREETZ_PACKAGE_SQUASHFS4_LE 
    2022    bool "with SquashFS-1/2/3 support" 
    2123    default n 
     
    2628 
    2729choice 
    28     depends on FREETZ_PACKAGE_SQUASHFS4_BE 
     30    depends on FREETZ_PACKAGE_SQUASHFS4_LE 
    2931    prompt "Link" 
    30     default FREETZ_PACKAGE_SQUASHFS4_BE_ALL_DYN 
     32    default FREETZ_PACKAGE_SQUASHFS4_LE_ALL_DYN 
    3133 
    32     config FREETZ_PACKAGE_SQUASHFS4_BE_ALL_DYN 
     34    config FREETZ_PACKAGE_SQUASHFS4_LE_ALL_DYN 
    3335        bool "all libraries dynamically" 
    3436 
    35     config FREETZ_PACKAGE_SQUASHFS4_BE_COMP_STAT 
     37    config FREETZ_PACKAGE_SQUASHFS4_LE_COMP_STAT 
    3638        bool "compression libraries statically" 
    3739 
    38     config FREETZ_PACKAGE_SQUASHFS4_BE_ALL_STAT 
     40    config FREETZ_PACKAGE_SQUASHFS4_LE_ALL_STAT 
    3941        bool "all libraries statically" 
    4042endchoice 
  • trunk/make/squashfs4-le/external.files

    r14520 r14533  
    1 [ "$EXTERNAL_FREETZ_PACKAGE_SQUASHFS4_BE" == "y" ] && EXTERNAL_FILES+=" /usr/bin/mksquashfs4-avm-be /usr/bin/unsquashfs4-avm-be" 
     1[ "$EXTERNAL_FREETZ_PACKAGE_SQUASHFS4_LE" == "y" ] && EXTERNAL_FILES+=" /usr/bin/mksquashfs4-avm-le /usr/bin/unsquashfs4-avm-le" 
  • trunk/make/squashfs4-le/external.in

    r14520 r14533  
    1 config EXTERNAL_FREETZ_PACKAGE_SQUASHFS4_BE 
    2     depends on EXTERNAL_ENABLED && FREETZ_PACKAGE_SQUASHFS4_BE 
    3     bool "squashfs4-tools (AVM-BE)" 
     1config EXTERNAL_FREETZ_PACKAGE_SQUASHFS4_LE 
     2    depends on EXTERNAL_ENABLED && FREETZ_PACKAGE_SQUASHFS4_LE 
     3    bool "squashfs4-tools (AVM-LE)" 
    44    default n 
    55    help 
    66        externals the following file(s) 
    7          /usr/bin/mksquashfs4-avm-be 
    8          /usr/bin/unsquashfs4-avm-be 
     7         /usr/bin/mksquashfs4-avm-le 
     8         /usr/bin/unsquashfs4-avm-le 
  • trunk/make/squashfs4-le/patches

    r14035 r14533  
    1 link ../../tools/make/squashfs4-host-be/patches 
     1link ../../tools/make/squashfs4-host-le/patches 
  • trunk/make/squashfs4-le/squashfs4-le.mk

    r14532 r14533  
    55$(PKG)_SITE:=@SF/$($(PKG)_PRJNAME) 
    66 
    7 $(PKG)_DEPENDS_ON += $(if $(FREETZ_PACKAGE_SQUASHFS4_BE_LEGACY),zlib) 
     7$(PKG)_DEPENDS_ON += $(if $(FREETZ_PACKAGE_SQUASHFS4_LE_LEGACY),zlib) 
    88$(PKG)_DEPENDS_ON += xz 
    99 
    10 $(PKG)_REBUILD_SUBOPTS += FREETZ_PACKAGE_SQUASHFS4_BE_LEGACY 
    11 $(PKG)_REBUILD_SUBOPTS += FREETZ_PACKAGE_SQUASHFS4_BE_ALL_DYN 
    12 $(PKG)_REBUILD_SUBOPTS += FREETZ_PACKAGE_SQUASHFS4_BE_COMP_STAT 
    13 $(PKG)_REBUILD_SUBOPTS += FREETZ_PACKAGE_SQUASHFS4_BE_ALL_STAT 
     10$(PKG)_REBUILD_SUBOPTS += FREETZ_PACKAGE_SQUASHFS4_LE_LEGACY 
     11$(PKG)_REBUILD_SUBOPTS += FREETZ_PACKAGE_SQUASHFS4_LE_ALL_DYN 
     12$(PKG)_REBUILD_SUBOPTS += FREETZ_PACKAGE_SQUASHFS4_LE_COMP_STAT 
     13$(PKG)_REBUILD_SUBOPTS += FREETZ_PACKAGE_SQUASHFS4_LE_ALL_STAT 
    1414 
    1515$(PKG)_BUILD_DIR := $($(PKG)_DIR)/squashfs-tools 
     
    1717$(PKG)_BINARIES            := mksquashfs unsquashfs 
    1818$(PKG)_BINARIES_BUILD_DIR  := $($(PKG)_BINARIES:%=$($(PKG)_BUILD_DIR)/%) 
    19 $(PKG)_BINARIES_TARGET_DIR := $($(PKG)_BINARIES:%=$($(PKG)_DEST_DIR)/usr/bin/%4-avm-be) 
     19$(PKG)_BINARIES_TARGET_DIR := $($(PKG)_BINARIES:%=$($(PKG)_DEST_DIR)/usr/bin/%4-avm-le) 
    2020 
    2121$(PKG)_LDFLAGS := -Wl,--gc-sections 
    22 $(PKG)_LDFLAGS += $(if $(FREETZ_PACKAGE_SQUASHFS4_BE_ALL_STAT),-static) 
     22$(PKG)_LDFLAGS += $(if $(FREETZ_PACKAGE_SQUASHFS4_LE_ALL_STAT),-static) 
    2323 
    24 ifneq ($(strip $(DL_DIR)/$(SQUASHFS4_BE_SOURCE)),$(strip $(DL_DIR)/$(SQUASHFS4_HOST_BE_SOURCE))) 
     24ifneq ($(strip $(DL_DIR)/$(SQUASHFS4_LE_SOURCE)),$(strip $(DL_DIR)/$(SQUASHFS4_HOST_LE_SOURCE))) 
    2525$(PKG_SOURCE_DOWNLOAD) 
    2626endif 
     
    2929 
    3030$($(PKG)_BINARIES_BUILD_DIR): $($(PKG)_DIR)/.configured 
    31     $(SUBMAKE) -C $(SQUASHFS4_BE_BUILD_DIR) \ 
     31    $(SUBMAKE) -C $(SQUASHFS4_LE_BUILD_DIR) \ 
    3232        CC="$(TARGET_CC)" \ 
    33         EXTRA_CFLAGS="$(TARGET_CFLAGS) -DTARGET_FORMAT=AVM_BE -ffunction-sections -fdata-sections" \ 
    34         LEGACY_FORMATS_SUPPORT=$(if $(FREETZ_PACKAGE_SQUASHFS4_BE_LEGACY),1,0) \ 
    35         GZIP_SUPPORT=$(if $(FREETZ_PACKAGE_SQUASHFS4_BE_LEGACY),1,0) \ 
    36         LZMA_XZ_SUPPORT=$(if $(FREETZ_PACKAGE_SQUASHFS4_BE_LEGACY),1,0) \ 
     33        EXTRA_CFLAGS="$(TARGET_CFLAGS) -DTARGET_FORMAT=AVM_LE -ffunction-sections -fdata-sections" \ 
     34        LEGACY_FORMATS_SUPPORT=$(if $(FREETZ_PACKAGE_SQUASHFS4_LE_LEGACY),1,0) \ 
     35        GZIP_SUPPORT=$(if $(FREETZ_PACKAGE_SQUASHFS4_LE_LEGACY),1,0) \ 
     36        LZMA_XZ_SUPPORT=$(if $(FREETZ_PACKAGE_SQUASHFS4_LE_LEGACY),1,0) \ 
    3737        XZ_SUPPORT=1 \ 
    3838        COMP_DEFAULT=xz \ 
    3939        XATTR_SUPPORT=0 \ 
    4040        XATTR_DEFAULT=0 \ 
    41         $(if $(FREETZ_PACKAGE_SQUASHFS4_BE_COMP_STAT),LINK_COMPRESSION_LIBS_STATICALLY=1) \ 
    42         EXTRA_LDFLAGS="$(SQUASHFS4_BE_LDFLAGS)" \ 
    43         $(SQUASHFS4_BE_BINARIES) 
     41        $(if $(FREETZ_PACKAGE_SQUASHFS4_LE_COMP_STAT),LINK_COMPRESSION_LIBS_STATICALLY=1) \ 
     42        EXTRA_LDFLAGS="$(SQUASHFS4_LE_LDFLAGS)" \ 
     43        $(SQUASHFS4_LE_BINARIES) 
    4444 
    45 $($(PKG)_BINARIES_TARGET_DIR): $($(PKG)_DEST_DIR)/usr/bin/%4-avm-be: $($(PKG)_BUILD_DIR)/% 
     45$($(PKG)_BINARIES_TARGET_DIR): $($(PKG)_DEST_DIR)/usr/bin/%4-avm-le: $($(PKG)_BUILD_DIR)/% 
    4646    $(INSTALL_BINARY_STRIP) 
    4747 
     
    5151 
    5252$(pkg)-clean: 
    53     -$(SUBMAKE) -C $(SQUASHFS4_BE_BUILD_DIR) clean 
     53    -$(SUBMAKE) -C $(SQUASHFS4_LE_BUILD_DIR) clean 
    5454 
    5555$(pkg)-uninstall: 
    56     $(RM) $(SQUASHFS4_BE_BINARIES_TARGET_DIR) 
     56    $(RM) $(SQUASHFS4_LE_BINARIES_TARGET_DIR) 
    5757 
    5858$(PKG_FINISH) 
Hinweis: Hilfe zur Verwendung der Changeset-Ansicht finden Sie unter TracChangeset.