Refactor copy_and_run so that it uses a single code base instead of
[coreboot.git] / src / stream / Config.lb
index 191b593b4c97147dfa3a8d1decd5c0571161bae5..89f8404f5ae54454b9641594b4cae10d83f804a4 100644 (file)
@@ -3,7 +3,10 @@ uses CONFIG_IDE_PAYLOAD
 uses CONFIG_FS_PAYLOAD
 uses CONFIG_IDE
 uses CONFIG_SERIAL_PAYLOAD
+uses CONFIG_CBFS
 
+if CONFIG_CBFS
+else
 if CONFIG_ROM_PAYLOAD
   object rom_stream.o
 end
@@ -21,3 +24,4 @@ end
 if CONFIG_SERIAL_PAYLOAD
   object serial_stream.o
 end
+end