]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - scripts/Makefile.lib
fdt: print error messages with 'printf' rather than 'debug'
[karo-tx-uboot.git] / scripts / Makefile.lib
index e720562623c9332325f2768169d7bad0f8fc203a..45a0e1d486c0f50d8c8948b99257ca46046d6b53 100644 (file)
@@ -275,11 +275,11 @@ cmd_dt_S_dtb=                                             \
 (                                                      \
        echo '.section .dtb.init.rodata,"a"';           \
        echo '.balign 16';                              \
-       echo '.global __dtb_$(*F)_begin';               \
-       echo '__dtb_$(*F)_begin:';                      \
+       echo '.global __dtb_$(subst -,_,$(*F))_begin';  \
+       echo '__dtb_$(subst -,_,$(*F))_begin:';         \
        echo '.incbin "$<" ';                           \
-       echo '__dtb_$(*F)_end:';                        \
-       echo '.global __dtb_$(*F)_end';                 \
+       echo '__dtb_$(subst -,_,$(*F))_end:';           \
+       echo '.global __dtb_$(subst -,_,$(*F))_end';    \
        echo '.balign 16';                              \
 ) > $@