comparison packages/devs/flash/intel/bootblock/current/cdl/flash_intel_bootblock.cdl @ 136:a9ac27ec7abc ecos-sw-2000-11-17

Merge from eCos master repository on 2000-11-17-18:24:25-GMT
author jlarmour
date Fri, 17 Nov 2000 23:16:43 +0000
parents
children 0d0f03f76f6a
comparison
equal deleted inserted replaced
135:3bc2abeae9ff 136:a9ac27ec7abc
1 # ====================================================================
2 #
3 # flash_bootblock.cdl
4 #
5 # FLASH memory - Hardware support for Intel Boot Block Flash Memory
6 #
7 # ====================================================================
8 #####COPYRIGHTBEGIN####
9 #
10 # -------------------------------------------
11 # The contents of this file are subject to the Red Hat eCos Public License
12 # Version 1.1 (the "License"); you may not use this file except in
13 # compliance with the License. You may obtain a copy of the License at
14 # http://www.redhat.com/
15 #
16 # Software distributed under the License is distributed on an "AS IS"
17 # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
18 # License for the specific language governing rights and limitations under
19 # the License.
20 #
21 # The Original Code is eCos - Embedded Configurable Operating System,
22 # released September 30, 1998.
23 #
24 # The Initial Developer of the Original Code is Red Hat.
25 # Portions created by Red Hat are
26 # Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
27 # All Rights Reserved.
28 # -------------------------------------------
29 #
30 #####COPYRIGHTEND####
31 # ====================================================================
32 ######DESCRIPTIONBEGIN####
33 #
34 # Author(s): gthomas
35 # Contributors: jskov
36 # Date: 2000-07-26
37 #
38 #####DESCRIPTIONEND####
39 #
40 # ====================================================================
41
42 cdl_package CYGPKG_DEVS_FLASH_INTEL_BOOTBLOCK {
43 display "Intel boot block flash memory support"
44
45 parent CYGPKG_IO_FLASH
46 active_if CYGPKG_IO_FLASH
47
48 implements CYGHWR_IO_FLASH_DEVICE
49
50 include_dir .
51 include_files ; # none _exported_ whatsoever
52 description "FLASH memory device support for Intel boot block flash memory"
53 compile bootblock_flash.c
54
55 make -priority 1 {
56 flash_erase_block.o: $(REPOSITORY)/$(PACKAGE)/src/flash_erase_block.c
57 $(CC) -S $(INCLUDE_PATH) $(CFLAGS) -g0 -mcpu=strongarm -fno-function-sections $(REPOSITORY)/$(PACKAGE)/src/flash_erase_block.c
58 echo "#include <cyg/hal/arch.inc>" > flash_erase_block2.S
59 cat flash_erase_block.s >> flash_erase_block2.S
60 echo "FUNC_END(flash_erase_block_end)" >>flash_erase_block2.S
61 $(CC) -c $(INCLUDE_PATH) -o flash_erase_block.o flash_erase_block2.S
62 $(AR) rcs $(PREFIX)/lib/libtarget.a flash_erase_block.o
63 }
64 make -priority 1 {
65 flash_program_buf.o: $(REPOSITORY)/$(PACKAGE)/src/flash_program_buf.c
66 $(CC) -S $(INCLUDE_PATH) $(CFLAGS) -g0 -mcpu=strongarm -fno-function-sections $(REPOSITORY)/$(PACKAGE)/src/flash_program_buf.c
67 echo "#include <cyg/hal/arch.inc>" > flash_program_buf2.S
68 cat flash_program_buf.s >> flash_program_buf2.S
69 echo "FUNC_END(flash_program_buf_end)" >>flash_program_buf2.S
70 $(CC) -c $(INCLUDE_PATH) -o flash_program_buf.o flash_program_buf2.S
71 $(AR) rcs $(PREFIX)/lib/libtarget.a flash_program_buf.o
72 }
73 make -priority 1 {
74 flash_query.o: $(REPOSITORY)/$(PACKAGE)/src/flash_query.c
75 $(CC) -S $(INCLUDE_PATH) $(CFLAGS) -g0 -mcpu=strongarm -fno-function-sections $(REPOSITORY)/$(PACKAGE)/src/flash_query.c
76 echo "#include <cyg/hal/arch.inc>" > flash_query2.S
77 cat flash_query.s >> flash_query2.S
78 echo "FUNC_END(flash_query_end)" >>flash_query2.S
79 $(CC) -c $(INCLUDE_PATH) -o flash_query.o flash_query2.S
80 $(AR) rcs $(PREFIX)/lib/libtarget.a flash_query.o
81 }
82 }