#!/usr/bin/make -f
+# SPDX-License-Identifier: NOASSERTION
+
#
-# Created 2009 by Brian J. Murrell based on work by
-# Alastair McKinstry, <alastair.mckinstry@ichec.ie>, <mckinstry@debian.org>
-# Patrick Winnertz, and the pkg-lustre Debian maintainers
+# This file is part of Lustre, http://www.lustre.org/
+#
+# debian/rules
+#
+# Debian rules file
#
# Copying and modification is unlimited, provided that the modified
# version is marked as being modified.
# (This version has been modified from the original)
+#
+# Created 2009 by Brian J. Murrell based on work by
+# Alastair McKinstry, <alastair.mckinstry@ichec.ie>, <mckinstry@debian.org>
+# Patrick Winnertz, and the pkg-lustre Debian maintainers
+#
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
CFLAGS += -O2
endif
-# We need the kernels to be built with gcc-3.3; suspect that gcc-4.1 uses too
-# much stack and crashes because of it.
-#CC?=gcc-3.3
-#export CC
-
# This is the debhelper compatibility version to use.
export DH_COMPAT=11
$(SRCDIR)/configure --disable-dependency-tracking \
--with-linux=$${KERNEL_SRC} \
--with-linux-obj=$${KERNEL_OBJ} \
- --disable-snmp \
--enable-quota \
$${EXTRAFLAGS} \
$(EXTRA_OPTIONS) \
rm -rf debian/$(UTILS_PKG)/usr/bin/iokit-* \
debian/$(UTILS_PKG)/usr/bin/*-survey \
debian/$(UTILS_PKG)/usr/bin/mcreate \
- debian/$(UTILS_PKG)/usr/bin/munlink \
debian/$(UTILS_PKG)/usr/bin/statx \
debian/$(UTILS_PKG)/usr/sbin/wirecheck \
debian/$(UTILS_PKG)/usr/sbin/wiretest
--disable-dependency-tracking \
--disable-doc \
--disable-iokit \
- --disable-snmp \
--disable-tests \
--enable-quota \
- --with-kmp-moddir=updates \
+ --with-kmp-moddir=updates/kernel \
$${EXTRAFLAGS} \
$(EXTRA_OPTIONS)