commit | 06ec9039c3aa07924f9c23b0daa8885204704a62 | [log] [tgz] |
---|---|---|
author | Pavel Šimerda <psimerda@redhat.com> | Mon Apr 13 16:00:56 2015 +0200 |
committer | Stephen Hemminger <shemming@brocade.com> | Mon Apr 20 09:53:24 2015 -0700 |
tree | ac962014f8a36ae06df1456921148a917360a8ec | |
parent | b8d5c9a71bfba87405e6d169760dd8db41a4bbdf [diff] |
turn Makefile more distribution friendly Changes: * Accept directory settings from environment. * Remove redundant ROOTDIR variable. * Set KERNEL_INCLUDE default to '/usr/include'. * Use CFLAGS from environemnt. Note: In the long term it might be better to improve the configure script to generate those parts of the Makefile in a manner similar to autoconf. It might be even practical to autotoolize the package. Signed-off-by: Pavel Šimerda <psimerda@redhat.com>