Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.25-pre5 /Rules.make

Filename:/Rules.make
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.4.25-pre4  2.4.24-bk7  2.4.24-bk6  2.4.24-bk5  2.4.24-bk4  2.4.24-bk3 
(Following) 2.4.25-pre6  2.4.25-pre7  2.4.25-pre8  2.4.25-rc1  2.4.25-rc2  2.4.25-rc3 

Location
[  2.4.25-pre5
   o  Rules.make

Patch

diff -Naur -p -X /home/marcelo/lib/dontdiff linux-2.4.24/Rules.make linux-2.4.25-pre5/Rules.make
--- linux-2.4.24/Rules.make   2002-08-03 00:39:42.000000000 +0000
+++ linux-2.4.25-pre5/Rules.make   2004-01-15 19:05:03.000000000 +0000
@@ -96,12 +96,12 @@ ifdef O_TARGET
 $(O_TARGET): $(obj-y)
    rm -f $@
     ifneq "$(strip $(obj-y))" ""
-   $(LD) $(EXTRA_LDFLAGS) -r -o $@ $(filter $(obj-y), $^)
+   $(LD) $(LDFLAGS) $(EXTRA_LDFLAGS) -r -o $@ $(filter $(obj-y), $^)
     else
    $(AR) rcs $@
     endif
    @ ( \
-       echo 'ifeq ($(strip $(subst $(comma),:,$(EXTRA_LDFLAGS) $(obj-y))),$$(strip $$(subst $$(comma),:,$$(EXTRA_LDFLAGS) $$(obj-y)+
)))' ; \
+       echo 'ifeq ($(strip $(subst $(comma),:,$(LDFLAGS) $(EXTRA_LDFLAGS) $(obj-y))),$$(strip $$(subst $$(comma),:,$$(LDFLAGS) $$(E+
XTRA_LDFLAGS) $$(obj-y))))' ; \
        echo 'FILES_FLAGS_UP_TO_DATE += $@' ; \
        echo 'endif' \
    ) > $(dir $@)/.$(notdir $@).flags


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.