diff --git a/net/ieee80211/Makefile b/net/ieee80211/Makefile index f988417121da..796a7c76ee48 100644 --- a/net/ieee80211/Makefile +++ b/net/ieee80211/Makefile @@ -10,3 +10,4 @@ ieee80211-objs := \ ieee80211_wx.o \ ieee80211_geo.o +obj-$(CONFIG_IEEE80211_SOFTMAC) += softmac/ diff --git a/net/ieee80211/softmac/Makefile b/net/ieee80211/softmac/Makefile index d8c416bdddd7..bfcb391bb2c7 100644 --- a/net/ieee80211/softmac/Makefile +++ b/net/ieee80211/softmac/Makefile @@ -1,4 +1,4 @@ -obj-$(CONFIG_IEEE80211_SOFTMAC) := ieee80211softmac.o +obj-$(CONFIG_IEEE80211_SOFTMAC) += ieee80211softmac.o ieee80211softmac-objs := \ ieee80211softmac_io.o \ ieee80211softmac_auth.o \