projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68a6a13
)
adm8668: use a suffix for initramfs images
author
Gabor Juhos
<juhosg@openwrt.org>
Wed, 25 Apr 2012 18:53:46 +0000
(18:53 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Wed, 25 Apr 2012 18:53:46 +0000
(18:53 +0000)
SVN-Revision: 31478
target/linux/adm8668/image/Makefile
patch
|
blob
|
history
diff --git
a/target/linux/adm8668/image/Makefile
b/target/linux/adm8668/image/Makefile
index 57b8d7ba54c5faac9a2b3b9c2222bd55e6787fca..58646638eac9a0f7e0aae1425f9ba1d966b7a346 100644
(file)
--- a/
target/linux/adm8668/image/Makefile
+++ b/
target/linux/adm8668/image/Makefile
@@
-7,6
+7,11
@@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
+VMLINUX:=$(BIN_DIR)/$(IMG_PREFIX)-vmlinux
+ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
+ VMLINUX:=$(BIN_DIR)/$(IMG_PREFIX)-vmlinux-initramfs
+endif
+
define Build/Clean
$(MAKE) -C lzma-loader clean
endef
@@
-26,4
+31,9
@@
define Image/Build
$(KDIR)/fs_mark $(BIN_DIR)/$(IMG_PREFIX)-$(1).bin
endef
+define Image/BuildKernel
+ cp $(KDIR)/vmlinux.elf $(VMLINUX).elf
+ cp $(KDIR)/vmlinux $(VMLINUX).bin
+endef
+
$(eval $(call BuildImage))