mirror of https://github.com/hak5/openwrt-owl.git
parent
34867901d0
commit
4571721ec2
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
ARCH:=arm
|
||||
BOARD:=openmoko
|
||||
BOARDNAME:=Openmoko
|
||||
FEATURES:=squashfs usb
|
||||
FEATURES:=usb
|
||||
|
||||
LINUX_VERSION:=2.6.24.7
|
||||
|
||||
|
|
|
@ -5,9 +5,17 @@
|
|||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
JFFS2_BLOCKSIZE := 128k
|
||||
|
||||
include $(TOPDIR)/rules.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
|
||||
endef
|
||||
|
||||
|
@ -23,6 +31,7 @@ define Image/BuildKernel
|
|||
endef
|
||||
|
||||
define Image/Build
|
||||
cp $(KDIR)/root.jffs2-128k $(BIN_DIR)/openwrt-$(BOARD)-rootfs
|
||||
endef
|
||||
|
||||
$(eval $(call BuildImage))
|
||||
|
|
Loading…
Reference in New Issue