Skip to contentSkip to conversation

Fixed build error due to #define of _LINUX_STRING_H_ in 82559_eeprom.c

PATCH New Graeme Russ 2 participants 2 messages Nov 20, 2008 – Dec 9, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Fixed build error due to #define of _LINUX_STRING_H_ in 82559_eeprom.c

---

82559_eeprom.c is only compiled for i386 arch's (see /examples/Makefile lines 92-94). This modification should only impact sc520_cdp and sc520_spunk which need this define removed in order to compile

 examples/82559_eeprom.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
examples/82559_eeprom.c +0 -1
index d99af26..5e2eee9 100644
@@ -19,7 +19,6 @@
  */
 
 #define _PPC_STRING_H_		/* avoid unnecessary str/mem functions */
-#define _LINUX_STRING_H_	/* avoid unnecessary str/mem functions */
 
 #include <common.h>
 #include <exports.h>

--
1.5.4.3

#1 lore raw

PATCH 1/2 Fixed build error due to #define of _LINUX_STRING_H_ in 82559_eeprom.c

Dear Graeme Russ,

Quoted 9 lines · In message <[email protected]> you wrote:

---

82559_eeprom.c is only compiled for i386 arch's (see /examples/Makefile lines 92-94). This modification should only impact sc520_cdp and sc520_spunk which need this define removed in order to compile

 examples/82559_eeprom.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The use of anthropomorphic terminology when  dealing  with  computing
systems is a symptom of professional immaturity.   -- Edsger Dijkstra