[OpenWrt-Devel,1/2] uboot-oxnas: install u-boot.bin also to KERNEL_BUILD_DIR
diff mbox

Message ID 20141212002352.GA16178@makrotopia.org
State Accepted
Delegated to: John Crispin
Headers show

Commit Message

Daniel Golle Dec. 12, 2014, 12:23 a.m. UTC
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
---
 package/boot/uboot-oxnas/Makefile | 2 ++
 1 file changed, 2 insertions(+)

Patch
diff mbox

diff --git a/package/boot/uboot-oxnas/Makefile b/package/boot/uboot-oxnas/Makefile
index e233943..825907b 100644
--- a/package/boot/uboot-oxnas/Makefile
+++ b/package/boot/uboot-oxnas/Makefile
@@ -82,6 +82,8 @@  define Package/uboot/install/default
 	$(INSTALL_DIR) $(BIN_DIR)
 	$(CP) $(PKG_BUILD_DIR)/u-boot.bin \
 		$(BIN_DIR)/openwrt-$(BOARD)-$(1)-u-boot.bin
+	$(CP) $(PKG_BUILD_DIR)/u-boot.bin \
+		$(KERNEL_BUILD_DIR)/u-boot.bin
 endef
 
 define Package/uboot/install/template