summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/wl12xx/Makefile
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-09-27 22:00:51 +0400
committerJohn W. Linville <linville@tuxdriver.com>2010-09-28 18:52:26 +0400
commitd99bf6e707444af4df294f54a679f679018d7ec3 (patch)
treecb19ac2e943f22e6e8ff92fcd66ab97d52335458 /drivers/net/wireless/wl12xx/Makefile
parente2b626248b0799bd14be40ce290c6681a8419512 (diff)
downloadlinux-d99bf6e707444af4df294f54a679f679018d7ec3.tar.xz
wl12xx: fix separate-object-folder builds
Make this go away (happens when building with a separate object directory): Assembler messages: Fatal error: can't create drivers/net/wireless/wl12xx/.tmp_wl12xx_platform_data.o: No such file or directory drivers/net/wireless/wl12xx/wl12xx_platform_data.c: In function 'wl12xx_get_platform_data': drivers/net/wireless/wl12xx/wl12xx_platform_data.c:28: error: cannot open drivers/net/wireless/wl12xx/.tmp_wl12xx_platform_data.gcno drivers/net/wireless/wl12xx/wl12xx_platform_data.c:28: confused by earlier errors, bailing out Signed-off-by: John W. Linville <linville@tuxdriver.com> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/Makefile')
-rw-r--r--drivers/net/wireless/wl12xx/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/Makefile b/drivers/net/wireless/wl12xx/Makefile
index 078b4398ac1f..0d334d6f86f4 100644
--- a/drivers/net/wireless/wl12xx/Makefile
+++ b/drivers/net/wireless/wl12xx/Makefile
@@ -16,3 +16,6 @@ wl1271-$(CONFIG_NL80211_TESTMODE) += wl1271_testmode.o
obj-$(CONFIG_WL1271) += wl1271.o
obj-$(CONFIG_WL1271_SPI) += wl1271_spi.o
obj-$(CONFIG_WL1271_SDIO) += wl1271_sdio.o
+
+# small builtin driver bit
+obj-$(CONFIG_WL12XX_PLATFORM_DATA) += wl12xx_platform_data.o