mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-24 22:51:29 +03:00
Build the root fs.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13608 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b68a7fc080
commit
22b3854919
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
ARCH:=arm
|
ARCH:=arm
|
||||||
BOARD:=openmoko
|
BOARD:=openmoko
|
||||||
BOARDNAME:=Openmoko
|
BOARDNAME:=Openmoko
|
||||||
FEATURES:=squashfs usb
|
FEATURES:=usb
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.24.7
|
LINUX_VERSION:=2.6.24.7
|
||||||
|
|
||||||
|
@ -5,9 +5,17 @@
|
|||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
JFFS2_BLOCKSIZE := 128k
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/image.mk
|
include $(INCLUDE_DIR)/image.mk
|
||||||
|
|
||||||
|
define Image/mkfs/jffs2/sub
|
||||||
|
$(STAGING_DIR_HOST)/bin/mkfs.jffs2 --pad --little-endian --pagesize=0x800 --no-cleanmarkers -e $(patsubst %k,%KiB,$(1)) -o $(KDIR)/root.jffs2-$(1) -d $(TARGET_DIR)
|
||||||
|
$(call add_jffs2_mark,$(KDIR)/root.jffs2-$(1))
|
||||||
|
$(call Image/Build,jffs2-$(1))
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/Clean
|
define Build/Clean
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -23,6 +31,7 @@ define Image/BuildKernel
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build
|
define Image/Build
|
||||||
|
cp $(KDIR)/root.jffs2-128k $(BIN_DIR)/openwrt-$(BOARD)-rootfs
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildImage))
|
$(eval $(call BuildImage))
|
||||||
|
Loading…
Reference in New Issue
Block a user