Changeset b1a66fea in rtems for make/custom
- Timestamp:
- 03/11/08 20:50:58 (16 years ago)
- Branches:
- 4.10, 4.11, 4.9, 5, master
- Children:
- 3617ebe
- Parents:
- 3c769d9
- Location:
- make/custom
- Files:
-
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
make/custom/av5282.cfg
r3c769d9 rb1a66fea 26 26 $(default-bsp-post-link) 27 27 $(OBJCOPY) -O binary --strip-all \ 28 $(basename $@) $(EXEEXT)$(basename $@)$(DOWNEXT)28 $(basename $@).exe $(basename $@)$(DOWNEXT) 29 29 endef -
make/custom/bare.cfg
r3c769d9 rb1a66fea 29 29 define make-exe 30 30 @echo "*** Cannot do a link with the bare bsp. ***" 31 @echo "#!/bin/sh" > $(basename $@) $(EXEEXT)32 @echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@) $(EXEEXT)31 @echo "#!/bin/sh" > $(basename $@).exe 32 @echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@).exe 33 33 endef 34 34 35 35 define make-cxx-exe 36 36 @echo "*** Cannot do a link with the bare bsp. ***" 37 @echo "#!/bin/sh" > $(basename $@) $(EXEEXT)38 @echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@) $(EXEEXT)37 @echo "#!/bin/sh" > $(basename $@).exe 38 @echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@).exe 39 39 endef 40 40 -
make/custom/default.cfg
r3c769d9 rb1a66fea 20 20 # Base name of start file 21 21 START_BASE=start 22 23 ## what to do about $(EXEEXT) --> $(EXEEXT)24 ## -o $(basename $@)$(EXEEXT) OR25 ## -o $(basename $@)$(EXEEXT) OR26 27 EXEEXT=.exe28 DOWNEXT=.ralf29 30 define bsp-link-c31 $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \32 -o $(basename $@)$(EXEEXT) $(LINK_OBJS) $(LINK_LIBS)33 endef34 35 define bsp-link-cxx36 $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \37 -o $(basename $@)$(EXEEXT) $(LINK_OBJS) $(LINK_LIBS)38 endef39 40 define default-bsp-post-link41 $(NM) -g -n $@ > $(basename $@).num42 $(SIZE) $@43 endef44 45 define bsp-post-link46 $(default-bsp-post-link)47 cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)48 endef49 50 define make-exe51 $(bsp-link-c)52 $(bsp-post-link)53 endef54 55 define make-cxx-exe56 $(bsp-link-cxx)57 $(bsp-post-link)58 endef -
make/custom/gba.cfg
r3c769d9 rb1a66fea 26 26 $(OBJCOPY) -O binary --remove-section=.comment \ 27 27 --remove-section=.note --strip-unneeded \ 28 $(basename $@) $(EXEEXT)$(basename $@)$(DOWNEXT)28 $(basename $@).exe $(basename $@)$(DOWNEXT) 29 29 $(default-bsp-post-link) 30 30 endef -
make/custom/gp32.cfg
r3c769d9 rb1a66fea 22 22 23 23 define bsp-post-link 24 $(OBJCOPY) -O binary $(basename $@) $(EXEEXT)$(basename $@)$(DOWNEXT)24 $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT) 25 25 $(default-bsp-post-link) 26 26 endef -
make/custom/i386ex.cfg
r3c769d9 rb1a66fea 22 22 23 23 define bsp-post-link 24 $(OBJCOPY) -O srec $(basename $@) $(EXEEXT)$(basename $@).srec24 $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec 25 25 sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \ 26 26 $(PACKHEX) > $(basename $@)$(DOWNEXT) -
make/custom/idp.cfg
r3c769d9 rb1a66fea 22 22 23 23 define bsp-post-link 24 $(OBJCOPY) -O srec $(basename $@) $(EXEEXT)$(basename $@).srec24 $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec 25 25 sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \ 26 26 $(PACKHEX) > $(basename $@)$(DOWNEXT) -
make/custom/mbx8xx.cfg
r3c769d9 rb1a66fea 55 55 56 56 define bsp-post-link 57 cp $(basename $@) $(EXEEXT)$(basename $@)$(DOWNEXT)57 cp $(basename $@).exe $(basename $@)$(DOWNEXT) 58 58 $(STRIP) $(basename $@)$(DOWNEXT) 59 59 $(default-bsp-post-link) -
make/custom/mcf5235.cfg
r3c769d9 rb1a66fea 32 32 define bsp-post-link 33 33 $(OBJCOPY) -O binary --strip-all \ 34 $(basename $@) $(EXEEXT)$(basename $@)$(DOWNEXT)35 $(SIZE) $(basename $@) $(EXEEXT)34 $(basename $@).exe $(basename $@)$(DOWNEXT) 35 $(SIZE) $(basename $@).exe 36 36 endef -
make/custom/mcp750.cfg
r3c769d9 rb1a66fea 23 23 define bsp-post-link 24 24 $(default-bsp-post-link) 25 $(OBJCOPY) -O binary -R .comment -S $(basename $@) $(EXEEXT)rtems25 $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe rtems 26 26 gzip -vf9 rtems 27 27 $(LD) -o $(basename $@)$(DOWNEXT) \ 28 28 $ $(PROJECT_RELEASE)/lib/bootloader.o \ 29 --just-symbols=$(basename $@) $(EXEEXT)\29 --just-symbols=$(basename $@).exe \ 30 30 -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ 31 31 -Map $(basename $@).map && chmod 755 $@ -
make/custom/mrm332.cfg
r3c769d9 rb1a66fea 37 37 /\.text/ { base = $$4 ; size = $$3 };\ 38 38 END { printf("0x%x", h2d(base) + h2d(size)) }'\ 39 ` $(basename $@).pxe $(basename $@) $(EXEEXT)40 $(OBJCOPY) -O srec $(basename $@) $(EXEEXT)$(basename $@).srec39 ` $(basename $@).pxe $(basename $@).exe 40 $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec 41 41 sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \ 42 42 $(PACKHEX) > $(basename $@)$(DOWNEXT) … … 47 47 else 48 48 define bsp-post-link 49 $(OBJCOPY) -O srec $(basename $@) $(EXEEXT)$(basename $@).srec49 $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec 50 50 sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \ 51 51 $(PACKHEX) > $(basename $@)$(DOWNEXT) -
make/custom/mtx603e.cfg
r3c769d9 rb1a66fea 22 22 define bsp-post-link 23 23 $(default-bsp-post-link) 24 $(OBJCOPY) -O binary -R .comment -S $(basename $@) $(EXEEXT)rtems24 $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe rtems 25 25 gzip -vf9 rtems 26 26 $(LD) -o $(basename $@)$(DOWNEXT) \ 27 27 $(PROJECT_RELEASE)/lib/bootloader.o \ 28 --just-symbols=$(basename $@) $(EXEEXT)\28 --just-symbols=$(basename $@).exe \ 29 29 -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ 30 30 -Map $(basename $@).map && chmod 755 $@ -
make/custom/mvme136.cfg
r3c769d9 rb1a66fea 23 23 24 24 define bsp-post-link 25 $(OBJCOPY) -O srec $(basename $@) $(EXEEXT)$(basename $@).srec25 $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec 26 26 sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \ 27 27 $(PACKHEX) > $(basename $@)$(DOWNEXT) -
make/custom/mvme147.cfg
r3c769d9 rb1a66fea 21 21 22 22 define bsp-post-link 23 $(OBJCOPY) -O srec $(basename $@) $(EXEEXT)$(basename $@).srec23 $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec 24 24 sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \ 25 25 $(PACKHEX) > $(basename $@)$(DOWNEXT) -
make/custom/mvme162.cfg
r3c769d9 rb1a66fea 26 26 define bsp-post-link 27 27 $(default-bsp-post-link) 28 $(OBJCOPY) -O binary $(basename $@) $(EXEEXT)$(basename $@)$(DOWNEXT)28 $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT) 29 29 endef 30 30 -
make/custom/mvme162lx.cfg
r3c769d9 rb1a66fea 32 32 define bsp-post-link 33 33 $(default-bsp-post-link) 34 $(OBJCOPY) -O binary $(basename $@) $(EXEEXT)$(basename $@)$(DOWNEXT)34 $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT) 35 35 endef 36 36 -
make/custom/mvme167.cfg
r3c769d9 rb1a66fea 43 43 define bsp-post-link 44 44 $(default-bsp-post-link) 45 cp $(basename $@) $(EXEEXT)$(basename $@)$(DOWNEXT)45 cp $(basename $@).exe $(basename $@)$(DOWNEXT) 46 46 $(STRIP) $(basename $@)$(DOWNEXT) 47 47 endef -
make/custom/mvme2100.cfg
r3c769d9 rb1a66fea 22 22 define bsp-post-link 23 23 $(default-bsp-post-link) 24 $(OBJCOPY) -O binary -R .comment -S $(basename $@) $(EXEEXT)rtems24 $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe rtems 25 25 gzip -vf9 rtems 26 26 $(LD) -o $(basename $@)$(DOWNEXT) \ 27 27 $(PROJECT_RELEASE)/lib/bootloader.o \ 28 --just-symbols=$(basename $@) $(EXEEXT)\28 --just-symbols=$(basename $@).exe \ 29 29 -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ 30 30 -Map $(basename $@).map && chmod 755 $@ -
make/custom/mvme2307.cfg
r3c769d9 rb1a66fea 23 23 define bsp-post-link 24 24 $(default-bsp-post-link) 25 $(OBJCOPY) -O binary -R .comment -S $(basename $@) $(EXEEXT)rtems25 $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe rtems 26 26 gzip -vf9 rtems 27 27 $(LD) -o $(basename $@)$(DOWNEXT) $(PROJECT_RELEASE)/lib/bootloader.o \ 28 --just-symbols=$(basename $@) $(EXEEXT)\28 --just-symbols=$(basename $@).exe \ 29 29 -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ 30 30 -Map $(basename $@).map && chmod 755 $@ -
make/custom/mvme3100.cfg
r3c769d9 rb1a66fea 31 31 define bsp-post-link 32 32 $(default-bsp-post-link) 33 $(OBJCOPY) -O binary $(basename $@) $(EXEEXT)$(basename $@)$(DOWNEXT)33 $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT) 34 34 endef 35 35 -
make/custom/mvme5500.cfg
r3c769d9 rb1a66fea 25 25 define bsp-post-link 26 26 $(default-bsp-post-link) 27 $(OBJCOPY) -O binary $(basename $@) $(EXEEXT)$(basename $@)$(DOWNEXT)27 $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT) 28 28 endef 29 29 -
make/custom/nios2_iss.cfg
r3c769d9 rb1a66fea 25 25 26 26 define bsp-post-link 27 $(OBJCOPY) -O binary --strip-all $(basename $@) $(EXEEXT)\27 $(OBJCOPY) -O binary --strip-all $(basename $@).exe \ 28 28 -R entry -R exceptions $(basename $@)$(DOWNEXT) 29 29 $(default-bsp-post-link) -
make/custom/pc386.cfg
r3c769d9 rb1a66fea 24 24 CFLAGS_OPTIMIZE_V = -O2 -g 25 25 26 # Here is the rule to actually build a $(ARCH)/foo $(EXEEXT)26 # Here is the rule to actually build a $(ARCH)/foo.exe 27 27 # It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm 28 28 # Usage ref: src/tests/sptest/sp1/Makefile … … 51 51 --remove-section=.comment \ 52 52 --remove-section=.note \ 53 --strip-unneeded $(basename $@) $(EXEEXT)$(basename $@).nxe53 --strip-unneeded $(basename $@).exe $(basename $@).nxe 54 54 $(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).bin 55 55 $(PROJECT_TOOLS)/bin2boot -v $(basename $@)$(DOWNEXT) $(HEADERADDR)\ -
make/custom/posix.cfg
r3c769d9 rb1a66fea 18 18 START_BASE= 19 19 20 # Here is the rule to actually build a $(ARCH)/foo $(EXEEXT)20 # Here is the rule to actually build a $(ARCH)/foo.exe 21 21 # It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm 22 22 # Usage ref: src/tests/sptest/sp1/Makefile -
make/custom/score603e.cfg
r3c769d9 rb1a66fea 28 28 define bsp-post-link 29 29 $(default-bsp-post-link) 30 $(OBJCOPY) -O srec $(basename $@) $(EXEEXT)$(basename $@).s130 $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).s1 31 31 sed -e 's/.$$//' $(basename $@).s1 | \ 32 32 $(PACKHEX) >$(basename $@)$(DOWNEXT) -
make/custom/sim68000.cfg
r3c769d9 rb1a66fea 22 22 define bsp-post-link 23 23 $(default-bsp-post-link) 24 $(OBJCOPY) -O srec $(basename $@) $(EXEEXT)$(basename $@)$(DOWNEXT)24 $(OBJCOPY) -O srec $(basename $@).exe $(basename $@)$(DOWNEXT) 25 25 endef -
make/custom/simcpu32.cfg
r3c769d9 rb1a66fea 22 22 define bsp-post-link 23 23 $(default-bsp-post-link) 24 $(OBJCOPY) -O srec $(basename $@) $(EXEEXT)$(basename $@)$(DOWNEXT)24 $(OBJCOPY) -O srec $(basename $@).exe $(basename $@)$(DOWNEXT) 25 25 endef -
make/custom/ss555.cfg
r3c769d9 rb1a66fea 30 30 define bsp-post-link 31 31 $(default-bsp-post-link) 32 cp $(basename $@) $(EXEEXT)$(basename $@)$(DOWNEXT)32 cp $(basename $@).exe $(basename $@)$(DOWNEXT) 33 33 $(STRIP) $(basename $@)$(DOWNEXT) 34 34 endef -
make/custom/ts_386ex.cfg
r3c769d9 rb1a66fea 24 24 define bsp-post-link 25 25 $(default-bsp-post-link) 26 $(OBJCOPY) -O binary $(basename $@) $(EXEEXT)$(basename $@)$(DOWNEXT)26 $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT) 27 27 endef -
make/custom/uC5282.cfg
r3c769d9 rb1a66fea 20 20 define bsp-post-link 21 21 $(default-bsp-post-link) 22 $(OBJCOPY) -O binary $(basename $@) $(EXEEXT)$(basename $@)$(DOWNEXT)22 $(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT) 23 23 endef -
make/custom/virtex.cfg
r3c769d9 rb1a66fea 28 28 define bsp-post-link 29 29 $(default-bsp-post-link) 30 $(OBJCOPY) -O srec $(basename $@) $(EXEEXT)$(basename $@)$(DOWNEXT)30 $(OBJCOPY) -O srec $(basename $@).exe $(basename $@)$(DOWNEXT) 31 31 endef
Note: See TracChangeset
for help on using the changeset viewer.