Make ralink compile again.

Add std.ralink to define common things across all ralink configs.
Add cpu, machine and options INTRNG to this file.
Remove RT1310.hints file reference: that file isn't in our tree.
This commit is contained in:
imp 2018-07-27 18:31:30 +00:00
parent e572e5e488
commit 63398019f7
3 changed files with 7 additions and 2 deletions

View File

@ -8,7 +8,7 @@
ident RT1310
include "std.arm"
hints "RT1310.hints"
include "../ralink/std.ralink"
# Flattened Device Tree
options FDT

View File

@ -140,7 +140,7 @@ rt1310_intc_probe(device_t dev)
if (!ofw_bus_status_okay(dev))
return (ENXIO);
if (!ofw_bus_is_compatible(dev, "rt,pic"))
if (!ofw_bus_is_compatible_strict(dev, "rt,pic"))
return (ENXIO);
#ifdef INTRNG

View File

@ -0,0 +1,5 @@
# $FreeBSD$
files "../ralink/files.ralink"
cpu CPU_ARM9
machine arm
options INTRNG