ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
29 lines
660 B
Plaintext
29 lines
660 B
Plaintext
if { ! [istarget nios2-*-*] } {
|
|
return
|
|
}
|
|
|
|
foreach test [lsort [glob -nocomplain $srcdir/$subdir/*.d]] {
|
|
run_dump_test [file rootname $test]
|
|
}
|
|
|
|
set test_name "NIOS2 Mixed R1 and R2 objects"
|
|
set test mixed1
|
|
|
|
if ![ld_assemble $as "-march=r1 $srcdir/$subdir/${test}a.s" tmpdir/${test}a.o] {
|
|
fail "Build mixed1a.o"
|
|
return
|
|
}
|
|
|
|
if ![ld_assemble $as "-march=r2 $srcdir/$subdir/${test}b.s" tmpdir/${test}b.o] {
|
|
fail "Build mixed1b.o"
|
|
return
|
|
}
|
|
|
|
if { ![ld_link $ld tmpdir/$test "tmpdir/${test}a.o tmpdir/${test}b.o"] } {
|
|
if [string match "*architecture * is incompatible*" $link_output] {
|
|
pass "$test_name"
|
|
} {
|
|
fail "$test_name"
|
|
}
|
|
}
|