X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/d32a09bb67c33233abf7c3a2da27cebaa0966aa3..adde7768a2eab2950a7628319ec832c63a00ff03:/target/linux/rdc/image/Makefile?ds=inline diff --git a/target/linux/rdc/image/Makefile b/target/linux/rdc/image/Makefile index 613aa3923..a8ad09966 100644 --- a/target/linux/rdc/image/Makefile +++ b/target/linux/rdc/image/Makefile @@ -7,8 +7,14 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk +ifeq ($(CONFIG_LINUX_2_6_23),y) +ARCH_PATH=i386 +else +ARCH_PATH=x86 +endif + define Image/Prepare - $(CP) $(LINUX_DIR)/arch/i386/boot/bzImage $(KDIR)/bzImage + $(CP) $(LINUX_DIR)/arch/$(ARCH_PATH)/boot/bzImage $(KDIR)/bzImage endef define trxalign/jffs2-128k