aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/magicbox/image/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/magicbox/image/Makefile')
-rw-r--r--target/linux/magicbox/image/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/magicbox/image/Makefile b/target/linux/magicbox/image/Makefile
index f99590f1ea..edae68a266 100644
--- a/target/linux/magicbox/image/Makefile
+++ b/target/linux/magicbox/image/Makefile
@@ -12,7 +12,7 @@ define Image/Prepare
endef
define Image/BuildKernel
- cp $(KDIR)/uImage $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-uImage
+ cp $(KDIR)/uImage $(BIN_DIR)/openwrt-$(BOARD)-uImage
endef
define Image/Build
@@ -23,7 +23,7 @@ define Image/Build/jffs2-64k
( \
dd if=$(KDIR)/uImage bs=1024k conv=sync; \
dd if=$(KDIR)/root.$(1) bs=65536 conv=sync; \
- ) > $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img
+ ) > $(BIN_DIR)/openwrt-$(BOARD)-$(1).img
endef
define Image/Build/squashfs
@@ -31,7 +31,7 @@ define Image/Build/squashfs
( \
dd if=$(LINUX_DIR)/arch/ppc/boot/images/uImage bs=1024k conv=sync; \
dd if=$(KDIR)/root.$(1) bs=65536 conv=sync; \
- ) > $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img
+ ) > $(BIN_DIR)/openwrt-$(BOARD)-$(1).img
endef
$(eval $(call BuildImage))