add x86_64 target support

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39208 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Imre Kaloz
2014-01-07 12:23:35 +00:00
parent 9c5efa1ea2
commit b3160a58e8
16 changed files with 887 additions and 5 deletions

View File

@@ -124,6 +124,11 @@ ifeq ($(LINUX_KARCH),avr32)
IMAGES_DIR:=images
endif
# AMD64 shares the location with x86
ifeq ($(LINUX_KARCH),x86_64)
IMAGES_DIR:=../../x86/boot
endif
define Kernel/CopyImage
$(KERNEL_CROSS)objcopy -O binary $(OBJCOPY_STRIP) -S $(LINUX_DIR)/vmlinux $(LINUX_KERNEL)$(1)
$(KERNEL_CROSS)objcopy $(OBJCOPY_STRIP) -S $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux$(1).elf