Prior to kernel 2.6.23, architecture path was i386, allow that when switching kernel version

SVN-Revision: 11594
This commit is contained in:
Florian Fainelli 2008-06-28 11:08:01 +00:00
parent 310c6108cd
commit 097d9cd367

View file

@ -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