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

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

Kernel v2.4.23-bk18 /Rules.make

Filename:/Rules.make
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.4.23-bk17  2.4.23-bk16  2.4.22-ac4  2.4.22-ac3  2.4.22-ac2  2.4.22-ac1 
(Following) 2.4.23-bk19  2.4.23-bk20  2.4.23-bk21  2.4.23-bk22  2.4.23-bk23  2.4.24-pre3 

Location
[  2.4.23-bk18
   o  Rules.make

Patch

diff -Nru a/Rules.make b/Rules.make
--- a/Rules.make   Tue Jun 25 00:59:38 2002
+++ b/Rules.make   Mon Oct 13 05:42:07 2003
@@ -96,12 +96,12 @@
 $(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.