diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:46:13 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:46:13 +0200 |
commit | 8d89651ef729e560ad96dcfc002fcde6ff7f923b (patch) | |
tree | eb5be01c25f735d12fe9881ee6327c9b7e8bbe39 /meta-linaro/recipes-linaro/images/linaro-sysroot-alip.bb | |
download | meta-linaro-dizzy-enea.tar.gz |
initial commit for Enea Linux 5.0 armdizzy-enea
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-linaro/recipes-linaro/images/linaro-sysroot-alip.bb')
-rw-r--r-- | meta-linaro/recipes-linaro/images/linaro-sysroot-alip.bb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-linaro/recipes-linaro/images/linaro-sysroot-alip.bb b/meta-linaro/recipes-linaro/images/linaro-sysroot-alip.bb new file mode 100644 index 0000000..3d0d1cc --- /dev/null +++ b/meta-linaro/recipes-linaro/images/linaro-sysroot-alip.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | require linaro-image-alip.bb | ||
2 | |||
3 | IMAGE_FEATURES += "\ | ||
4 | dev-pkgs \ | ||
5 | " | ||
6 | |||
7 | IMAGE_PREPROCESS_COMMAND += "do_delete_not_needed_dirs; " | ||
8 | |||
9 | fakeroot do_delete_not_needed_dirs () { | ||
10 | for dir in bin boot dev etc home media mnt opt proc run sbin sys tmp var; | ||
11 | do | ||
12 | rm -rf ${IMAGE_ROOTFS}/${dir} | ||
13 | done | ||
14 | |||
15 | for dir in arm-oe-linux-gnueabi aarch64-oe-linux bin games sbin share src | ||
16 | do | ||
17 | rm -rf ${IMAGE_ROOTFS}/usr/${dir} | ||
18 | done | ||
19 | } | ||