From e2ce2661169a8653c86112d4dd0d5ac99fbe6925 Mon Sep 17 00:00:00 2001
From: Patrik Ryd patrik.ryd@linaro.org Date: Mon, 21 Feb 2011 09:49:56 +0100 Subject: [PATCH] Added target roottarball
The new taget roottarball creates a tarball of the root file system. --- tasks/tarballs.mk | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) create mode 100644 tasks/tarballs.mk
diff --git a/tasks/tarballs.mk b/tasks/tarballs.mk new file mode 100644 index 0000000..e569e98 --- /dev/null +++ b/tasks/tarballs.mk @@ -0,0 +1,25 @@ +# +# Trigger build of tar balls for the linaro boards +# + +####### +## root tarball +define build-roottarball-target + $(hide) echo "Target root fs tarball:" $(INSTALLED_ROOTTARBALL_TARGET) + $(hide) $(MKTARBALL) $(FS_GET_STATS) \ + $(PRODUCT_OUT)/root . $(PRIVATE_ROOT_TAR) \ + $(INSTALLED_ROOTTARBALL_TARGET) +endef + +ifndef ROOT_TARBALL_FORMAT + ROOT_TARBALL_FORMAT := bz2 +endif + +root_tar := $(PRODUCT_OUT)/root.tar +INSTALLED_ROOTTARBALL_TARGET := $(root_tar).$(ROOT_TARBALL_FORMAT) + +$(INSTALLED_ROOTTARBALL_TARGET): PRIVATE_ROOT_TAR := $(root_tar) +$(INSTALLED_ROOTTARBALL_TARGET): $(FS_GET_STATS) $(INTERNAL_RAMDISK_FILES) + $(build-roottarball-target) + +roottarball: $(INSTALLED_ROOTTARBALL_TARGET) \ No newline at end of file