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

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

Advertisement

Kernel v2.4.23-bk23 /Rules.make

Filename:/Rules.make
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.4.23-bk22  2.4.23-bk21  2.4.23-bk20  2.4.23-bk19  2.4.23-bk18  2.4.23-bk17 
(Following) 2.4.24-bk1  2.4.24-bk2  2.4.24-bk3  2.4.24-bk4  2.4.24-bk5  2.4.24-bk6 

Location
[  2.4.23-bk23
   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.