diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-06-28 11:08:01 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2008-06-28 11:08:01 +0000 |
commit | 097d9cd367a48adcc7eef8f842ff8c948e8bba0f (patch) | |
tree | b00bd0859d980cd4e0ab042098246bc30b0ed5e7 /target/linux/rdc | |
parent | 310c6108cd662e1f5b65c09f41f59cb3f7aeba49 (diff) | |
download | mtk-20170518-097d9cd367a48adcc7eef8f842ff8c948e8bba0f.zip mtk-20170518-097d9cd367a48adcc7eef8f842ff8c948e8bba0f.tar.gz mtk-20170518-097d9cd367a48adcc7eef8f842ff8c948e8bba0f.tar.bz2 |
Prior to kernel 2.6.23, architecture path was i386, allow that when switching kernel version
SVN-Revision: 11594
Diffstat (limited to 'target/linux/rdc')
-rw-r--r-- | target/linux/rdc/image/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/rdc/image/Makefile b/target/linux/rdc/image/Makefile index 4da96b7..a8ad099 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 |