diff options
author | Brian Behlendorf <[email protected]> | 2009-06-16 11:34:28 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-06-16 11:34:28 -0700 |
commit | 2e0e7e69769eb0f5ceda102e575da79288d05127 (patch) | |
tree | 06cdc391b00603370f3b8c23ec67b0609c952aa1 /Makefile.in | |
parent | 39a3d2a421bf067329bae352866a5d1fccbcee70 (diff) |
Packaging improvements for RHEL and SLES (part 2)
- Allow checking for exported symbols in both Module.symvers
and Module.symvers. My stock SLES kernel ships an objects
directory with Module.symvers, yet produces a Module.symvers
in the local build directory.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 5c3bf0227..732880fcc 100644 --- a/Makefile.in +++ b/Makefile.in @@ -123,6 +123,7 @@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LINUX = @LINUX@ LINUX_OBJ = @LINUX_OBJ@ +LINUX_SYMBOLS = @LINUX_SYMBOLS@ LINUX_VERSION = @LINUX_VERSION@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ @@ -656,12 +657,12 @@ distclean-local:: -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \ -o -name '.*.rej' -o -name 'aclocal.m4' -o -size 0 \ -o -name '*%' -o -name '.*.cmd' -o -name 'core' \ - -o -name 'Makefile' -o -name 'Module.symvers' \) \ + -o -name 'Makefile' -o -name '$(LINUX_SYMBOLS)' \) \ -type f -print | xargs $(RM) install-data-local: instdest=$(DESTDIR)/${prefix}/src/spl-$(SPL_META_VERSION); \ - for instfile in $(noinst_HEADERS) module/Module.symvers; do \ + for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \ $(INSTALL) -D $$instfile $$instdest/$$instfile; \ done (cd $(DESTDIR)/${prefix}/src && ln -f -s spl-$(SPL_META_VERSION) spl) |