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

sonic-wpasupplicant changes for PAC #88

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions radius_lib/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
ALL=radius_lib

include ../src/build.rules


CFLAGS += -I../src
CFLAGS += -I../src/utils

LIBS = ../src/radius/libradius.a
LIBS += ../src/crypto/libcrypto.a
LIBS += ../src/utils/libutils.a

CFLAGS += -DCONFIG_SONIC_RADIUS

_OBJS_VAR := LIBS
include ../src/objs.mk

radius_lib: $(LIBS)
echo "Building Radius lib ..."
clean: common-clean
rm -f core *~ *.o *.d
1 change: 1 addition & 0 deletions src/crypto/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ CFLAGS += -DCONFIG_SHA256
CFLAGS += -DCONFIG_SHA384
CFLAGS += -DCONFIG_HMAC_SHA384_KDF
CFLAGS += -DCONFIG_INTERNAL_SHA384
CFLAGS += -fPIC

LIB_OBJS= \
aes-cbc.o \
Expand Down
4 changes: 4 additions & 0 deletions src/radius/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
CFLAGS += -DCONFIG_IPV6
CFLAGS += -fPIC
CFLAGS += -DCONFIG_SONIC_RADIUS
CFLAGS += -DCONFIG_SONIC_RADIUS_MAB

LIB_OBJS= \
radius.o \
radius_client.o \
radius_das.o \
radius_server.o
LIB_OBJS += radius_attr_parse.o

include ../lib.rules
Loading