ego now builds and is used.
This needed lots of refactoring to ego --- not all platforms have ego descr files, and ego will just crash if you invoke it without one. I think originally it was never intended that these platforms would be used at -O2 or above. Plats now only specify the ego descr file if they have one.
This commit is contained in:
@@ -20,6 +20,7 @@ definerule("ackfile",
|
||||
"lang/pc/comp+pkg",
|
||||
"plat/"..plat.."+tools",
|
||||
"util/ack+pkg",
|
||||
"util/ego+pkg",
|
||||
"util/misc+pkg",
|
||||
e.deps
|
||||
},
|
||||
@@ -67,7 +68,6 @@ definerule("ackprogram",
|
||||
"plat/"..e.vars.plat.."+pkg",
|
||||
"util/ack+pkg",
|
||||
"util/led+pkg",
|
||||
"util/amisc+pkg",
|
||||
e.deps
|
||||
},
|
||||
_clibrary = acklibrary,
|
||||
|
||||
@@ -26,6 +26,7 @@ var C_LIB={PLATFORMDIR}/libc-ansi.a
|
||||
var CC_ALIGN=-Vr
|
||||
var OLD_C_LIB={C_LIB}
|
||||
var MACHOPT_F=-m10
|
||||
var EGO_PLAT_FLAGS=-M{EM}/share/ack/ego/{ARCH}.descr
|
||||
|
||||
# Override the setting in fe so that files compiled for linux386 can see
|
||||
# the platform-specific headers.
|
||||
|
||||
@@ -26,6 +26,7 @@ var C_LIB={PLATFORMDIR}/libc-ansi.a
|
||||
var CC_ALIGN=-Vr
|
||||
var OLD_C_LIB={C_LIB}
|
||||
var MACHOPT_F=-ml10
|
||||
var EGO_PLAT_FLAGS=-M{EM}/share/ack/ego/{ARCH}.descr
|
||||
|
||||
# Override the setting in fe so that files compiled for linux68k can see
|
||||
# the platform-specific headers.
|
||||
|
||||
@@ -22,6 +22,7 @@ var PLATFORMDIR={EM}/share/ack/{PLATFORM}
|
||||
var CPP_F=-D__unix
|
||||
var ALIGN=-a0:1 -a1:1 -a2:1 -a3:1
|
||||
var MACHOPT_F=-m8
|
||||
var EGO_PLAT_FLAGS=-M{EM}/share/ack/ego/{ARCH}.descr
|
||||
|
||||
# Override the setting in fe so that files compiled for this platform can see
|
||||
# the platform-specific headers.
|
||||
|
||||
Reference in New Issue
Block a user