Skip to contentSkip to conversation

Makefile fix for udev-079

PATCH Applied Brent Cook 2 participants 2 messages Dec 27, 2005 – Dec 29, 2005 Kbuild

lore
Share & tools
lore

Brent Cook

author
#0 lore raw

The Makefile for udev appears to have a missing dependency that breaks '-j2' builds. The following patch corrects the problem:

Makefile 2005-12-27 17:06:31.000000000 -0600 renamed from Makefile 2005-12-22 17:51:30.000000000 -0600 +1 -1
@@ -211,7 +211,7 @@
 .SUFFIXES:
 
 # build the objects
-%.o: %.c $(GEN_HEADERS)
+%.o: %.c $(HOST_PROGS) $(GEN_HEADERS)
        $(QUIET) $(CC) -c $(CFLAGS) $< -o $@
 
 # "Static Pattern Rule" to build all programs

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

Applied
#1 lore raw

Makefile 2005-12-27 17:06:31.000000000 -0600 line 214

Quoted 11 lines · Brent Cook

The Makefile for udev appears to have a missing dependency that breaks '-j2' builds. The following patch corrects the problem:

Makefile 2005-12-27 17:06:31.000000000 -0600 renamed from Makefile 2005-12-22 17:51:30.000000000 -0600 +1 -1
@@ -211,7 +211,7 @@
 .SUFFIXES:
 
 # build the objects
-%.o: %.c $(GEN_HEADERS)
+%.o: %.c $(HOST_PROGS) $(GEN_HEADERS)

Applied.

Thanks,
Kay

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel