Now that O_TARGET is actually illegal...


--- Rules.make~ 2002-10-16 13:37:41.000000000 -0500
+++ Rules.make  2002-10-16 14:59:54.000000000 -0500
@@ -154,7 +154,7 @@
 # ---------------------------------------------------------------------------
 
 fastdep: $(subdir-ym)
-       @/bin/true
+       @:
 
 else
 
@@ -246,7 +246,7 @@
 ifneq ($(obj-m),)
        $(call cmd,modules_install)
 else
-       @/bin/true
+       @:
 endif
 
 else # ! modules_install
@@ -255,23 +255,18 @@
 # Building
 # ==========================================================================
 
-# If a Makefile does define neither O_TARGET nor L_TARGET,
-# use a standard O_TARGET named "built-in.o"
-
-ifndef O_TARGET
-ifndef L_TARGET
-O_TARGET := $(obj)/built-in.o
-endif
-endif
+# If a Makefile does not define a L_TARGET, link an object called "built-in.o"
 
 ifdef L_TARGET
 L_TARGET := $(obj)/$(L_TARGET)
+else
+O_TARGET := $(obj)/built-in.o
 endif
 
 first_rule: $(if $(KBUILD_BUILTIN),$(O_TARGET) $(L_TARGET) $(EXTRA_TARGETS)) \
            $(if $(KBUILD_MODULES),$(obj-m)) \
            $(subdir-ym)
-       @/bin/true
+       @:
 
 # Compile C sources (.c)
 # ---------------------------------------------------------------------------


-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to