Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
This commit is contained in:
commit
4ab0ee76c1
|
@ -28,7 +28,9 @@ distclean-local::
|
||||||
|
|
||||||
if CONFIG_KERNEL
|
if CONFIG_KERNEL
|
||||||
install-data-local:
|
install-data-local:
|
||||||
instdest=$(DESTDIR)/${prefix}/src/zfs-$(ZFS_META_VERSION); \
|
destname=zfs-$(ZFS_META_VERSION)/$(LINUX_VERSION); \
|
||||||
|
instdest=$(DESTDIR)/${prefix}/src/$$destname; \
|
||||||
|
echo "${ZFS_META_VERSION}" >$$instdest/zfs.release; \
|
||||||
for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
|
for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
|
||||||
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
|
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
|
||||||
done
|
done
|
||||||
|
|
|
@ -2,11 +2,14 @@ include $(top_srcdir)/config/Rules.am
|
||||||
|
|
||||||
DEFAULT_INCLUDES += \
|
DEFAULT_INCLUDES += \
|
||||||
-I${top_srcdir}/lib/libspl/include
|
-I${top_srcdir}/lib/libspl/include
|
||||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
||||||
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
atomic_SOURCE = atomic.c
|
atomic_SOURCE = atomic.c
|
||||||
atomic_ASM = atomic.S
|
atomic_ASM = atomic.S
|
||||||
|
|
||||||
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||||
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
|
EXTRA_DIST = ${atomic_SOURCE}
|
||||||
|
|
||||||
# Generates assembly to simplify inclusion in ../Makefile.am
|
# Generates assembly to simplify inclusion in ../Makefile.am
|
||||||
all-am:
|
all-am:
|
||||||
$(COMPILE) -c -S ${atomic_SOURCE} -o ${atomic_ASM}
|
$(COMPILE) -c -S ${atomic_SOURCE} -o ${atomic_ASM}
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
Stub file for 'make dist' distdir rule.
|
||||||
|
|
||||||
|
This file is directly referenced by ../Makefile.am as a source
|
||||||
|
file and thus will be expected by 'make dist'. To avoid this
|
||||||
|
being a problem this stub file was added. It will be overwritten
|
||||||
|
at build time based on assmebly generated from atomic.c.
|
Loading…
Reference in New Issue