imx6: make symlinks for dtb's
authorLuka Perkov <luka@openwrt.org>
Tue, 22 Oct 2013 17:13:18 +0000 (17:13 +0000)
committerLuka Perkov <luka@openwrt.org>
Tue, 22 Oct 2013 17:13:18 +0000 (17:13 +0000)
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38496

target/linux/imx6/image/Makefile

index 169fbdc2c7d8caa575b11d5012c30801e7a21f2c..4b9625aaac7f8efc2a23908d4c4a161afa90306c 100644 (file)
@@ -41,6 +41,7 @@ define Image/InstallKernel/Template
        $(INSTALL_DIR) $(TARGET_DIR)/boot
   ifneq ($(1),)
        $(CP) $(BIN_DIR)/$(IMG_PREFIX)-$(1).dtb $(TARGET_DIR)/boot/
+       ln -sf $(IMG_PREFIX)-$(1).dtb $(TARGET_DIR)/boot/$(1)
   endif
  endif
 endef