index
:
openwrt.git
OpenWrt Source Repository
log msg
author
committer
range
feature/odhcpd_odhcp6c_udhcpc-capsdrop
linksys3200ac-master
master
about
summary
refs
log
tree
commit
diff
path:
root
/
include
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
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
7aaa9bc91c9e905f3b943e2b8a1cb3ce140fe9a5
(
patch
)
tree
4dbb15c6e8f7142918e2ae8adc6b0efc39dca879
/
include
parent
8603b30db51404dfde353d021bc0379290b9d331
(
diff
)
add x86_64 target support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39208
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