|
|
@ -0,0 +1,31 @@ |
|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# Filename: target/share/squashfs/config.in |
|
|
|
# Copyright (C) 2011 The OpenSDE Project |
|
|
|
# |
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
# |
|
|
|
# This program is free software; you can redistribute it and/or modify |
|
|
|
# it under the terms of the GNU General Public License as published by |
|
|
|
# the Free Software Foundation; version 2 of the License. A copy of the |
|
|
|
# GNU General Public License can be found in the file COPYING. |
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
complist= |
|
|
|
compdefault= |
|
|
|
|
|
|
|
# generate a list of available compressors and choose the default |
|
|
|
for compressor in gzip lzo xz; do |
|
|
|
if pkgcheck "$compressor" X ; then |
|
|
|
var_append complist ' ' "$compressor Create_${compressor}_compressed_SquashFS" |
|
|
|
compdefault="$compressor" |
|
|
|
fi |
|
|
|
done |
|
|
|
|
|
|
|
if [ ! -z "$complist" ]; then |
|
|
|
choice SDECFG_IMAGE_SQUASHFS_COMP $compdefault $complist |
|
|
|
fi |
|
|
|
|
|
|
|
unset complist |
|
|
|
unset compdefault |