aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/Makefile
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-10-13 14:32:52 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-13 14:32:52 -0700
commit86f69fe9c069dd8608d238581eea259caa1dfc99 (patch)
tree2a252ac23a60e60b5fa2b6b99d29806d8d2d59be /drivers/staging/Makefile
parent5c7514e0610249a4e7710eefd801c2b0442eb8ea (diff)
Staging: workaround build system bug
This is needed as CONFIG_STAGING is set to y, yet there is no code in drivers/staging/ to build, so the build-in.o doesn't get created properly. Create a "dummy" module in drivers/staging called staging.c to work around this bug. Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/Makefile')
-rw-r--r--drivers/staging/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile
index 93decb89b1d..7c466e94fd9 100644
--- a/drivers/staging/Makefile
+++ b/drivers/staging/Makefile
@@ -1,5 +1,8 @@
# Makefile for staging directory
+# fix for build system bug...
+obj-$(CONFIG_STAGING) += staging.o
+
obj-$(CONFIG_ET131X) += et131x/
obj-$(CONFIG_SLICOSS) += slicoss/
obj-$(CONFIG_SXG) += sxg/