Merge pull request 'Change the sequence to generate ossl350 header files. NOTE: This change will add openssl/, internal/, crypto/ and evp_local.h in target/h' (#28) from change_seq_to_generate_ossl350_header into master

Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/28
Reviewed-by: Subham Gangdeb <subham.gangdeb@neominds.in>
This commit is contained in:
2026-07-30 19:39:21 +05:30
committed by neelimap
parent a316197f84
commit 365f8f6bd9
5 changed files with 222 additions and 147 deletions
@@ -0,0 +1,36 @@
# Makefile - to generate header files for openssl
#
# Copyright (c) 2026 Wind River Systems, Inc.
#
# The right to copy, distribute, modify or otherwise make use
# of this software may be licensed only pursuant to the terms
# of an applicable Wind River license agreement.
#
TGT_DIR=$(WIND_BASE)/target
OSSL_PKG_NAME=openssl-3.5.0
OSSL_BUILD_DIR=$(VSB_DIR)/3pp/openssl-3.5.0
OPENSSL_DST_DIR := $(TGT_DIR)/h/openssl
CRYPTO_DST_DIR := $(TGT_DIR)/h/crypto
INTERNAL_DST_DIR := $(TGT_DIR)/h/internal
generate-headers:
cd $(WIND_HOME)/vxworks-6.9/target/src/openssl/openssl_src/ && $(MAKE) -f ossl350.prepare.mak
@if [ -d "$(OPENSSL_DST_DIR)" ]; then \
rm -r $(OPENSSL_DST_DIR);\
fi
@if [ -d "$(CRYPTO_DST_DIR)" ]; then \
rm -r $(CRYPTO_DST_DIR);\
fi
@if [ -d "$(INTERNAL_DST_DIR)" ]; then \
rm -r $(INTERNAL_DST_DIR);\
fi
mkdir -p $(OPENSSL_DST_DIR)
mkdir -p $(CRYPTO_DST_DIR)
mkdir -p $(INTERNAL_DST_DIR)
cp -r $(OSSL_BUILD_DIR)/include/openssl $(TGT_DIR)/h
cp -r $(OSSL_BUILD_DIR)/include/crypto $(TGT_DIR)/h
cp -r $(OSSL_BUILD_DIR)/include/internal $(TGT_DIR)/h
cp -r $(OSSL_BUILD_DIR)/crypto/evp/evp_local.h $(OPENSSL_DST_DIR)