Permalink
Browse files

Pick config based on arch

  • Loading branch information...
1 parent ce3a553 commit dc0eb317727f4b6fad2d02fc3be0913d2cae9bcf @geirha committed Sep 18, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 build-linux
View
@@ -15,7 +15,10 @@ fi
bzip2 -cd "$kernel" | pax -r &&
dir=${kernel##*/} dir=${dir%.tar.bz2} &&
-cp ../kernel.config "$dir/.config" &&
+case $(uname -m) in
+ x86_64) cp ../kernel64.config "$dir/.config" ;;
+ *) cp ../kernel.config "$dir/.config" ;;
+esac || exit
cd "$dir" &&
make silentoldconfig &&
make &&

0 comments on commit dc0eb31

Please sign in to comment.