diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2014-01-07 12:23:35 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2014-01-07 12:23:35 +0000 |
commit | b3160a58e8dec8780106b2cd86eda3a3d79c0903 (patch) | |
tree | 72c2507d12b087fae093eba5588478966a983a50 /include | |
parent | 9c5efa1ea2f7d4e6fdd20d1c05258993e3653287 (diff) | |
download | upstream-b3160a58e8dec8780106b2cd86eda3a3d79c0903.tar.gz upstream-b3160a58e8dec8780106b2cd86eda3a3d79c0903.tar.bz2 upstream-b3160a58e8dec8780106b2cd86eda3a3d79c0903.zip |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/kernel-defaults.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index 96f2b2cbe6..b4c6b9c2d3 100644 --- a/include/kernel-defaults.mk +++ b/include/kernel-defaults.mk @@ -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 |