Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile: don't build component if no libz or libcrypto #508

Merged
merged 1 commit into from Oct 14, 2022

Conversation

gaozhangfei
Copy link
Collaborator

Signed-off-by: Zhangfei Gao zhangfei.gao@linaro.org

Some tests depend on libz and libcrypto(openssl)
The dependency causes troubles in cross-compile on x86.
So omit building the tests if the dependent libs are missing.

Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
@gaozhangfei gaozhangfei force-pushed the cross_compile branch 2 times, most recently from 01a893b to 114415e Compare October 14, 2022 04:17
@@ -12,4 +12,13 @@ wd_mempool_test_LDADD=-L../.libs -l:libwd.so.2 -l:libwd_crypto.so.2 -lnuma
endif
wd_mempool_test_LDFLAGS=-Wl,-rpath,'/usr/local/lib'

SUBDIRS=. hisi_hpre_test hisi_sec_test hisi_zip_test
SUBDIRS=. hisi_sec_test

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the test tools of the SEC module enabled by default?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, sec has no requirement of libz or libcrypto(openssl)

@Liulongfang Liulongfang merged commit a127ffc into Linaro:master Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants