[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8f17a0bca11604d9818326b01267186bd91236c9.camel@sipsolutions.net>
Date: Mon, 06 Jan 2020 16:51:25 +0100
From: Johannes Berg <johannes@...solutions.net>
To: Masahiro Yamada <masahiroy@...nel.org>,
Emmanuel Grumbach <emmanuel.grumbach@...el.com>,
Luca Coelho <luciano.coelho@...el.com>,
Intel Linux Wireless <linuxwifi@...el.com>,
linux-wireless@...r.kernel.org
Cc: "David S. Miller" <davem@...emloft.net>,
Kalle Valo <kvalo@...eaurora.org>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] iwlwifi: remove object duplication in Makefile
On Mon, 2020-01-06 at 16:54 +0900, Masahiro Yamada wrote:
> The objects in $(iwlwifi-objs) $(iwlwifi-y) $(iwlwifi-m) are linked to
> iwlwifi.ko .
>
> This line adds $(iwlwifi-m) to iwlwifi-objs, so the objects from
> $(iwlwifi-m) are listed twice as the dependency of the module.
Are you sure? We have
obj-$(CONFIG_IWLWIFI) += iwlwifi.o
and then "iwlwifi-y += ...", but I was under the impression that
iwlwifi.o didn't really pick up iwlwifi-m automatically, that's not
something that you'd normally do, normally -m only makes sense to build
a module using "obj-m", just here we do it for the mvm sub level
stuff...
johannes
Powered by blists - more mailing lists