mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
Merge pull request #5707 from antonlacon/whitespace
packages-checker: remove trailing whitespace
This commit is contained in:
commit
2f7157f418
@ -14,7 +14,7 @@ PKG_BUILD_FLAGS="-sysroot"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-mad"
|
||||
|
||||
# TODO: mtpfs runs host utils while building, fix and set
|
||||
# TODO: mtpfs runs host utils while building, fix and set
|
||||
pre_configure_target() {
|
||||
export LIBS="-lusb-1.0 -ludev"
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ PKG_LIBVAR="PCSX-REARMED_LIB"
|
||||
|
||||
make_target() {
|
||||
cd ${PKG_BUILD}
|
||||
|
||||
|
||||
if target_has_feature neon; then
|
||||
export HAVE_NEON=1
|
||||
export BUILTIN_GPU=neon
|
||||
@ -28,7 +28,7 @@ make_target() {
|
||||
|
||||
# check if this flag is still needed when this package is updated
|
||||
export CFLAGS="${CFLAGS} -fcommon"
|
||||
|
||||
|
||||
case ${TARGET_ARCH} in
|
||||
aarch64)
|
||||
make -f Makefile.libretro DYNAREC=lightrec platform=aarch64 GIT_VERSION=${PKG_VERSION}
|
||||
|
@ -19,7 +19,7 @@ unpack() {
|
||||
|
||||
post_unpack() {
|
||||
# hack/workaround for borked upstream kernel/media_build
|
||||
# without removing atomisp there a lot additional includes that
|
||||
# without removing atomisp there a lot additional includes that
|
||||
# slowdown build process after modpost from 3min to 6min
|
||||
# even if atomisp is disabled via kernel.conf
|
||||
rm -rf ${PKG_BUILD}/drivers/staging/media/atomisp
|
||||
|
@ -19,7 +19,7 @@ unpack() {
|
||||
|
||||
post_unpack() {
|
||||
# hack/workaround for borked upstream kernel/media_build
|
||||
# without removing atomisp there a lot additional includes that
|
||||
# without removing atomisp there a lot additional includes that
|
||||
# slowdown build process after modpost from 3min to 6min
|
||||
# even if atomisp is disabled via kernel.conf
|
||||
rm -rf ${PKG_BUILD}/drivers/staging/media/atomisp
|
||||
|
@ -179,7 +179,7 @@ pre_make_target() {
|
||||
continue
|
||||
fi
|
||||
|
||||
if [ "$($PKG_BUILD/scripts/config --state ${OPTION%%=*})" != "${OPTION##*=}" ]; then
|
||||
if [ "$(${PKG_BUILD}/scripts/config --state ${OPTION%%=*})" != "${OPTION##*=}" ]; then
|
||||
MISSING_KERNEL_OPTIONS+="\t${OPTION}\n"
|
||||
fi
|
||||
done < ${DISTRO_DIR}/${DISTRO}/kernel_options
|
||||
|
@ -39,7 +39,7 @@ post_makeinstall_target() {
|
||||
cp ${PKG_DIR}/config/weston.ini ${INSTALL}/usr/share/weston
|
||||
|
||||
safe_remove ${INSTALL}/usr/share/wayland-sessions
|
||||
safe_remove ${INSTALL}/usr/bin/weston-calibrator
|
||||
safe_remove ${INSTALL}/usr/bin/weston-calibrator
|
||||
safe_remove ${INSTALL}/usr/bin/weston-simple-*
|
||||
safe_remove ${INSTALL}/usr/bin/weston-touch-calibrator
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ makeinstall_target() {
|
||||
ln -sf /var/lib/nvidia_drv.so ${INSTALL}/${XORG_PATH_MODULES}/drivers/nvidia_drv.so
|
||||
|
||||
mkdir -p ${INSTALL}/${XORG_PATH_MODULES}/extensions
|
||||
# rename to avoid conflicts with X.Org-Server module libglx.so
|
||||
# rename to avoid conflicts with X.Org-Server module libglx.so
|
||||
cp -P libglxserver_nvidia.so.${PKG_VERSION} ${INSTALL}/${XORG_PATH_MODULES}/extensions/libglx_nvidia.so
|
||||
|
||||
mkdir -p ${INSTALL}/etc/X11
|
||||
|
@ -7,9 +7,17 @@
|
||||
# follow certain coding standards used in the project. Corrections are grouped
|
||||
# by the subdirectory within the packages feed, and then commited.
|
||||
|
||||
# Corrections made:
|
||||
# PKG_VAR="$PKG_VAR stuff" -> PKG_VAR+=" stuff"
|
||||
# $PKG_VAR -> ${PKG_VAR}
|
||||
# result=`subcommand` -> result=$(subcommand)
|
||||
# [ test ] ; then -> [ test ]; then
|
||||
# trailing whitespace at end of line
|
||||
|
||||
for directory in $(find packages/ -mindepth 1 -maxdepth 1 -type d | sort); do
|
||||
for file in $(find "${directory}" -type f -name "package.mk" | sort); do
|
||||
tools/fixlecode.py -qw -f "${file}"
|
||||
sed -i 's/[[:blank:]]*$//g' "${file}"
|
||||
done
|
||||
git commit -qs -m "${directory##*/}: automated code cleanup" "${directory}"
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user