Mercurial > ecos
annotate packages/services/objloader/current/cdl/objloader.cdl @ 2925:7cbaadc92c67
* services/objloader/current/src/objloader.c,
services/objloader/current/src/objelf.c
services/objloader/current/include/objelf.h: Fixed a memory leak where a
library section was loaded but memory allocated was not released. This
bug was reported by Davy Wouters on the eCos list. Added minor cosmetics
and a number of CYG_ASSERT and if() to test the values returned by
cyg_ldr_load_elf_section()
* services/objloader/current/cdl/objloader.cdl: Eliminate workarounds for
file path handling issue in obsolete Cygwin tclsh. Use ACTUAL_CFLAGS for
robustness.
* fs/rom/current/cdl/romfs.cdl: Eliminate workarounds for file path handling
issue in obsolete Cygwin tclsh. Build the mk_romfs tool with higher
priority than the custom rules which use it.
| author | jld |
|---|---|
| date | Fri, 09 Oct 2009 13:53:09 +0000 |
| parents | f8dd12428f1d |
| children |
| rev | line source |
|---|---|
| 2011 | 1 # ==================================================================== |
| 2 # | |
| 3 # objloader.cdl | |
| 4 # | |
| 5 # Object loader configuration data | |
| 6 # | |
| 7 # ==================================================================== | |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
8 ## ####ECOSGPLCOPYRIGHTBEGIN#### |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
9 ## ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
10 ## This file is part of eCos, the Embedded Configurable Operating System. |
|
2890
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
11 ## Copyright (C) 2005, 2008, 2009 Free Software Foundation, Inc. |
| 2011 | 12 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
13 ## eCos is free software; you can redistribute it and/or modify it under |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
14 ## the terms of the GNU General Public License as published by the Free |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
15 ## Software Foundation; either version 2 or (at your option) any later |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
16 ## version. |
| 2011 | 17 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
18 ## eCos is distributed in the hope that it will be useful, but WITHOUT |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
19 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
20 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
21 ## for more details. |
| 2011 | 22 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
23 ## You should have received a copy of the GNU General Public License |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
24 ## along with eCos; if not, write to the Free Software Foundation, Inc., |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
25 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 2011 | 26 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
27 ## As a special exception, if other files instantiate templates or use |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
28 ## macros or inline functions from this file, or you compile this file |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
29 ## and link it with other works to produce a work based on this file, |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
30 ## this file does not by itself cause the resulting work to be covered by |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
31 ## the GNU General Public License. However the source code for this file |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
32 ## must still be made available in accordance with section (3) of the GNU |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
33 ## General Public License v2. |
| 2011 | 34 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
35 ## This exception does not invalidate any other reasons why a work based |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
36 ## on this file might be covered by the GNU General Public License. |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
37 ## ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2243
diff
changeset
|
38 ## ####ECOSGPLCOPYRIGHTEND#### |
| 2011 | 39 # ==================================================================== |
| 40 ######DESCRIPTIONBEGIN#### | |
| 41 # | |
| 2243 | 42 # Author(s): Anthony Tonizzo (atonizzo@gmail.com) |
|
2013
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
43 # Contributors: Andrew Lunn |
| 2011 | 44 # Date: 2005-05-13 |
| 45 # | |
| 46 #####DESCRIPTIONEND#### | |
| 47 # | |
| 48 # ==================================================================== | |
| 49 | |
| 50 cdl_package CYGPKG_OBJLOADER { | |
| 51 display "Object file loader" | |
| 52 description "This package provides support for loading and relocating | |
| 53 object files within eCos." | |
| 54 include_dir cyg/objloader | |
|
2013
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
55 include_files elf.h objelf.h loader_fs.h relocate_ppc.h relocate_i386.h |
|
2890
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
56 include_files relocate_arm.h loader_memory.h |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
57 compile objloader.c objelf.c |
| 2011 | 58 requires CYGPKG_MEMALLOC |
| 59 # ==================================================================== | |
| 60 | |
| 61 cdl_component CYGPKG_SERVICES_OBJLOADER_ARCHITECTURE { | |
| 62 display "Architecture dependent settings" | |
| 63 flavor none | |
| 64 no_define | |
|
2013
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
65 requires CYGINT_SERVICES_OBJLOADER_RELOCATOR == 1 |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
66 |
| 2011 | 67 description "Each of the options here enables the correct |
| 68 relocation support for the architectures supported." | |
| 69 | |
|
2013
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
70 cdl_interface CYGINT_SERVICES_OBJLOADER_RELOCATOR { |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
71 display "Suitable function to perform a symbol relocation" |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
72 description " |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
73 For each architecture we need a function which relocate |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
74 a symbol. If we don't have a relocator the loader |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
75 cannot work." |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
76 } |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
77 |
| 2011 | 78 cdl_option CYGBLD_OBJLOADER_ARCHITECTURE_POWERPC { |
| 79 display "Support loading on PowerPC processors" | |
| 80 calculated CYGPKG_HAL_POWERPC | |
|
2013
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
81 implements CYGINT_SERVICES_OBJLOADER_RELOCATOR |
| 2011 | 82 define_proc { |
| 83 puts $::cdl_header "#include <cyg/objloader/relocate_ppc.h>" | |
| 84 } | |
| 85 compile relocate_ppc.c | |
| 86 } | |
| 87 | |
|
2013
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
88 cdl_option CYGBLD_OBJLOADER_ARCHITECTURE_I386 { |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
89 display "Support loading on I386 processors" |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
90 calculated CYGPKG_HAL_I386 || CYGPKG_HAL_SYNTH_I386 |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
91 implements CYGINT_SERVICES_OBJLOADER_RELOCATOR |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
92 define_proc { |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
93 puts $::cdl_header "#include <cyg/objloader/relocate_i386.h>" |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
94 } |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
95 compile relocate_i386.c |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
96 } |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
97 |
|
2890
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
98 cdl_option CYGBLD_OBJLOADER_ARCHITECTURE_ARM { |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
99 display "Support loading on ARM processors" |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
100 calculated CYGPKG_HAL_ARM |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
101 implements CYGINT_SERVICES_OBJLOADER_RELOCATOR |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
102 define_proc { |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
103 puts $::cdl_header "#include <cyg/objloader/relocate_arm.h>" |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
104 } |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
105 compile relocate_arm.c |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
106 } |
| 2011 | 107 |
| 108 } | |
| 109 | |
|
2890
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
110 cdl_component CYGOPT_SERVICES_OBJLOADER_LOADERS { |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
111 display "Loaders to compile" |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
112 flavor none |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
113 no_define |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
114 description "Options to select which types of loaders (e.g. from file |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
115 system, memory, http etc. to compile." |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
116 |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
117 cdl_option CYGOPT_SERVICES_OBJLOADER_LOADERS_FS { |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
118 display "Load module from file system" |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
119 flavor bool |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
120 default_value 1 |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
121 requires CYGPKG_IO_FILEIO |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
122 description "This option will compile the code required to load an |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
123 object library from a generic file system." |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
124 compile loader_fs.c |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
125 } |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
126 |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
127 cdl_option CYGOPT_SERVICES_OBJLOADER_LOADERS_MEMORY { |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
128 display "Load module from memory" |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
129 flavor bool |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
130 default_value 1 |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
131 description "This option will compile the module required to load an |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
132 object library from a ROM memory." |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
133 compile loader_memory.c |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
134 } |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
135 } |
|
f8dd12428f1d
* cdl/objloader.cdl, src/objelf.c, src/relocate_ppc.c,
jld
parents:
2770
diff
changeset
|
136 |
| 2011 | 137 cdl_option CYGPKG_SERVICES_OBJLOADER_DEBUG_LEVEL { |
| 138 display "Verbosity of debug output" | |
| 139 flavor data | |
| 140 legal_values 0 1 2 | |
| 141 default_value 0 | |
| 142 description "This option allows controls over the verbosity of | |
| 143 the debug output. 1 is moderate, 2 is very | |
| 144 verbose, including the symbol name of each relocation | |
| 145 performed. Any value other than 0 will prevent the | |
| 146 unloading of unused library data, thus increasing the | |
| 147 heap memory requirements of the package." | |
| 148 } | |
| 149 | |
| 150 cdl_component CYGPKG_SERVICES_OBJLOADER_OPTIONS { | |
| 151 display "Object loader build options" | |
| 152 flavor none | |
| 153 description " | |
| 154 Package specific build options including control over | |
| 155 compiler flags used only in building this package, | |
| 156 and details of which tests are built." | |
| 157 | |
| 158 | |
| 159 cdl_option CYGPKG_SERVICES_OBJLOADER_CFLAGS_ADD { | |
| 160 display "Additional compiler flags" | |
| 161 flavor data | |
| 162 no_define | |
| 163 default_value { "" } | |
| 164 description " | |
| 165 This option modifies the set of compiler flags for | |
| 166 building the serial device drivers. These flags are | |
| 167 used in addition to the set of global flags." | |
| 168 } | |
| 169 | |
| 170 cdl_option CYGPKG_SERVICES_OBJLOADER_CFLAGS_REMOVE { | |
| 171 display "Suppressed compiler flags" | |
| 172 flavor data | |
| 173 no_define | |
| 174 default_value { "" } | |
| 175 description " | |
| 176 This option modifies the set of compiler flags for | |
| 177 building the serial device drivers. These flags are | |
| 178 removed from the set of global flags if present." | |
| 179 } | |
| 180 } | |
| 181 | |
|
2013
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
182 cdl_component CYGTST_SERVICES_OBJLOADER_BUILD_TESTS { |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
183 display "Build test library" |
| 2011 | 184 default_value 0 |
|
2013
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
185 active_if CYGPKG_FS_ROM |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
186 active_if CYGINT_SERVICES_OBJLOADER_RELOCATOR |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
187 requires CYGBLD_FS_ROMFS_MK_ROMFS |
| 2011 | 188 no_define |
|
2013
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
189 description " |
| 2011 | 190 This option enables the building of a library and an |
|
2013
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
191 application for testing the loader." |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
192 |
| 2011 | 193 make -priority 320 { |
| 2925 | 194 testobj/hello.o : <PACKAGE>/tests/library/hello.c |
| 195 @mkdir -p "$(dir $@)" | |
| 196 $(CC) -c $(INCLUDE_PATH) -I$(dir $<) $(ACTUAL_CFLAGS) -o $@ $< | |
| 2011 | 197 } |
| 198 | |
|
2013
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
199 make -priority 322 { |
| 2925 | 200 <PREFIX>/include/cyg/objloader/testromfs_be.h : testobj/hello.o |
| 201 $(PREFIX)/bin/mk_romfs -b $(dir $<) testromfs_be.bin | |
| 202 @mkdir -p "$(dir $@)" | |
| 203 @tclsh $(PREFIX)/bin/file2c.tcl testromfs_be.bin $@ | |
| 2011 | 204 } |
|
2013
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
205 |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
206 make -priority 322 { |
| 2925 | 207 <PREFIX>/include/cyg/objloader/testromfs_le.h : testobj/hello.o |
| 208 $(PREFIX)/bin/mk_romfs $(dir $<) testromfs_le.bin | |
| 209 @mkdir -p "$(dir $@)" | |
| 210 @tclsh $(PREFIX)/bin/file2c.tcl testromfs_le.bin $@ | |
|
2013
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
211 } |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
212 |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
213 cdl_option CYGPKG_OBJLOADER_TESTS { |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
214 display "Objloader tests" |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
215 flavor data |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
216 no_define |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
217 calculated { "tests/test_mods" } |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
218 description " |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
219 This option specifies the set of tests for the object |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
220 loader package" |
|
8bf90d16b837
* include/objelf.h: Include hal_tables.h otherwise we get strange
asl
parents:
2011
diff
changeset
|
221 } |
| 2011 | 222 } |
| 223 } | |
| 224 | |
| 225 # ==================================================================== | |
| 226 # EOF objloader.cdl |
