X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/c2bc3322ff1a5fcf818fac891d0a213ce4d30c51..adde7768a2eab2950a7628319ec832c63a00ff03:/target/linux/rdc/image/Makefile diff --git a/target/linux/rdc/image/Makefile b/target/linux/rdc/image/Makefile index 4da96b7e1..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/x86/boot/bzImage $(KDIR)/bzImage + $(CP) $(LINUX_DIR)/arch/$(ARCH_PATH)/boot/bzImage $(KDIR)/bzImage endef define trxalign/jffs2-128k