浏览代码

Disable some packages for avr-embedded and i8086-embedded targets

git-svn-id: trunk@41122 -
pierre 6 年之前
父节点
当前提交
94d71c0d35
共有 3 个文件被更改,包括 9 次插入0 次删除
  1. 3 0
      utils/fprcp/fpmake.pp
  2. 3 0
      utils/h2pas/fpmake.pp
  3. 3 0
      utils/tply/fpmake.pp

+ 3 - 0
utils/fprcp/fpmake.pp

@@ -25,6 +25,9 @@ begin
     P.OSes := P.OSes - [palmos];
     P.OSes := P.OSes - [palmos];
     { Program does not fit in 16-bit memory constraints }
     { Program does not fit in 16-bit memory constraints }
     P.OSes := P.OSes - [msdos,win16];
     P.OSes := P.OSes - [msdos,win16];
+    { avr-embedded and i8086-embedded have not floating point support by default }
+    if Defaults.CPU in [avr,i8086] then
+      P.OSes := P.OSes - [embedded];
 
 
     P.Author := '<various>';
     P.Author := '<various>';
     P.License := 'LGPL with modification';
     P.License := 'LGPL with modification';

+ 3 - 0
utils/h2pas/fpmake.pp

@@ -24,6 +24,9 @@ begin
     P.OSes := P.OSes - [palmos];
     P.OSes := P.OSes - [palmos];
     { Program does not fit in 16-bit memory constraints }
     { Program does not fit in 16-bit memory constraints }
     P.OSes := P.OSes - [msdos,win16];
     P.OSes := P.OSes - [msdos,win16];
+    { avr-embedded and i8086-embedded do not support all needed features by default }
+    if Defaults.CPU in [avr,i8086] then
+      P.OSes := P.OSes - [embedded];
 
 
     P.Author := '<various>';
     P.Author := '<various>';
     P.License := 'LGPL with modification';
     P.License := 'LGPL with modification';

+ 3 - 0
utils/tply/fpmake.pp

@@ -25,6 +25,9 @@ begin
     P.OSes := P.OSes - [palmos];
     P.OSes := P.OSes - [palmos];
     { Program does not fit in 16-bit memory constraints }
     { Program does not fit in 16-bit memory constraints }
     P.OSes := P.OSes - [msdos,win16];
     P.OSes := P.OSes - [msdos,win16];
+    { avr-embedded and i8086-embedded do not meet needed requirements }
+    if Defaults.CPU in [avr,i8086] then
+      P.OSes := P.OSes - [embedded];
 
 
     P.Author := '<various>';
     P.Author := '<various>';
     P.License := 'LGPL with modification';
     P.License := 'LGPL with modification';