Fixed modules_install target: create dir before copying.
authorFlorian Pose <fp@igh-essen.com>
Fri, 12 Jan 2007 15:18:11 +0000
changeset 536 330f7f8da979
parent 535 4c8edc04fe24
child 537 c715766e0f81
Fixed modules_install target: create dir before copying.
devices/Makefile.am
master/Makefile.am
--- a/devices/Makefile.am	Fri Jan 12 15:01:20 2007 +0000
+++ b/devices/Makefile.am	Fri Jan 12 15:18:11 2007 +0000
@@ -47,6 +47,7 @@
 	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_top_srcdir@" modules
 
 modules_install:
+	mkdir -p $(DESTDIR)$(LINUX_MOD_PATH)
 	cp $(srcdir)/ec_8139too.ko $(DESTDIR)$(LINUX_MOD_PATH)
 
 clean-local:
--- a/master/Makefile.am	Fri Jan 12 15:01:20 2007 +0000
+++ b/master/Makefile.am	Fri Jan 12 15:18:11 2007 +0000
@@ -56,6 +56,7 @@
 	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_top_srcdir@" modules
 
 modules_install:
+	mkdir -p $(DESTDIR)$(LINUX_MOD_PATH)
 	cp $(srcdir)/ec_master.ko $(DESTDIR)$(LINUX_MOD_PATH)
 
 clean-local: