Add rules for building src/tls/libtls.a and use it with eap_example
eap_example is now using src/crypto/libcrypto.a and src/tls/libtls.a instead of providing own rules for building the files for these components. TLS library selection is temporarily disabled for eap_example (it will be built using internal crypto/TLS), but the configuration option for this will eventually be restored with a new libcrypto.a configuration option.master
parent
e77e0a8320
commit
912321e935
@ -0,0 +1 @@
|
||||
libtls.a
|
@ -1,9 +1,38 @@
|
||||
all:
|
||||
@echo Nothing to be made.
|
||||
all: libtls.a
|
||||
|
||||
clean:
|
||||
for d in $(SUBDIRS); do make -C $$d clean; done
|
||||
rm -f *~ *.o *.d
|
||||
rm -f *~ *.o *.d libtls.a
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
|
||||
include ../lib.rules
|
||||
|
||||
CFLAGS += -DCONFIG_INTERNAL_LIBTOMMATH
|
||||
CFLAGS += -DCONFIG_CRYPTO_INTERNAL
|
||||
|
||||
LIB_OBJS= \
|
||||
asn1.o \
|
||||
bignum.o \
|
||||
pkcs1.o \
|
||||
pkcs5.o \
|
||||
pkcs8.o \
|
||||
rsa.o \
|
||||
tlsv1_client.o \
|
||||
tlsv1_client_read.o \
|
||||
tlsv1_client_write.o \
|
||||
tlsv1_common.o \
|
||||
tlsv1_cred.o \
|
||||
tlsv1_record.o \
|
||||
tlsv1_server.o \
|
||||
tlsv1_server_read.o \
|
||||
tlsv1_server_write.o \
|
||||
x509v3.o
|
||||
|
||||
|
||||
libtls.a: $(LIB_OBJS)
|
||||
$(AR) crT $@ $?
|
||||
|
||||
-include $(OBJS:%.o=%.d)
|
||||
|
Loading…
Reference in New Issue