Skip to content

Commit a2dc014

Browse files
committed
For distro build don't install options.h (conflicts with multi-arch). Fix for BUILD_DISTRO excludes with indent.
1 parent 13bdcc5 commit a2dc014

File tree

3 files changed

+32
-21
lines changed

3 files changed

+32
-21
lines changed

Makefile.am

+18-19
Original file line numberDiff line numberDiff line change
@@ -89,25 +89,24 @@ include tests/include.am
8989
include sslSniffer/sslSnifferTest/include.am
9090
include rpm/include.am
9191

92-
if BUILD_DISTRO
93-
# Exclude references to non-DFSG sources from build files
94-
else
95-
include mqx/util_lib/Sources/include.am
96-
include mqx/wolfcrypt_benchmark/Sources/include.am
97-
include mqx/wolfcrypt_test/Sources/include.am
98-
include mqx/wolfssl/include.am
99-
include mqx/wolfssl_client/Sources/include.am
100-
include mplabx/include.am
101-
include mplabx/wolfcrypt_benchmark.X/nbproject/include.am
102-
include mplabx/wolfcrypt_test.X/nbproject/include.am
103-
include mplabx/wolfssl.X/nbproject/include.am
104-
include mcapi/include.am
105-
include mcapi/wolfcrypt_mcapi.X/nbproject/include.am
106-
include mcapi/wolfcrypt_test.X/nbproject/include.am
107-
include mcapi/wolfssl.X/nbproject/include.am
108-
include mcapi/zlib.X/nbproject/include.am
109-
include tirtos/include.am
110-
include IDE/include.am
92+
# Exclude references to non-DFSG sources from build files
93+
if !BUILD_DISTRO
94+
include mqx/util_lib/Sources/include.am
95+
include mqx/wolfcrypt_benchmark/Sources/include.am
96+
include mqx/wolfcrypt_test/Sources/include.am
97+
include mqx/wolfssl/include.am
98+
include mqx/wolfssl_client/Sources/include.am
99+
include mplabx/include.am
100+
include mplabx/wolfcrypt_benchmark.X/nbproject/include.am
101+
include mplabx/wolfcrypt_test.X/nbproject/include.am
102+
include mplabx/wolfssl.X/nbproject/include.am
103+
include mcapi/include.am
104+
include mcapi/wolfcrypt_mcapi.X/nbproject/include.am
105+
include mcapi/wolfcrypt_test.X/nbproject/include.am
106+
include mcapi/wolfssl.X/nbproject/include.am
107+
include mcapi/zlib.X/nbproject/include.am
108+
include tirtos/include.am
109+
include IDE/include.am
111110
endif
112111
include scripts/include.am
113112

cyassl/include.am

+7-1
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,16 @@ nobase_include_HEADERS+= \
1616
cyassl/certs_test.h \
1717
cyassl/test.h \
1818
cyassl/version.h \
19-
cyassl/options.h \
2019
cyassl/ocsp.h \
2120
cyassl/crl.h
2221

2322
noinst_HEADERS+= \
2423
cyassl/internal.h
2524

25+
# For distro build don't install options.h.
26+
# It depends on the architecture and conflicts with Multi-Arch.
27+
if BUILD_DISTRO
28+
noinst_HEADERS+= cyassl/options.h
29+
else
30+
nobase_include_HEADERS+= cyassl/options.h
31+
endif

wolfssl/include.am

+7-1
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,16 @@ nobase_include_HEADERS+= \
1616
wolfssl/certs_test.h \
1717
wolfssl/test.h \
1818
wolfssl/version.h \
19-
wolfssl/options.h \
2019
wolfssl/ocsp.h \
2120
wolfssl/crl.h
2221

2322
noinst_HEADERS+= \
2423
wolfssl/internal.h
2524

25+
# For distro build don't install options.h.
26+
# It depends on the architecture and conflicts with Multi-Arch.
27+
if BUILD_DISTRO
28+
noinst_HEADERS+= wolfssl/options.h
29+
else
30+
nobase_include_HEADERS+= wolfssl/options.h
31+
endif

0 commit comments

Comments
 (0)