Index: src/minsfi/trusted/build.scons |
diff --git a/src/untrusted/irt/nacl_headers.scons b/src/minsfi/trusted/build.scons |
similarity index 55% |
copy from src/untrusted/irt/nacl_headers.scons |
copy to src/minsfi/trusted/build.scons |
index 3fcd78795d12ff77bdf3b4b2657b8fdf132d0c11..054d13a38defe20b438861dac451e878df954b09 100644 |
--- a/src/untrusted/irt/nacl_headers.scons |
+++ b/src/minsfi/trusted/build.scons |
@@ -5,6 +5,11 @@ |
Import('env') |
-# Doing the following in irt/nacl.scons does not work because it would |
-# not get applied to Scons's nacl_env. |
-env.AddHeaderToSdk(['irt.h', 'irt_dev.h'], subdir=None) |
+if not env.Bit('posix') or not env.Bit('minsfi'): |
+ Return() |
+ |
+env.ComponentLibrary('minsfi_runtime', [ |
+ 'entry.c', |
+ 'loader.c', |
+ 'state.c', |
+ ]) |