Unified · Split
| @@ -159,6 +159,18 @@ for opt do · 158 unmodified lines | |||
| 159 | esac | 159 | esac |
| 160 | done | 160 | done |
| 161 | 161 | ||
| 162 | # don't strip unless --strip-binaries is specified. | ||
| 163 | # "make install-strip" still strips. | ||
| 164 | case $"conftest" in | ||
| 165 | *strip=*) | ||
| 166 | # strip is set (to yes) keep it. | ||
| 167 | ;; | ||
| 168 | *) | ||
| 169 | # strip is not set, set it to no => CONFIG_strip=no | ||
| 170 | confvars="$confvars strip=no" | ||
| 171 | ;; | ||
| 172 | esac | ||
| 173 | |||
| 162 | cc="${cross_prefix}${cc}" | 174 | cc="${cross_prefix}${cc}" |
| 163 | ar="${cross_prefix}${ar}" | 175 | ar="${cross_prefix}${ar}" |
| 164 | strip="${cross_prefix}${strip}" | 176 | strip="${cross_prefix}${strip}" |