scummvm random work
[patches.git] / lirc-0.8.2-out-of-tree-build-drivers.patch
CommitLineData
5e993f12 1--- vanilla-0.8.2/drivers/Makefile.common
2+++ lirc-0.8.2/drivers/Makefile.common
3@@ -14,9 +14,9 @@
4 -I$(KERNEL_LOCATION)/drivers/media/video/
5 export LIRC_EXTRA_CFLAGS KERNEL_LOCATION module_DATA
6
7-$(module_DATA): $(automake_dummy_SOURCES) $(top_srcdir)/config.h ../lirc.h
8+$(module_DATA): $(automake_dummy_SOURCES) $(top_builddir)/config.h ../lirc.h
9 mv Makefile Makefile.automake
10- cp ../Makefile.kernel Makefile
11+ cp $(srcdir)/../Makefile.kernel Makefile
12 $(MAKE) -C $(KERNEL_LOCATION) SUBDIRS=$(LIRC_DEVDIR) modules \
13 KBUILD_VERBOSE=$(KBUILD_VERBOSE)
14 mv Makefile.automake Makefile