|
@@ -59,7 +59,7 @@ ARCH_UPPER=`echo $ARCH | tr '[:lower:]' '[:upper:]'`
|
|
|
|
|
|
# Conditionally create fdt information
|
|
|
if [ -n "${DTB}" ]; then
|
|
|
- FDT="
|
|
|
+ FDT_NODE="
|
|
|
fdt@1 {
|
|
|
description = \"${ARCH_UPPER} libreCMC ${DEVICE} device tree blob\";
|
|
|
data = /incbin/(\"${DTB}\");
|
|
@@ -74,6 +74,7 @@ if [ -n "${DTB}" ]; then
|
|
|
};
|
|
|
};
|
|
|
"
|
|
|
+ FDT_PROP="fdt = \"fdt@1\";"
|
|
|
fi
|
|
|
|
|
|
# Create a default, fully populated DTS file
|
|
@@ -100,9 +101,7 @@ DATA="/dts-v1/;
|
|
|
algo = \"sha1\";
|
|
|
};
|
|
|
};
|
|
|
-
|
|
|
-${FDT}
|
|
|
-
|
|
|
+${FDT_NODE}
|
|
|
};
|
|
|
|
|
|
configurations {
|
|
@@ -110,7 +109,7 @@ ${FDT}
|
|
|
${CONFIG} {
|
|
|
description = \"libreCMC\";
|
|
|
kernel = \"kernel@1\";
|
|
|
- fdt = \"fdt@1\";
|
|
|
+ ${FDT_PROP}
|
|
|
};
|
|
|
};
|
|
|
};"
|