Mercurial > ecos-v2_0-branch
comparison packages/hal/powerpc/cogent/current/misc/STUBS_config @ 34:29bc183297e1 ecos-sw-1999-09-02
Merge from eCos master repository on 1999-09-02-16:26:10-BST
| author | jlarmour |
|---|---|
| date | Thu, 02 Sep 1999 16:11:22 +0000 |
| parents | |
| children | a0774359f013 |
comparison
equal
deleted
inserted
replaced
| 33:7a567ebab069 | 34:29bc183297e1 |
|---|---|
| 1 #! /bin/sh | |
| 2 # Configure PowerPC/cogent eCos to create Cogent GDB stubs | |
| 3 # Ensure that PATH include the directory where the PPC tools reside. | |
| 4 # | |
| 5 # Run from an empty temporary directory with one argument: the path to | |
| 6 # the packages directory (i.e., where pkgconf.tcl lives). | |
| 7 # | |
| 8 # Output will be ./stubrom.bin which is suitable for burning into ROM. | |
| 9 # Remember to be careful with byte-endianess in the ROM programmer. | |
| 10 | |
| 11 tcl $1/pkgconf.tcl \ | |
| 12 --target=powerpc --platform=cogent --startup=stubs \ | |
| 13 --disable CYGPKG_KERNEL --disable CYGPKG_UITRON \ | |
| 14 --disable CYGPKG_LIBC --disable CYGPKG_LIBM \ | |
| 15 --disable CYGPKG_ERROR --disable CYGPKG_IO \ | |
| 16 --disable CYGPKG_IO_SERIAL --disable CYGPKG_DEVICES_WALLCLOCK \ | |
| 17 --disable CYGPKG_DEVICES_WATCHDOG | |
| 18 | |
| 19 patch <<END_OF_PATCH -p0 | |
| 20 --- pkgconf/hal.h~ Thu Jul 8 08:26:44 1999 | |
| 21 +++ pkgconf/hal.h Wed Jul 28 10:51:07 1999 | |
| 22 @@ -110,7 +110,7 @@ | |
| 23 } | |
| 24 | |
| 25 }}CFG_DATA */ | |
| 26 -#define CYGFUN_HAL_COMMON_KERNEL_SUPPORT | |
| 27 +#undef CYGFUN_HAL_COMMON_KERNEL_SUPPORT | |
| 28 | |
| 29 /* {{CFG_DATA | |
| 30 | |
| 31 @@ -369,10 +369,10 @@ | |
| 32 | |
| 33 }}CFG_DATA */ | |
| 34 | |
| 35 -#undef CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS | |
| 36 +#define CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS | |
| 37 #undef CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT | |
| 38 -#define CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT | |
| 39 -#define CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT | |
| 40 +#undef CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT | |
| 41 +#undef CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT | |
| 42 | |
| 43 /* | |
| 44 * NOTE: | |
| 45 END_OF_PATCH | |
| 46 | |
| 47 make | |
| 48 make -C hal/common/current/src/stubrom | |
| 49 powerpc-eabi-objcopy -O binary hal/common/current/src/stubrom/stubrom stubrom.bin |
