2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 include $(INCLUDE_DIR
)/package.mk
16 define Package
/maemo-kexec
19 DEPENDS
:=@TARGET_omap24xx
+kexec-tools
20 TITLE
:=Kexec Maemo from OpenWRT
24 define Package
/maemo-kexec
/description
25 Kexec Maemo from OpenWRT.
26 The Maemo kernel image must be provided and the Maemo rootfs
27 must be in the rootfs MTD partition.
30 define Package
/maemo-kexec
/config
31 source
"$(SOURCE)/Config.in"
37 define Package
/maemo-kexec
/install
38 $(INSTALL_DIR
) $(1)/sbin
39 $(INSTALL_DIR
) $(1)/boot
40 $(INSTALL_BIN
) .
/files
/sbin
/boot-maemo
$(1)/sbin
/
41 # --- COPYING MAEMO zImage ---
42 # If this fails, please check CONFIG_MAEMO_KEXEC_KERNEL_PATH
43 $(INSTALL_DATA
) $(CONFIG_MAEMO_KEXEC_KERNEL_PATH
) $(1)/boot
/maemo.zImage
46 $(eval
$(call BuildPackage
,maemo-kexec
))