mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv
This commit is contained in:
commit
e0aa4cf153
@ -81,11 +81,9 @@ PKG_CONFIGURE_OPTS_TARGET="CC_FOR_BUILD=$HOST_CC \
|
||||
--disable-gles2 \
|
||||
--disable-openvg \
|
||||
--enable-dri \
|
||||
--disable-dri3 \
|
||||
--enable-glx \
|
||||
--disable-osmesa \
|
||||
--enable-egl --with-egl-platforms=x11,drm \
|
||||
--disable-xorg \
|
||||
$XA_CONFIG \
|
||||
--enable-gbm \
|
||||
--disable-xvmc \
|
||||
@ -98,7 +96,6 @@ PKG_CONFIGURE_OPTS_TARGET="CC_FOR_BUILD=$HOST_CC \
|
||||
--disable-gallium-tests \
|
||||
--enable-shared-glapi \
|
||||
--enable-glx-tls \
|
||||
--disable-gallium-g3dvl \
|
||||
$MESA_GALLIUM_LLVM \
|
||||
--disable-silent-rules \
|
||||
--with-gl-lib-name=GL \
|
||||
|
@ -181,11 +181,12 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
|
||||
KERNEL_ARCH="arm"
|
||||
fi
|
||||
|
||||
cp -PR $BUILD/linux-*/arch/$KERNEL_ARCH/boot/$KERNEL_IMAGE $TARGET_IMG/$IMAGE_NAME.kernel
|
||||
|
||||
if [ "$BOOTLOADER" = "atv-bootloader" ]; then
|
||||
cp -PR $BUILD/atv-bootloader-*/mach_kernel $TARGET_IMG/$IMAGE_NAME.mach_kernel
|
||||
chmod 0644 $TARGET_IMG/$IMAGE_NAME.mach_kernel
|
||||
else
|
||||
cp -PR $BUILD/linux-*/arch/$KERNEL_ARCH/boot/$KERNEL_IMAGE $TARGET_IMG/$IMAGE_NAME.kernel
|
||||
chmod 0644 $TARGET_IMG/$IMAGE_NAME.kernel
|
||||
fi
|
||||
|
||||
# create squashfs file
|
||||
@ -202,7 +203,6 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
|
||||
|
||||
# set permissions
|
||||
chmod 0644 $TARGET_IMG/$IMAGE_NAME.system
|
||||
chmod 0644 $TARGET_IMG/$IMAGE_NAME.kernel
|
||||
|
||||
if [ "$1" = "release" -o "$1" = "mkimage" ]; then
|
||||
|
||||
@ -242,18 +242,20 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
|
||||
|
||||
mkdir -p $RELEASE_DIR/target
|
||||
cp $TARGET_IMG/$IMAGE_NAME.system $RELEASE_DIR/target/SYSTEM
|
||||
cp $TARGET_IMG/$IMAGE_NAME.kernel $RELEASE_DIR/target/KERNEL
|
||||
|
||||
if [ -f $TARGET_IMG/$IMAGE_NAME.mach_kernel ]; then
|
||||
cp $TARGET_IMG/$IMAGE_NAME.mach_kernel $RELEASE_DIR/target/MACH_KERNEL
|
||||
else
|
||||
cp $TARGET_IMG/$IMAGE_NAME.kernel $RELEASE_DIR/target/KERNEL
|
||||
fi
|
||||
|
||||
# create md5sum's
|
||||
( cd $RELEASE_DIR;
|
||||
md5sum -t target/SYSTEM > target/SYSTEM.md5;
|
||||
md5sum -t target/KERNEL > target/KERNEL.md5;
|
||||
if [ -f target/MACH_KERNEL ]; then
|
||||
md5sum -t target/MACH_KERNEL > target/MACH_KERNEL.md5;
|
||||
else
|
||||
md5sum -t target/KERNEL > target/KERNEL.md5;
|
||||
fi
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user