diff options
author | Brian Behlendorf <[email protected]> | 2010-09-10 11:43:12 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-09-10 12:16:43 -0700 |
commit | d9400aede6ad32dde7021c739f0e8c7b570432af (patch) | |
tree | afc8c3d289b401a8f5110dc6fcb0b5438aedebc8 /lib | |
parent | e37e1d3040edac06a0d4380f7eaaa7a69892c7c6 (diff) |
Exclude atomic.S source from dist rules
The zfs package supports the option --with-config=srpm which
is used to bootstrap configure to allow the 'make srpm' target
to work. This has the advantage of allowing creation of source
rpms without having all your -devel packages installed. This
source package can then be feed back in to an automated build
farm which only installs the required packages listed by the
srpm. This ensures that all proper dependencies are expressed
by the source package, because if they are not you will get
configure/build failures.
The trouble here is that --with-config=srpm prevents the
architecture check from running resulting in TARGET_ASM_DIR
being set to the default asm-generic. The 'make dist' rule
then fails because there is no asm-generic/atomic.S file
because it is generated at build time. To handle this I
have added an empty file asm-generic/atomic.S simply as a
place holder for 'make dist'.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libspl/asm-generic/atomic.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libspl/asm-generic/atomic.S b/lib/libspl/asm-generic/atomic.S new file mode 100644 index 000000000..7550fd92b --- /dev/null +++ b/lib/libspl/asm-generic/atomic.S @@ -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. |