Building AMDGPU Development Linux 4.7 Kernel on Ubuntu 16.04 LTS

  • sudo apt-get install kernel-package fakeroot build-essential libssl-dev
  • sudo apt-get build-dep linux-image-$(uname -r)
  • git clone -b amd-staging-4.7 --single-branch git://people.freedesktop.org/~agd5f/linux/
  • make localmodconfig
  • fakeroot make-kpkg --append-to-version "-amd" --initrd -j 8 linux-image linux-headers
  • sudo dpkg -i ../linux-*
  • sudo apt-get remove yournewkernelhere