Files
rk35xx-android14/external/elfutils/post_update.sh
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

21 lines
481 B
Bash
Executable File

#!/bin/sh
# $1 Path to the new version.
# $2 Path to the old version.
set -x
set -e
# if called from the external_updater, change to the new dir first
if [ "$1" != "" ]; then
cd $1
fi
autoreconf -i && ./configure --enable-maintainer-mode --disable-debuginfod --disable-libdebuginfod --without-lzma --without-bzlib --without-zstd
# if called from the external_updater, do not apply any patches as it will do
# that for us
if [ "$2" == "" ]; then
git apply patches/*
fi