Author: stepan
Date: Mon Apr 26 17:57:21 2010
New Revision: 758
URL: http://tracker.coreboot.org/trac/openbios/changeset/758
Log:
update headers
Modified:
trunk/fcode-utils-devel/detok/Makefile
trunk/fcode-utils-devel/detok/addfcodes.c
trunk/fcode-utils-devel/detok/addfcodes.h
trunk/fcode-utils-devel/detok/decode.c
trunk/fcode-utils-devel/detok/detok.c
trunk/fcode-utils-devel/detok/detok.h
trunk/fcode-utils-devel/detok/dictionary.c
trunk/fcode-utils-devel/detok/pcihdr.c
trunk/fcode-utils-devel/detok/printformats.c
trunk/fcode-utils-devel/detok/stream.c
trunk/fcode-utils-devel/detok/stream.h
trunk/fcode-utils-devel/romheaders/Makefile
trunk/fcode-utils-devel/romheaders/romheaders.c
trunk/fcode-utils-devel/toke/conditl.c
trunk/fcode-utils-devel/toke/conditl.h
trunk/fcode-utils-devel/toke/devnode.c
trunk/fcode-utils-devel/toke/devnode.h
trunk/fcode-utils-devel/toke/dictionary.c
trunk/fcode-utils-devel/toke/dictionary.h
trunk/fcode-utils-devel/toke/emit.h
trunk/fcode-utils-devel/toke/errhandler.c
trunk/fcode-utils-devel/toke/errhandler.h
trunk/fcode-utils-devel/toke/flowcontrol.c
trunk/fcode-utils-devel/toke/flowcontrol.h
trunk/fcode-utils-devel/toke/macros.c
trunk/fcode-utils-devel/toke/macros.h
trunk/fcode-utils-devel/toke/nextfcode.c
trunk/fcode-utils-devel/toke/nextfcode.h
trunk/fcode-utils-devel/toke/parselocals.c
trunk/fcode-utils-devel/toke/parselocals.h
trunk/fcode-utils-devel/toke/scanner.c
trunk/fcode-utils-devel/toke/scanner.h
trunk/fcode-utils-devel/toke/stack.c
trunk/fcode-utils-devel/toke/stack.h
trunk/fcode-utils-devel/toke/stream.c
trunk/fcode-utils-devel/toke/stream.h
trunk/fcode-utils-devel/toke/strsubvocab.c
trunk/fcode-utils-devel/toke/strsubvocab.h
trunk/fcode-utils-devel/toke/ticvocab.c
trunk/fcode-utils-devel/toke/ticvocab.h
trunk/fcode-utils-devel/toke/toke.c
trunk/fcode-utils-devel/toke/toke.h
trunk/fcode-utils-devel/toke/tokzesc.c
trunk/fcode-utils-devel/toke/tokzesc.h
trunk/fcode-utils-devel/toke/tracesyms.c
trunk/fcode-utils-devel/toke/tracesyms.h
trunk/fcode-utils-devel/toke/usersymbols.c
trunk/fcode-utils-devel/toke/usersymbols.h
trunk/fcode-utils-devel/toke/vocabfuncts.h
Modified: trunk/fcode-utils-devel/detok/Makefile
==============================================================================
--- trunk/fcode-utils-devel/detok/Makefile Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/Makefile Mon Apr 26 17:57:21 2010 (r758)
@@ -1,11 +1,11 @@
#
# OpenBIOS - free your system!
-# ( Utilities )
+# ( FCode detokenizer )
#
# This program is part of a free implementation of the IEEE 1275-1994
# Standard for Boot (Initialization Configuration) Firmware.
#
-# Copyright (C) 2001-2006 Stefan Reinauer <stepan(a)openbios.org>
+# Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
# Copyright (C) 2006-2009 coresystems GmbH <info(a)coresystems.de>
#
# This program is free software; you can redistribute it and/or modify
Modified: trunk/fcode-utils-devel/detok/addfcodes.c
==============================================================================
--- trunk/fcode-utils-devel/detok/addfcodes.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/addfcodes.c Mon Apr 26 17:57:21 2010 (r758)
@@ -1,11 +1,11 @@
/*
* OpenBIOS - free your system!
- * ( FCode tokenizer )
+ * ( FCode detokenizer )
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/detok/addfcodes.h
==============================================================================
--- trunk/fcode-utils-devel/detok/addfcodes.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/addfcodes.h Mon Apr 26 17:57:21 2010 (r758)
@@ -1,14 +1,11 @@
-#ifndef _DETOK_VSFCODES_H
-#define _DETOK_VSFCODES_H
-
/*
* OpenBIOS - free your system!
- * ( FCode tokenizer )
+ * ( FCode detokenizer )
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -35,6 +32,9 @@
*
**************************************************************************** */
+#ifndef _DETOK_VSFCODES_H
+#define _DETOK_VSFCODES_H
+
#include "types.h"
/* ************************************************************************** *
Modified: trunk/fcode-utils-devel/detok/decode.c
==============================================================================
--- trunk/fcode-utils-devel/detok/decode.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/decode.c Mon Apr 26 17:57:21 2010 (r758)
@@ -1,13 +1,13 @@
/*
* OpenBIOS - free your system!
- * ( detokenizer )
+ * ( FCode detokenizer )
*
* decode.c - contains output wrappers for fcode words.
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/detok/detok.c
==============================================================================
--- trunk/fcode-utils-devel/detok/detok.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/detok.c Mon Apr 26 17:57:21 2010 (r758)
@@ -1,13 +1,13 @@
/*
* OpenBIOS - free your system!
- * ( detokenizer )
+ * ( FCode detokenizer )
*
* detok.c parameter parsing and main detokenizer loop.
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2006 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
* Copyright (C) 2006 coresystems GmbH <info(a)coresystems.de>
*
* This program is free software; you can redistribute it and/or modify
Modified: trunk/fcode-utils-devel/detok/detok.h
==============================================================================
--- trunk/fcode-utils-devel/detok/detok.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/detok.h Mon Apr 26 17:57:21 2010 (r758)
@@ -3,14 +3,14 @@
/*
* OpenBIOS - free your system!
- * ( detokenizer )
+ * ( FCode detokenizer )
*
* detok.h - detokenizer base macros.
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/detok/dictionary.c
==============================================================================
--- trunk/fcode-utils-devel/detok/dictionary.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/dictionary.c Mon Apr 26 17:57:21 2010 (r758)
@@ -1,13 +1,13 @@
/*
* OpenBIOS - free your system!
- * ( detokenizer )
+ * ( FCode detokenizer )
*
* dictionary.c - dictionary initialization and functions.
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/detok/pcihdr.c
==============================================================================
--- trunk/fcode-utils-devel/detok/pcihdr.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/pcihdr.c Mon Apr 26 17:57:21 2010 (r758)
@@ -1,11 +1,11 @@
/*
* OpenBIOS - free your system!
- * ( FCode tokenizer )
+ * ( FCode detokenizer )
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/detok/printformats.c
==============================================================================
--- trunk/fcode-utils-devel/detok/printformats.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/printformats.c Mon Apr 26 17:57:21 2010 (r758)
@@ -1,11 +1,11 @@
/*
* OpenBIOS - free your system!
- * ( FCode tokenizer )
+ * ( FCode detokenizer )
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/detok/stream.c
==============================================================================
--- trunk/fcode-utils-devel/detok/stream.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/stream.c Mon Apr 26 17:57:21 2010 (r758)
@@ -1,13 +1,13 @@
/*
* OpenBIOS - free your system!
- * ( detokenizer )
+ * ( FCode detokenizer )
*
* stream.c - FCode program bytecode streaming from file.
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/detok/stream.h
==============================================================================
--- trunk/fcode-utils-devel/detok/stream.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/detok/stream.h Mon Apr 26 17:57:21 2010 (r758)
@@ -1,16 +1,13 @@
-#ifndef _UTILS_DETOK_STREAM_H
-#define _UTILS_DETOK_STREAM_H
-
/*
* OpenBIOS - free your system!
- * ( detokenizer )
+ * ( FCode detokenizer )
*
* stream.h - prototypes for fcode streaming functions.
*
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -33,6 +30,9 @@
* Modifications Author: David L. Paktor dlpaktor(a)us.ibm.com
**************************************************************************** */
+#ifndef _UTILS_DETOK_STREAM_H
+#define _UTILS_DETOK_STREAM_H
+
#include "types.h"
/* Prototypes for functions exported from stream.c */
Modified: trunk/fcode-utils-devel/romheaders/Makefile
==============================================================================
--- trunk/fcode-utils-devel/romheaders/Makefile Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/romheaders/Makefile Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
# This program is part of a free implementation of the IEEE 1275-1994
# Standard for Boot (Initialization Configuration) Firmware.
#
-# Copyright (C) 2002 Stefan Reinauer, <stepan(a)openbios.org>
+# Copyright (C) 2002-2010 Stefan Reinauer <stepan(a)openbios.org>
# Copyright (C) 2009 coresystems GmbH <info(a)coresystems.de>
#
# This program is free software; you can redistribute it and/or modify
Modified: trunk/fcode-utils-devel/romheaders/romheaders.c
==============================================================================
--- trunk/fcode-utils-devel/romheaders/romheaders.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/romheaders/romheaders.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
* Copyright (C) 2006 coresystems GmbH <info(a)coresystems.de>
*
* This program is free software; you can redistribute it and/or modify
@@ -240,5 +240,4 @@
return 0;
}
-
-
+
Modified: trunk/fcode-utils-devel/toke/conditl.c
==============================================================================
--- trunk/fcode-utils-devel/toke/conditl.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/conditl.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/conditl.h
==============================================================================
--- trunk/fcode-utils-devel/toke/conditl.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/conditl.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/devnode.c
==============================================================================
--- trunk/fcode-utils-devel/toke/devnode.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/devnode.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/devnode.h
==============================================================================
--- trunk/fcode-utils-devel/toke/devnode.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/devnode.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/dictionary.c
==============================================================================
--- trunk/fcode-utils-devel/toke/dictionary.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/dictionary.c Mon Apr 26 17:57:21 2010 (r758)
@@ -7,7 +7,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/dictionary.h
==============================================================================
--- trunk/fcode-utils-devel/toke/dictionary.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/dictionary.h Mon Apr 26 17:57:21 2010 (r758)
@@ -10,7 +10,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/emit.h
==============================================================================
--- trunk/fcode-utils-devel/toke/emit.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/emit.h Mon Apr 26 17:57:21 2010 (r758)
@@ -10,7 +10,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/errhandler.c
==============================================================================
--- trunk/fcode-utils-devel/toke/errhandler.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/errhandler.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/errhandler.h
==============================================================================
--- trunk/fcode-utils-devel/toke/errhandler.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/errhandler.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/flowcontrol.c
==============================================================================
--- trunk/fcode-utils-devel/toke/flowcontrol.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/flowcontrol.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/flowcontrol.h
==============================================================================
--- trunk/fcode-utils-devel/toke/flowcontrol.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/flowcontrol.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/macros.c
==============================================================================
--- trunk/fcode-utils-devel/toke/macros.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/macros.c Mon Apr 26 17:57:21 2010 (r758)
@@ -7,7 +7,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 by Stefan Reinauer <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 by Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/macros.h
==============================================================================
--- trunk/fcode-utils-devel/toke/macros.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/macros.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/nextfcode.c
==============================================================================
--- trunk/fcode-utils-devel/toke/nextfcode.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/nextfcode.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/nextfcode.h
==============================================================================
--- trunk/fcode-utils-devel/toke/nextfcode.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/nextfcode.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/parselocals.c
==============================================================================
--- trunk/fcode-utils-devel/toke/parselocals.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/parselocals.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/parselocals.h
==============================================================================
--- trunk/fcode-utils-devel/toke/parselocals.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/parselocals.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/scanner.c
==============================================================================
--- trunk/fcode-utils-devel/toke/scanner.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/scanner.c Mon Apr 26 17:57:21 2010 (r758)
@@ -7,7 +7,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 by Stefan Reinauer <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 by Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/scanner.h
==============================================================================
--- trunk/fcode-utils-devel/toke/scanner.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/scanner.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/stack.c
==============================================================================
--- trunk/fcode-utils-devel/toke/stack.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/stack.c Mon Apr 26 17:57:21 2010 (r758)
@@ -7,7 +7,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 by Stefan Reinauer <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 by Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/stack.h
==============================================================================
--- trunk/fcode-utils-devel/toke/stack.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/stack.h Mon Apr 26 17:57:21 2010 (r758)
@@ -10,7 +10,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/stream.c
==============================================================================
--- trunk/fcode-utils-devel/toke/stream.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/stream.c Mon Apr 26 17:57:21 2010 (r758)
@@ -7,7 +7,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 by Stefan Reinauer <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 by Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/stream.h
==============================================================================
--- trunk/fcode-utils-devel/toke/stream.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/stream.h Mon Apr 26 17:57:21 2010 (r758)
@@ -10,7 +10,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/strsubvocab.c
==============================================================================
--- trunk/fcode-utils-devel/toke/strsubvocab.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/strsubvocab.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/strsubvocab.h
==============================================================================
--- trunk/fcode-utils-devel/toke/strsubvocab.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/strsubvocab.h Mon Apr 26 17:57:21 2010 (r758)
@@ -9,7 +9,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/ticvocab.c
==============================================================================
--- trunk/fcode-utils-devel/toke/ticvocab.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/ticvocab.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/ticvocab.h
==============================================================================
--- trunk/fcode-utils-devel/toke/ticvocab.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/ticvocab.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/toke.c
==============================================================================
--- trunk/fcode-utils-devel/toke/toke.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/toke.c Mon Apr 26 17:57:21 2010 (r758)
@@ -7,7 +7,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2006 by Stefan Reinauer <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 by Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/toke.h
==============================================================================
--- trunk/fcode-utils-devel/toke/toke.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/toke.h Mon Apr 26 17:57:21 2010 (r758)
@@ -10,7 +10,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/tokzesc.c
==============================================================================
--- trunk/fcode-utils-devel/toke/tokzesc.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/tokzesc.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/tokzesc.h
==============================================================================
--- trunk/fcode-utils-devel/toke/tokzesc.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/tokzesc.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/tracesyms.c
==============================================================================
--- trunk/fcode-utils-devel/toke/tracesyms.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/tracesyms.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/tracesyms.h
==============================================================================
--- trunk/fcode-utils-devel/toke/tracesyms.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/tracesyms.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/usersymbols.c
==============================================================================
--- trunk/fcode-utils-devel/toke/usersymbols.c Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/usersymbols.c Mon Apr 26 17:57:21 2010 (r758)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/usersymbols.h
==============================================================================
--- trunk/fcode-utils-devel/toke/usersymbols.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/usersymbols.h Mon Apr 26 17:57:21 2010 (r758)
@@ -9,7 +9,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Modified: trunk/fcode-utils-devel/toke/vocabfuncts.h
==============================================================================
--- trunk/fcode-utils-devel/toke/vocabfuncts.h Mon Apr 26 17:43:25 2010 (r757)
+++ trunk/fcode-utils-devel/toke/vocabfuncts.h Mon Apr 26 17:57:21 2010 (r758)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Author: stepan
Date: Mon Apr 26 17:43:25 2010
New Revision: 757
URL: http://tracker.coreboot.org/trac/openbios/changeset/757
Log:
SUN OPB on the SPARC (Enterprise) platforms (especially):
M3000, M4000, M9000 expects a checksum algorithm that is
not compliant with IEEE 1275-1994 section 5.2.2.5.
Add flag "Sun-Style-Checksum" to switch to the other algorithm.
Modified:
trunk/fcode-utils-devel/toke/clflags.c
trunk/fcode-utils-devel/toke/clflags.h
trunk/fcode-utils-devel/toke/emit.c
Modified: trunk/fcode-utils-devel/toke/clflags.c
==============================================================================
--- trunk/fcode-utils-devel/toke/clflags.c Mon Apr 26 17:40:54 2010 (r756)
+++ trunk/fcode-utils-devel/toke/clflags.c Mon Apr 26 17:43:25 2010 (r757)
@@ -5,7 +5,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -94,6 +94,7 @@
bool ibm_legacy_separator_message = TRUE ;
bool enable_abort_quote = TRUE ;
bool sun_style_abort_quote = TRUE ;
+bool sun_style_checksum = FALSE ;
bool abort_quote_throw = TRUE ;
bool string_remark_escape = TRUE ;
bool hex_remark_escape = TRUE ;
@@ -181,6 +182,11 @@
"\t",
"Use -2 THROW in an Abort\" phrase, rather than ABORT" } ,
+ { "Sun-Style-Checksum",
+ &sun_style_checksum,
+ "\t\t",
+ "Use this for SPARC (Enterprise) platforms (especially): M3000, M4000, M9000" } ,
+
{ "String-remark-escape",
&string_remark_escape,
"\t",
@@ -640,7 +646,7 @@
for ( indx = 0 ; indx < number_of_cl_flags ; indx++ )
{
- printf(" %s %s%s%s\n",
+ printf(" %s %s%s%s\n",
*(cl_flags_list[indx].flag_var) ? " " : "no" ,
cl_flags_list[indx].clflag_name,
cl_flags_list[indx].clflag_tabs,
Modified: trunk/fcode-utils-devel/toke/clflags.h
==============================================================================
--- trunk/fcode-utils-devel/toke/clflags.h Mon Apr 26 17:40:54 2010 (r756)
+++ trunk/fcode-utils-devel/toke/clflags.h Mon Apr 26 17:43:25 2010 (r757)
@@ -8,7 +8,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -56,6 +56,7 @@
* ibm_legacy_separator_message
* enable_abort_quote
* sun_style_abort_quote
+ * sun_style_checksum
* string_remark_escape
* hex_remark_escape
* c_style_string_escape
@@ -111,6 +112,7 @@
extern bool ibm_legacy_separator_message;
extern bool enable_abort_quote;
extern bool sun_style_abort_quote;
+extern bool sun_style_checksum;
extern bool abort_quote_throw;
extern bool string_remark_escape;
extern bool hex_remark_escape;
Modified: trunk/fcode-utils-devel/toke/emit.c
==============================================================================
--- trunk/fcode-utils-devel/toke/emit.c Mon Apr 26 17:40:54 2010 (r756)
+++ trunk/fcode-utils-devel/toke/emit.c Mon Apr 26 17:43:25 2010 (r757)
@@ -7,7 +7,7 @@
* This program is part of a free implementation of the IEEE 1275-1994
* Standard for Boot (Initialization Configuration) Firmware.
*
- * Copyright (C) 2001-2005 Stefan Reinauer, <stepan(a)openbios.org>
+ * Copyright (C) 2001-2010 Stefan Reinauer <stepan(a)openbios.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -317,7 +317,7 @@
/* Calculate and place checksum and length, if haven't already */
if ( fcode_start_ob_off != -1 )
{
- u16 checksum;
+ u32 checksum;
int length;
u8 *fcode_body = ostart+fcode_body_ob_off;
@@ -331,13 +331,23 @@
fcode_body < ob_end ;
checksum += *(fcode_body++) ) ;
- BIG_ENDIAN_WORD_STORE(fcode_hdr->checksum , checksum);
+ if (sun_style_checksum) {
+ /* SUN OPB on the SPARC (Enterprise) platforms (especially):
+ * M3000, M4000, M9000 expects a checksum algorithm that is
+ * not compliant with IEEE 1275-1994 section 5.2.2.5.
+ */
+ checksum = (checksum & 0xffff) + (checksum >> 16);
+ checksum = (checksum & 0xffff) + (checksum >> 16);
+ }
+
+ BIG_ENDIAN_WORD_STORE(fcode_hdr->checksum,
+ (u16)(checksum & 0xffff));
BIG_ENDIAN_LONG_STORE(fcode_hdr->length , length);
if (verbose)
{
printf( "toke: checksum is 0x%04x (%d bytes). ",
- checksum, length);
+ (u16)checksum, length);
list_fcode_ranges( TRUE);
}
}
On 4/23/10, Andreas Färber <andreas.faerber(a)web.de> wrote:
> Am 23.04.2010 um 14:44 schrieb Andreas Färber:
>
>
> > On Ubuntu Karmic `./config/scripts/switch-arch cross-ppc` did not
> recognize my powerpc-elf-gcc. The GNOME Terminal appears to use bash, where
> `type -p powerpc-elf-gcc && echo yah` works, but /bin/sh is dash, where it
> does not:
> > echo "type -p powerpc-elf-gcc && echo yah" | /bin/sh
> >
>
> ...and if we actually do it like that, without 2>/dev/null, we see:
> -p: not found
>
> So dash's `type` does not seem to support the -p parameter, whatever that
> does. Without -p it works, too.
-p makes the output either the path or nothing if not found. Without
-p there may be messages to stderr, so the patch should also add 2>&1.
> Andreas
>
> diff --git a/config/scripts/switch-arch b/config/scripts/switch-arch
> index c145e86..b7511e7 100755
> --- a/config/scripts/switch-arch
> +++ b/config/scripts/switch-arch
> @@ -88,7 +88,7 @@ select_prefix()
> {
> for TARGET in ${1}-linux-gnu- ${1}-elf- ${1}-eabi-
> do
> - if type -p ${TARGET}gcc > /dev/null
> + if type ${TARGET}gcc > /dev/null
>
> then
> return
> fi
>
>
> --
> OpenBIOS http://openbios.org/
> Mailinglist:
> http://lists.openbios.org/mailman/listinfo
> Free your System - May the Forth be with you
>