30 lines
505 B
Makefile
30 lines
505 B
Makefile
|
#
|
||
|
# Copyright (C) 2009 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
|
||
|
|
||
|
JFFS2_BLOCKSIZE=128k
|
||
|
|
||
|
define Image/Prepare
|
||
|
endef
|
||
|
|
||
|
define Image/BuildKernel
|
||
|
endef
|
||
|
|
||
|
define Image/Build
|
||
|
$(call Image/Build/$(1),$(1))
|
||
|
endef
|
||
|
|
||
|
define Image/Build/jffs2-128k
|
||
|
endef
|
||
|
|
||
|
define Image/Build/squashfs
|
||
|
$(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
|
||
|
endef
|
||
|
|
||
|
$(eval $(call BuildImage))
|