Skip to content

Commit

Permalink
tools: refresh-patches: fix PATCH_ARCH
Browse files Browse the repository at this point in the history
  • Loading branch information
knaerzche committed Jun 22, 2021
1 parent 48fe299 commit 44b53d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/refresh-patches
Expand Up @@ -67,6 +67,8 @@ pkg_call_exists_opt pre_patch && pkg_call

if [ "${TARGET_ARCH}" = "x86_64" ]; then
PATCH_ARCH="x86"
elif [ "${PKG_IS_KERNEL_PKG}" = "yes" ]; then
PATCH_ARCH="${TARGET_KERNEL_PATCH_ARCH:-${TARGET_ARCH}}"
else
PATCH_ARCH="${TARGET_PATCH_ARCH:-${TARGET_ARCH}}"
fi
Expand Down

0 comments on commit 44b53d2

Please sign in to comment.