blob: b73f9c3d0fbd2c87baae6ceb4ba27e04f826cdff [file] [log] [blame]
diff --git a/scripts/mkits.sh b/scripts/mkits.sh
index bb629d6..547a4eb 100755
--- a/scripts/mkits.sh
+++ b/scripts/mkits.sh
@@ -65,21 +65,21 @@ ARCH_UPPER=$(echo "$ARCH" | tr '[:lower:]' '[:upper:]')
# Conditionally create fdt information
if [ -n "${DTB}" ]; then
FDT_NODE="
- fdt@$FDTNUM {
+ fdt-$FDTNUM {
description = \"${ARCH_UPPER} OpenWrt ${DEVICE} device tree blob\";
data = /incbin/(\"${DTB}\");
type = \"flat_dt\";
arch = \"${ARCH}\";
compression = \"none\";
- hash@1 {
+ hash-1 {
algo = \"crc32\";
};
- hash@2 {
+ hash-2 {
algo = \"sha1\";
};
};
"
- FDT_PROP="fdt = \"fdt@$FDTNUM\";"
+ FDT_PROP="fdt = \"fdt-$FDTNUM\";"
fi
# Create a default, fully populated DTS file
@@ -90,7 +90,7 @@ DATA="/dts-v1/;
#address-cells = <1>;
images {
- kernel@1 {
+ kernel-1 {
description = \"${ARCH_UPPER} OpenWrt Linux-${VERSION}\";
data = /incbin/(\"${KERNEL}\");
type = \"kernel\";
@@ -99,10 +99,10 @@ DATA="/dts-v1/;
compression = \"${COMPRESS}\";
load = <${LOAD_ADDR}>;
entry = <${ENTRY_ADDR}>;
- hash@1 {
+ hash-1 {
algo = \"crc32\";
};
- hash@2 {
+ hash-2 {
algo = \"sha1\";
};
};
@@ -113,7 +113,7 @@ ${FDT_NODE}
default = \"${CONFIG}\";
${CONFIG} {
description = \"OpenWrt\";
- kernel = \"kernel@1\";
+ kernel = \"kernel-1\";
${FDT_PROP}
};
};
diff --git a/include/image-commands.mk b/include/image-commands.mk
index 51e7459..5a3f624 100644
--- a/include/image-commands.mk
+++ b/include/image-commands.mk
@@ -202,7 +202,7 @@ define Build/fit
$(if $(word 2,$(1)),-d $(word 2,$(1))) -C $(word 1,$(1)) \
-a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \
$(if $(DEVICE_FDT_NUM),-n $(DEVICE_FDT_NUM)) \
- -c $(if $(DEVICE_DTS_CONFIG),$(DEVICE_DTS_CONFIG),"config@1") \
+ -c $(if $(DEVICE_DTS_CONFIG),$(DEVICE_DTS_CONFIG),"config-1") \
-A $(LINUX_KARCH) -v $(LINUX_VERSION)
PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $@.its $@.new
@mv $@.new $@