Mercurial > ecos-v3_0-branch
comparison packages/fs/rom/current/cdl/romfs.cdl @ 2770:35f991d79d4c
* devs/framebuf/synth/current/cdl/framebuf_synth.cdl,
fs/rom/current/cdl/romfs.cdl,
io/framebuf/current/cdl/framebuf.cdl,
services/objloader/current/cdl/objloader.cdl: Pass Tcl scripts to tclsh
directly.
* hal/synth/arch/current/cdl/hal_synth.cdl: Reparent for consistency.
| author | jld |
|---|---|
| date | Sat, 07 Feb 2009 15:43:10 +0000 |
| parents | 74dbf4c3f2e1 |
| children |
comparison
equal
deleted
inserted
replaced
| 2769:ef659b3b6980 | 2770:35f991d79d4c |
|---|---|
| 6 # | 6 # |
| 7 # ==================================================================== | 7 # ==================================================================== |
| 8 ## ####ECOSGPLCOPYRIGHTBEGIN#### | 8 ## ####ECOSGPLCOPYRIGHTBEGIN#### |
| 9 ## ------------------------------------------- | 9 ## ------------------------------------------- |
| 10 ## This file is part of eCos, the Embedded Configurable Operating System. | 10 ## This file is part of eCos, the Embedded Configurable Operating System. |
| 11 ## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc. | 11 ## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2009 Free Software Foundation, Inc. |
| 12 ## | 12 ## |
| 13 ## eCos is free software; you can redistribute it and/or modify it under | 13 ## eCos is free software; you can redistribute it and/or modify it under |
| 14 ## the terms of the GNU General Public License as published by the Free | 14 ## the terms of the GNU General Public License as published by the Free |
| 15 ## Software Foundation; either version 2 or (at your option) any later | 15 ## Software Foundation; either version 2 or (at your option) any later |
| 16 ## version. | 16 ## version. |
| 109 requires CYGBLD_FS_ROMFS_MK_ROMFS | 109 requires CYGBLD_FS_ROMFS_MK_ROMFS |
| 110 description " | 110 description " |
| 111 This option enables the building of the ROM filesystem tests." | 111 This option enables the building of the ROM filesystem tests." |
| 112 | 112 |
| 113 make -priority 100 { | 113 make -priority 100 { |
| 114 <PREFIX>/include/cyg/romfs/testromfs_le.h : $(PREFIX)/bin/mk_romfs <PACKAGE>/support/file2c.tcl | 114 <PREFIX>/include/cyg/romfs/testromfs_le.h : <PREFIX>/bin/mk_romfs <PACKAGE>/support/file2c.tcl |
| 115 $(PREFIX)/bin/mk_romfs $(REPOSITORY)/$(PACKAGE)/tests/testromfs testromfs_le.bin | 115 $(PREFIX)/bin/mk_romfs $(REPOSITORY)/$(PACKAGE)/tests/testromfs testromfs_le.bin |
| 116 @mkdir -p "$(dir $@)" | 116 @mkdir -p "$(dir $@)" |
| 117 # work around cygwin path problems by copying to build dir | 117 # work around cygwin path problems by copying to build dir |
| 118 @cp $(REPOSITORY)/$(PACKAGE)/support/file2c.tcl . | 118 @cp $(REPOSITORY)/$(PACKAGE)/support/file2c.tcl . |
| 119 sh file2c.tcl testromfs_le.bin testromfs_le.h | 119 tclsh file2c.tcl testromfs_le.bin testromfs_le.h |
| 120 @rm -f $@ file2c.tcl | 120 @rm -f $@ file2c.tcl |
| 121 @cp testromfs_le.h $@ | 121 @cp testromfs_le.h $@ |
| 122 } | 122 } |
| 123 | 123 |
| 124 make -priority 100 { | 124 make -priority 100 { |
| 125 <PREFIX>/include/cyg/romfs/testromfs_be.h : $(PREFIX)/bin/mk_romfs <PACKAGE>/support/file2c.tcl | 125 <PREFIX>/include/cyg/romfs/testromfs_be.h : <PREFIX>/bin/mk_romfs <PACKAGE>/support/file2c.tcl |
| 126 $(PREFIX)/bin/mk_romfs -b $(REPOSITORY)/$(PACKAGE)/tests/testromfs testromfs_be.bin | 126 $(PREFIX)/bin/mk_romfs -b $(REPOSITORY)/$(PACKAGE)/tests/testromfs testromfs_be.bin |
| 127 @mkdir -p "$(dir $@)" | 127 @mkdir -p "$(dir $@)" |
| 128 # work around cygwin path problems by copying to bin dir | 128 # work around cygwin path problems by copying to bin dir |
| 129 @cp $(REPOSITORY)/$(PACKAGE)/support/file2c.tcl $(PREFIX)/bin/ | 129 @cp $(REPOSITORY)/$(PACKAGE)/support/file2c.tcl $(PREFIX)/bin/ |
| 130 sh $(PREFIX)/bin/file2c.tcl testromfs_be.bin testromfs_be.h | 130 tclsh $(PREFIX)/bin/file2c.tcl testromfs_be.bin testromfs_be.h |
| 131 @cp testromfs_be.h $@ | 131 @cp testromfs_be.h $@ |
| 132 } | 132 } |
| 133 | 133 |
| 134 cdl_option CYGPKG_FS_ROM_TESTS { | 134 cdl_option CYGPKG_FS_ROM_TESTS { |
| 135 display "ROM filesystem tests" | 135 display "ROM filesystem tests" |
