projects
/
openwrt
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
armvirt: merge arm64 as subtarget 64
[openwrt/.git]
/
target
/
linux
/
armvirt
/
image
/
Makefile
diff --git
a/target/linux/armvirt/image/Makefile
b/target/linux/armvirt/image/Makefile
index df4383f1d47ca3bff05fecabb8bd17582efe881a..73d9145e0eb714fa4afdaeb0ce9e6061fc685d56 100644
(file)
--- a/
target/linux/armvirt/image/Makefile
+++ b/
target/linux/armvirt/image/Makefile
@@
-1,5
+1,5
@@
#
#
-# Copyright (C) 2016 Yousong Zhou <yszhou4tech@gmail.com>
+# Copyright (C) 2016
-2017
Yousong Zhou <yszhou4tech@gmail.com>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@
-8,11
+8,15
@@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
define Image/BuildKernel
include $(INCLUDE_DIR)/image.mk
define Image/BuildKernel
- cp $(KDIR)/$(KERNELNAME) $(BIN_DIR)/$(IMG_PREFIX)-$(KERNELNAME)
+ $(foreach k,$(filter zImage Image,$(KERNELNAME)), \
+ cp $(KDIR)/$(KERNELNAME) $(BIN_DIR)/$(IMG_PREFIX)-$(k) \
+ )
endef
define Image/Build/Initramfs
endef
define Image/Build/Initramfs
- cp $(KDIR)/$(KERNELNAME)-initramfs $(BIN_DIR)/$(IMG_PREFIX)-$(KERNELNAME)-initramfs
+ $(foreach k,$(filter zImage Image,$(KERNELNAME)), \
+ cp $(KDIR)/$(k)-initramfs $(BIN_DIR)/$(IMG_PREFIX)-$(k)-initramfs \
+ )
endef
define Image/Build
endef
define Image/Build