iw: fix filtering linked object files for iw-tiny

It was broken by the recent commit that added iw-full

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from 7999282f7f)
This commit is contained in:
Felix Fietkau 2018-10-07 10:35:08 +02:00 committed by Jo-Philipp Wich
parent 0609ea0bf0
commit ab1b468701

View File

@ -274,7 +274,7 @@
+ifdef IW_FULL +ifdef IW_FULL
+ CFLAGS += -DIW_FULL + CFLAGS += -DIW_FULL
+else +else
+ OBJS:=$(filter-out $(patsubst %,%.o,$(OBJS_DISABLED)),$(OBJS)) + OBJS:=$(filter-out $(patsubst %,%.o,$(OBJS_FULL)),$(OBJS))
+endif +endif
ALL = iw ALL = iw