Browse Source

musl: improved parse-config-9 to also handle patches only applied at toolchain stage

stable/0.6
Christian Wiese 11 years ago
parent
commit
ffb1dee068
  1. 8
      base/musl/parse-config-9

8
base/musl/parse-config-9

@ -204,6 +204,14 @@ if [ "$SDECFG_LIBC" == "musl" ]; then
pkg_musl_pkg=${pkg} ;; pkg_musl_pkg=${pkg} ;;
esac esac
if atstage toolchain; then
pkg_musl_toolchain_patches=$( ls -1 $pkg_musl_dir/pkg/$pkg_musl_pkg/*.patch.toolchain 2> /dev/null | tr '\n' ' ' )
if [ -n "$pkg_musl_toolchain_patches" ]; then
echo_status "Appending musl libc specific toolchain patches"
var_append patchfiles ' ' "$pkg_musl_toolchain_patches"
fi
fi
pkg_musl_patches=$( ls -1 $pkg_musl_dir/pkg/$pkg_musl_pkg/*.patch 2> /dev/null | tr '\n' ' ' ) pkg_musl_patches=$( ls -1 $pkg_musl_dir/pkg/$pkg_musl_pkg/*.patch 2> /dev/null | tr '\n' ' ' )
if [ -n "$pkg_musl_patches" ]; then if [ -n "$pkg_musl_patches" ]; then
echo_status "musl: appending patches ..." echo_status "musl: appending patches ..."

Loading…
Cancel
Save