diff options
Diffstat (limited to 'c/src/lib/libbsp/m68k/efi332')
-rw-r--r-- | c/src/lib/libbsp/m68k/efi332/bsp_specs | 42 |
1 files changed, 13 insertions, 29 deletions
diff --git a/c/src/lib/libbsp/m68k/efi332/bsp_specs b/c/src/lib/libbsp/m68k/efi332/bsp_specs index 5ba97705d5..fd0a4e11eb 100644 --- a/c/src/lib/libbsp/m68k/efi332/bsp_specs +++ b/c/src/lib/libbsp/m68k/efi332/bsp_specs @@ -1,34 +1,18 @@ +%rename cpp old_cpp +%rename lib old_lib +%rename endfile old_endfile +%rename startfile old_startfile +%rename link old_link -predefines: --D__embedded__ -Asystem(embedded) +*cpp: +%(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded) -startfile: replace -mrtems: -pg: start332.o%s -{!pg: -g: start332.o%s -{!g: -p: start332.o%s -!p: start332.o%s -}} -{!mrtems: -pg: pgcrt0%O -{!pg: -g: gcrt0%O -{!g: -p: pcrt0%O -!p: crt0%O -}}} - - -link: replace -mrtems: -dc -dp -N -T linkcmds%s -e start - -lib: replace -mrtems: -( -lc -lrtemsall -lgcc -) - - -libgcc: replace +*lib: +%{!qrtems: %(old_lib)} %{qrtems: --start-group -lc -lrtemsall -lgcc --end-group} +*startfile: +%{!qrtems: %(old_startfile)} %{qrtems: start332.o%s} +*link: +%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -T linkcmds%s -e start} |