From: Florian Fainelli Date: Sat, 28 Jun 2008 11:08:01 +0000 (+0000) Subject: Prior to kernel 2.6.23, architecture path was i386, allow that when switching kernel... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=097d9cd367a48adcc7eef8f842ff8c948e8bba0f;p=openwrt%2Fstaging%2Frmilecki.git Prior to kernel 2.6.23, architecture path was i386, allow that when switching kernel version SVN-Revision: 11594 --- diff --git a/target/linux/rdc/image/Makefile b/target/linux/rdc/image/Makefile index 4da96b7e184..a8ad0996683 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