There's really no reason to have a separate configuration
for HWSIM, so we can also always compile that. Then, we
no longer need to spell out the list of files and can just
include all the files.
Change-Id: I2a9141b9924bbc217015fce1076ea01017b88cae
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-Werror-implicit-function-declaration -Wsign-compare -Wno-unused-parameter \
$(CFLAGS_EVAL)
-OBJS = iw.o genl.o event.o info.o phy.o \
- interface.o ibss.o station.o survey.o util.o ocb.o \
- mesh.o mpath.o mpp.o scan.o reg.o version.o \
- reason.o status.o connect.o link.o offch.o ps.o cqm.o \
- bitrate.o wowlan.o coalesce.o roc.o p2p.o vendor.o mgmt.o \
- ap.o sha256.o nan.o bloom.o \
- measurements.o ftm.o
-OBJS += sections.o
-
-OBJS-$(HWSIM) += hwsim.o
-
-OBJS += $(OBJS-y) $(OBJS-Y)
+OBJS = $(sort $(patsubst %.c,%.o,$(wildcard *.c)))
ALL = iw