summaryrefslogtreecommitdiff
path: root/polux/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'polux/Makefile')
-rw-r--r--polux/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/polux/Makefile b/polux/Makefile
index 7273885914..593beca907 100644
--- a/polux/Makefile
+++ b/polux/Makefile
@@ -12,6 +12,7 @@ PLC_DIR:=$(DEVKIT_DIR)/plc-polux
BUSYBOX_DIR:=$(APP_DIR)/busybox
BINARIES_DIR=$(TOPDIR)/binaries
+FLASHFS_DIR_FROM_BASE:=common/tools/flashfs
GENNVRAM_DIR_FROM_BASE:=common/tools/genNVRAM
UBOOT_DIR_FROM_BASE:=cleopatre/u-boot-1.1.6
@@ -463,6 +464,10 @@ bundle:
cp -r $(BASE_DIR)/common/tools/mksimage $(BUNDLE_DIR)/linux-2.6.10/scripts
$(BUNDLE_DIR)/linux-2.6.10/scripts/cpincludes $(BUNDLE_DIR)/linux-2.6.10 $(BASE_DIR)/common
rm -f $(BUNDLE_DIR)/linux-2.6.10/scripts/cpincludes
+ #prepare flashfs part
+ (cd $(BASE_DIR) && git archive --format=tar --prefix flashfs/ HEAD:$(FLASHFS_DIR_FROM_BASE)) | tar -x -C $(BUNDLE_DIR)/tools
+ sed -i -e 's/buildjffs2-500//g' $(BUNDLE_DIR)/tools/flashfs/Makefile
+ rm -rf $(BUNDLE_DIR)/tools/flashfs/image_500
#prepare genNVRAM part
(cd $(BASE_DIR) && git archive --format=tar --prefix genNVRAM/ HEAD:$(GENNVRAM_DIR_FROM_BASE)) | tar -x -C $(BUNDLE_DIR)/tools
sed -i -e 's/\(BUNDLE_DIR=\)n/\1y/' $(BUNDLE_DIR)/tools/genNVRAM/Makefile