diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-09-18 09:49:53 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2020-10-10 09:51:39 (GMT) |
commit | 722138cd253f32f66d5da9f7e5a8a57a6448a16d (patch) | |
tree | 56fa28e704a31ecf97d081e29d41107c34143705 /src/radius | |
parent | 0464d5d5d6a5287f4ca5d75f4e9d7abac17bd0ea (diff) | |
download | hostap-722138cd253f32f66d5da9f7e5a8a57a6448a16d.zip hostap-722138cd253f32f66d5da9f7e5a8a57a6448a16d.tar.gz hostap-722138cd253f32f66d5da9f7e5a8a57a6448a16d.tar.bz2 |
build: Put object files into build/ folder
Instead of building in the source tree, put most object
files into the build/ folder at the root, and put each
thing that's being built into a separate folder.
This then allows us to build hostapd and wpa_supplicant
(or other combinations) without "make clean" inbetween.
For the tests keep the objects in place for now (and to
do that, add the build rule) so that we don't have to
rewrite all of that with $(call BUILDOBJS,...) which is
just noise there.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'src/radius')
-rw-r--r-- | src/radius/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radius/Makefile b/src/radius/Makefile index dbe9a9a..83096f0 100644 --- a/src/radius/Makefile +++ b/src/radius/Makefile @@ -14,7 +14,7 @@ LIB_OBJS= \ radius_das.o \ radius_server.o +_OBJS_VAR := LIB_OBJS +include ../objs.mk libradius.a: $(LIB_OBJS) $(AR) crT $@ $? - --include $(OBJS:%.o=%.d) |