aboutsummaryrefslogtreecommitdiffstats
path: root/src/radius
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2020-10-11 07:58:58 (GMT)
committerJouni Malinen <j@w1.fi>2020-10-11 08:16:00 (GMT)
commit87098d3324e018fd05c1729998052603391a4e71 (patch)
tree4246cd4087ed55bf42d6d696a76363c7710c3554 /src/radius
parent00b5e99b652597855d65befd047589e62f9584df (diff)
downloadhostap-87098d3324e018fd05c1729998052603391a4e71.zip
hostap-87098d3324e018fd05c1729998052603391a4e71.tar.gz
hostap-87098d3324e018fd05c1729998052603391a4e71.tar.bz2
build: Put archive files into build/ folder too
This is something I hadn't previously done, but there are cases where it's needed, e.g., building 'wlantest' and then one of the tests/fuzzing/*/ projects, they use a different configuration (fuzzing vs. not fuzzing). Perhaps more importantly, this gets rid of the last thing that was dumped into the source directories, apart from the binaries themselves. Note that due to the use of thin archives, this required building with absolute paths. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'src/radius')
-rw-r--r--src/radius/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radius/Makefile b/src/radius/Makefile
index 83096f0..5cefa39 100644
--- a/src/radius/Makefile
+++ b/src/radius/Makefile
@@ -1,4 +1,4 @@
-ALL=libradius.a
+ALL=$(OUT)libradius.a
include ../lib.rules
@@ -16,5 +16,5 @@ LIB_OBJS= \
_OBJS_VAR := LIB_OBJS
include ../objs.mk
-libradius.a: $(LIB_OBJS)
+$(OUT)libradius.a: $(LIB_OBJS)
$(AR) crT $@ $?