[aadk-commits] dbailey: trunk r284 - /trunk/scripts/build-bootloader
aadk-commits at lists.digium.com
aadk-commits at lists.digium.com
Thu Mar 29 15:01:10 MST 2007
Author: dbailey
Date: Thu Mar 29 17:01:09 2007
New Revision: 284
URL: http://svn.digium.com/view/aadk?view=rev&rev=284
Log:
Add a configuration prompt definition to the board_id header file generator.
Modified:
trunk/scripts/build-bootloader
Modified: trunk/scripts/build-bootloader
URL: http://svn.digium.com/view/aadk/trunk/scripts/build-bootloader?view=diff&rev=284&r1=283&r2=284
==============================================================================
--- trunk/scripts/build-bootloader (original)
+++ trunk/scripts/build-bootloader Thu Mar 29 17:01:09 2007
@@ -3,20 +3,23 @@
. scripts/build-common
#Insert version information that can be displayed from the bootloader
-BOARDID_FILE="u-boot/u-boot_1.1.3/lib_blackfin/board_id.h"
+BOARDID_FILE="u-boot/u-boot_1.1.3/include/configs/board_id.h"
if [ -f ".version" -a -f ".flavor" ]; then
echo "Version Files exist"
VER=`cat .version`
FLAVOR=`cat .flavor`
VERSIONID="#define VENDOR_ID \"$FLAVOR $VER\""
+ CFG_PROMPT="#define CFG_PROMPT \"$FLAVOR>\""
else
VERSIONID="#define \"DIGIUM Unknown\""
+ CFG_PROMPT="#define CFG_PROMPT \">\""
fi
echo "/*Autogenerated header file*/" >${BOARDID_FILE}
echo "#ifndef __BOARD_ID_H__" >>${BOARDID_FILE}
echo "#define __BOARD_ID_H__" >>${BOARDID_FILE}
echo "$VERSIONID" >>${BOARDID_FILE}
+echo "$CFG_PROMPT" >>${BOARDID_FILE}
echo "#endif" >>${BOARDID_FILE}
# actually build the bootloader
More information about the aadk-commits
mailing list