mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-31 03:04:11 +03:00
Build system update
- Added default build flags: -Wall -Wstrict-prototypes -Werror -Wshadow - Added missing Makefile's for include/ subdirectories.
This commit is contained in:
+23
-11
@@ -79,6 +79,7 @@ TOPDIR=`/bin/pwd`
|
||||
# Add "V=1" to KERNELMAKE_PARAMS to enable verbose module build
|
||||
KERNELMAKE_PARAMS=
|
||||
KERNELCPPFLAGS="${KERNELCPPFLAGS} -I$TOPDIR -I$TOPDIR/include"
|
||||
KERNELCPPFLAGS="${KERNELCPPFLAGS} -Wstrict-prototypes -Werror -Wshadow"
|
||||
|
||||
if test "${LINUX_OBJ}" != "${LINUX}"; then
|
||||
KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$kernelbuild"
|
||||
@@ -88,16 +89,27 @@ AC_SUBST(KERNELMAKE_PARAMS)
|
||||
AC_SUBST(KERNELCPPFLAGS)
|
||||
AC_SUBST(KERNELCFLAGS)
|
||||
|
||||
AC_CONFIG_FILES([ Makefile
|
||||
lib/Makefile
|
||||
cmd/Makefile
|
||||
module/Makefile
|
||||
module/spl/Makefile
|
||||
module/splat/Makefile
|
||||
include/Makefile
|
||||
include/sys/Makefile
|
||||
scripts/Makefile
|
||||
scripts/spl.spec
|
||||
])
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
lib/Makefile
|
||||
cmd/Makefile
|
||||
module/Makefile
|
||||
module/spl/Makefile
|
||||
module/splat/Makefile
|
||||
include/Makefile
|
||||
include/asm/Makefile
|
||||
include/fs/Makefile
|
||||
include/linux/Makefile
|
||||
include/rpc/Makefile
|
||||
include/sharefs/Makefile
|
||||
include/sys/Makefile
|
||||
include/sys/fm/Makefile
|
||||
include/sys/fs/Makefile
|
||||
include/sys/sysevent/Makefile
|
||||
include/util/Makefile
|
||||
include/vm/Makefile
|
||||
scripts/Makefile
|
||||
scripts/spl.spec
|
||||
])
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user