target/jffs2/blocksize.mk for setting block size (req. for wrt54g) squashfs removed in favor of squashfs-lzma
SVN-Revision: 301master
parent
87c8266371
commit
1ef215245e
@ -1,11 +0,0 @@ |
|||||||
#!/usr/bin/perl |
|
||||||
|
|
||||||
my %change = ( |
|
||||||
'ROOTFS' => 'make linux-dirclean' |
|
||||||
); |
|
||||||
|
|
||||||
foreach my $change (keys %change) { |
|
||||||
my $v1 = `grep '$change' .config.test`; |
|
||||||
my $v2 = `grep '$change' .config`; |
|
||||||
$v1 eq $v2 or system($change{$change}); |
|
||||||
} |
|
@ -1,7 +1,6 @@ |
|||||||
choice |
choice |
||||||
prompt "Target Root Filesystem" |
prompt "Target Root Filesystem" |
||||||
source "target/jffs2/Config.in" |
source "target/jffs2/Config.in" |
||||||
source "target/squashfs/Config.in" |
|
||||||
source "target/squashfs-lzma/Config.in" |
source "target/squashfs-lzma/Config.in" |
||||||
endchoice |
endchoice |
||||||
|
|
||||||
|
@ -0,0 +1 @@ |
|||||||
|
JFFS2_BLOCK_SIZE:=0x20000
|
@ -1,5 +0,0 @@ |
|||||||
config BR2_TARGET_ROOTFS_SQUASHFS |
|
||||||
bool "squashfs" |
|
||||||
help |
|
||||||
Build a squashfs root filesystem |
|
||||||
|
|
@ -1,54 +0,0 @@ |
|||||||
#############################################################
|
|
||||||
#
|
|
||||||
# squashfs target
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
|
|
||||||
SQUASHFS_DIR=$(BUILD_DIR)/squashfs2.1-r2
|
|
||||||
SQUASHFS_SOURCE=squashfs2.1-r2.tar.gz
|
|
||||||
SQUASHFS_SITE=http://dl.sourceforge.net/sourceforge/squashfs
|
|
||||||
|
|
||||||
$(DL_DIR)/$(SQUASHFS_SOURCE): |
|
||||||
$(WGET) -P $(DL_DIR) $(SQUASHFS_SITE)/$(SQUASHFS_SOURCE)
|
|
||||||
|
|
||||||
$(SQUASHFS_DIR)/.unpacked: $(DL_DIR)/$(SQUASHFS_SOURCE) |
|
||||||
zcat $(DL_DIR)/$(SQUASHFS_SOURCE) | tar -C $(BUILD_DIR) -xvf -
|
|
||||||
touch $(SQUASHFS_DIR)/.unpacked
|
|
||||||
|
|
||||||
$(SQUASHFS_DIR)/squashfs-tools/mksquashfs: $(SQUASHFS_DIR)/.unpacked |
|
||||||
$(MAKE) -C $(SQUASHFS_DIR)/squashfs-tools;
|
|
||||||
|
|
||||||
squashfs: $(SQUASHFS_DIR)/squashfs-tools/mksquashfs |
|
||||||
|
|
||||||
squashfs-source: $(DL_DIR)/$(SQUASHFS_SOURCE) |
|
||||||
|
|
||||||
squashfs-clean: |
|
||||||
-$(MAKE) -C $(SQUASHFS_DIR)/squashfs-tools clean
|
|
||||||
|
|
||||||
squashfs-dirclean: |
|
||||||
rm -rf $(SQUASHFS_DIR)
|
|
||||||
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Build the squashfs root filesystem image
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
|
|
||||||
squashfsroot: squashfs |
|
||||||
@rm -rf $(TARGET_DIR)/usr/man
|
|
||||||
@rm -rf $(TARGET_DIR)/usr/info
|
|
||||||
$(SQUASHFS_DIR)/squashfs-tools/mksquashfs $(TARGET_DIR) $(IMAGE).squashfs -noappend -root-owned -le
|
|
||||||
|
|
||||||
squashfsroot-source: squashfs-source |
|
||||||
|
|
||||||
squashfsroot-clean: |
|
||||||
-$(MAKE) -C $(SQUASHFS_DIR) clean
|
|
||||||
|
|
||||||
squashfsroot-dirclean: |
|
||||||
rm -rf $(SQUASHFS_DIR)
|
|
||||||
|
|
||||||
ifeq ($(strip $(BR2_TARGET_ROOTFS_SQUASHFS)),y) |
|
||||||
TARGETS+=squashfsroot openwrt-image
|
|
||||||
ROOTFS=squashfs
|
|
||||||
endif |
|
Loading…
Reference in new issue