ipq40xx: add support for the ZyXEL NBG6617
[openwrt/staging/chunkeey.git] / package / boot / uboot-oxnas / Makefile
index 32ee107e7bed4f77ddc64c8e29ca8e2802a0e3f1..daa266ea8cd5f19a93f35a1f79be775b1c6db085 100644 (file)
@@ -29,8 +29,8 @@ endef
 UBOOT_TARGETS:=ox820
 
 define Build/InstallDev
-       $(CP) $(PKG_BUILD_DIR)/u-boot.bin \
-               $(KERNEL_BUILD_DIR)/u-boot.bin
+       $(INSTALL_DIR) $(STAGING_DIR_IMAGE)
+       $(CP) $(PKG_BUILD_DIR)/u-boot.bin $(STAGING_DIR_IMAGE)/u-boot.bin
 endef
 
 $(eval $(call BuildPackage/U-Boot))