2006-07-20 21:06:47 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/image.mk
|
|
|
|
|
2007-01-10 21:52:28 +00:00
|
|
|
define Image/Prepare
|
|
|
|
cp $(LINUX_DIR)/linux $(KDIR)/vmlinux.elf
|
|
|
|
endef
|
|
|
|
|
2006-07-20 21:06:47 +00:00
|
|
|
define Image/Build
|
|
|
|
cp $(KDIR)/root.$(1) $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img
|
2007-01-10 21:52:28 +00:00
|
|
|
cp $(KDIR)/vmlinux.elf $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinux
|
2006-07-20 21:06:47 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildImage))
|