This PR updates the build to succeed without relying on existing OpenSSL versions. Changes include: 1. Removed OpenSSL 0.9.8 and 1.0.2 components from VSB configuration 2. Removed ipcrypto and ipssl from ipnet root Makefile (ipComps and VARLIST) 3. Updated ipcom/src/ipcom_auth.c for compatibility with OpenSSL 3.5.0 4. Added OpenSSL 3.5.0 include paths where required 5. Removed script from vxworks.krnl.mak which was renaming old OpenSSL library files 6. Removed script from ossl350_prepare/Makefile which was copying OpenSSL 3.5.0 headers to target/h 7. Adapted OpenSSL 3.5.0 headers to ipcom types during build 8. Modified ipnet CDF to switch dependency from INCLUDE_IPSSL to INCLUDE_IPCRYPTO 9. Components: WebCli and NTP are by default disabled Note : There may still be build issues, as target/h/openssl and old OpenSSL source files remain in master. Co-authored-by: subhamgdeb <subhamgdeb> Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/57 Reviewed-by: Siddhant Singh <siddhant.singh@neominds.in> Co-authored-by: Subham <subham.gangdeb@neominds.in> Co-committed-by: Subham <subham.gangdeb@neominds.in>
63 lines
1.8 KiB
Makefile
63 lines
1.8 KiB
Makefile
# Makefile - makefile for WDB agent proxy
|
|
#
|
|
# Copyright (c) 2005, 2008, 2011, 2012 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.
|
|
#
|
|
# modification history
|
|
# --------------------
|
|
# 01e,25jan12,elp added serial backend and AMIO protocol.
|
|
# 01d,24may11,rlp Added wrProxyTcpSockLib.o.
|
|
# 01d,13apr11,rlp Temporary fix for WIND00266710.
|
|
# 01c,22mar11,rlp Added proxy SSL support.
|
|
# 01b,24jul08,dbt Added wrProxyMipcSockLib.o.
|
|
# 01a,28apr05,dbt written
|
|
#
|
|
# DESCRIPTION
|
|
# This file contains the makefile rules for building the WDB agent
|
|
# proxy library.
|
|
#*/
|
|
|
|
|
|
TGT_DIR=$(WIND_BASE)/target
|
|
|
|
LIB_BASE_NAME = debug
|
|
|
|
# Including defs.library to see if _WRS_CONFIG_COMPONENT_IPSSL is defined.
|
|
# It must be after LIB_BASE_NAME
|
|
include $(TGT_DIR)/h/make/defs.library
|
|
|
|
DOC_FILES= wrProxySslLib.c
|
|
|
|
MIPC_HDR_DIR= $(TGT_DIR)/h/multios_ipc
|
|
MIPC_HDR_FILES= $(wildcard $(MIPC_HDR_DIR)/mipc.h)
|
|
|
|
OBJS= wrProxyLib.o wrProxyBackendLib.o wrProxyUdpSockLib.o \
|
|
wrProxyTipcSockLib.o wrProxyTcpSockLib.o \
|
|
wrSerialLib.o wrProxySerialLib.o wrProxyAmioProtLib.o
|
|
|
|
# If MIPC support is not installed; don't build MIPC backend.
|
|
|
|
ifneq ($(MIPC_HDR_FILES),)
|
|
OBJS += wrProxyMipcSockLib.o
|
|
endif
|
|
|
|
ifdef _WRS_CONFIG_COMPONENT_IPSSL
|
|
OBJS += wrProxySslLib.o
|
|
|
|
override ADDED_CFLAGS += -D_WRS_CONFIG_SSL
|
|
EXTRA_INCLUDE += -I$(VSB_DIR)/3pp/openssl-3.5.0/include
|
|
|
|
# wrProxySslLib.c needs ipnet header files, this is the way to reach them
|
|
|
|
include $(WRVX_COMPBASE)/$(COMP_IPNET2)/osconfig/vxworks/make/defs.ipcom
|
|
endif
|
|
|
|
include $(TGT_DIR)/h/make/rules.library
|
|
|
|
ifdef _WRS_CONFIG_COMPONENT_IPSSL
|
|
include $(WRVX_COMPBASE)/$(COMP_IPNET2)/osconfig/vxworks/make/rules.ipcom
|
|
endif
|