- First stab at running linuxbios without the old static device tree.
[coreboot.git] / src / arch / i386 / Config.lb
1 uses CONFIG_SMP
2
3 init init/crt0.S.lb
4 ldscript init/ldscript.lb
5
6 makerule all
7         depends "linuxbios.rom"
8 end
9
10 makerule floppy 
11         depends "all" 
12         action  "mcopy -o linuxbios.rom a:"
13 end
14
15 makerule nrv2b 
16         depends "$(TOP)/util/nrv2b/nrv2b.c"
17         action  "$(HOSTCC) -O2 -DENCODE -DDECODE -DMAIN -DVERBOSE -DNDEBUG -DBITSIZE=32 -DENDIAN=0 $< -o $@"
18 end
19
20 makerule linuxbios.rom 
21         depends "linuxbios.strip buildrom" 
22         action "./buildrom $< $@ $(PAYLOAD) $(ROM_IMAGE_SIZE) $(ROM_SECTION_SIZE)"
23 end
24
25 makerule crt0.S
26         depends "$(CRT0)"
27         action  "cp $< $@"
28 end
29
30 addaction clean "rm -f romimage payload.*"
31
32 dir lib
33 dir boot
34 if CONFIG_SMP
35         dir smp
36 end