linux/generic: update kernel patch refreshing. Include two missed patches.
[lede-git/.git] / tools / sed / patches / 010-amd64_freebsd_build.patch
1 --- a/config/config.sub
2 +++ b/config/config.sub
3 @@ -380,6 +380,9 @@ case $basic_machine in
4         amd64)
5                 basic_machine=x86_64-pc
6                 ;;
7 +       amd64-*)
8 +               basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
9 +               ;;
10         amdahl)
11                 basic_machine=580-amdahl
12                 os=-sysv