aboutsummaryrefslogtreecommitdiffstats
path: root/src/radius
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2020-10-12 10:14:04 (GMT)
committerJouni Malinen <j@w1.fi>2020-10-12 17:20:20 (GMT)
commitf4b3d14e9724934c2511f844cb5e0660862c3ae2 (patch)
tree23f78363ea0381ca47005a15e94df26b1d92501d /src/radius
parentac1447ae9db84993e092524ae6eb9b362f11442a (diff)
downloadhostap-f4b3d14e9724934c2511f844cb5e0660862c3ae2.zip
hostap-f4b3d14e9724934c2511f844cb5e0660862c3ae2.tar.gz
hostap-f4b3d14e9724934c2511f844cb5e0660862c3ae2.tar.bz2
build: Make a common library build
Derive the library name from the directory name, and let each library Makefile only declare the objects that are needed. This reduces duplicate code for the ar call. While at it, also pretty-print that call. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'src/radius')
-rw-r--r--src/radius/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/radius/Makefile b/src/radius/Makefile
index 5cefa39..8d25400 100644
--- a/src/radius/Makefile
+++ b/src/radius/Makefile
@@ -1,5 +1,3 @@
-ALL=$(OUT)libradius.a
-
include ../lib.rules
install:
@@ -16,5 +14,3 @@ LIB_OBJS= \
_OBJS_VAR := LIB_OBJS
include ../objs.mk
-$(OUT)libradius.a: $(LIB_OBJS)
- $(AR) crT $@ $?