]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/bcm/mkfile
merge
[plan9front.git] / sys / src / 9 / bcm / mkfile
index a9673a7ce0abb88786402808888ebc668627cffb..eb7cad035d1c40d97334992c602899348e8d3123 100644 (file)
@@ -45,6 +45,7 @@ OBJ=\
        lexception.$O\
        lproc.$O\
        arch.$O\
+       bootargs.$O\
        clock.$O\
        fpi.$O\
        fpiarm.$O\
@@ -111,6 +112,7 @@ armv7.$O: cache.v7.s
 main.$O: errstr.h init.h reboot.h
 devmouse.$O mouse.$O screen.$O: screen.h
 usbdwc.$O: dwcotg.h ../port/usb.h
+arch.$O archbcm.$O archbcm2.$O clock.$O coproc.$O fpiarn.$O mmu.$O trap.$O vfp3.$O: arm.h mem.h
 
 init.h:D:      ../port/initcode.c init9.s
        $CC ../port/initcode.c
@@ -123,8 +125,8 @@ init.h:D:   ../port/initcode.c init9.s
 
 reboot.h:D:    rebootcode.s arm.s arm.h mem.h
        $AS rebootcode.s
-       # -lc is only for memmove.  -T arg is PADDR(REBOOTADDR)
-       $LD -l -s -T0x1800 -R4 -o reboot.out rebootcode.$O -lc
+       # -T arg is REBOOTADDR
+       $LD -l -s -T0x1c00 -R4 -o reboot.out rebootcode.$O
        {echo 'uchar rebootcode[]={'
         xd -1x reboot.out |
                sed -e '1,2d' -e 's/^[0-9a-f]+ //' -e 's/ ([0-9a-f][0-9a-f])/0x\1,/g'