From: Florian Fainelli Date: Sun, 15 Nov 2009 13:10:44 +0000 (+0000) Subject: fix image create after the conversion to subtargets X-Git-Tag: reboot~21883 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ba6e615cae965e54685e975f3a8daad79a96c56b;p=openwrt%2Fstaging%2Flynxis.git fix image create after the conversion to subtargets SVN-Revision: 18424 --- diff --git a/target/linux/rdc/image/Makefile b/target/linux/rdc/image/Makefile index 315d917473..6f960ac561 100644 --- a/target/linux/rdc/image/Makefile +++ b/target/linux/rdc/image/Makefile @@ -98,7 +98,7 @@ endef define Image/Build $(CP) $(KDIR)/bzImage $(BIN_DIR)/openwrt-$(BOARD).bzImage - $(call Image/Build/$(PROFILE),$(1),$(PROFILE),$(patsubst jffs2-%k,%,$(1))) + $(call Image/Build/$(SUBTARGET),$(1),$(SUBTARGET),$(patsubst jffs2-%k,%,$(1))) ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) $(call Image/Build/Initramfs) endif