diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-13 22:49:41 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-15 16:23:17 +0200 |
commit | a45830a39bb47a9eab27980d52966226c9504ea4 (patch) | |
tree | 001209d9740e8668b2eeeac4212b3561aecebf29 /meta-oe/recipes-support/xfsprogs | |
parent | 6f48cf899aed0622f8fb26ffa144656a1143c9c5 (diff) | |
download | meta-openembedded-a45830a39bb47a9eab27980d52966226c9504ea4.tar.gz |
recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
tabs is the need to update a lot of recipes). Lately this advice
was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
error prone when someone is not sure if e.g.
do_generate_toolchain_file() is Python or shell task and also allows
to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
potentially bad (shouldn't be used for indenting of multiline
variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
we're quite inconsistent wheater it's first character on line
under opening quote or under first non-whitespace character in
previous line.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-support/xfsprogs')
-rw-r--r-- | meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.8.bb | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.8.bb b/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.8.bb index ef5224b5f..ba3490d1c 100644 --- a/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.8.bb +++ b/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.8.bb | |||
@@ -8,8 +8,8 @@ DEPENDS = "util-linux" | |||
8 | PR = "r1" | 8 | PR = "r1" |
9 | 9 | ||
10 | SRC_URI = "ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz \ | 10 | SRC_URI = "ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz \ |
11 | file://remove-install-as-user.patch \ | 11 | file://remove-install-as-user.patch \ |
12 | file://drop-configure-check-for-aio.patch \ | 12 | file://drop-configure-check-for-aio.patch \ |
13 | " | 13 | " |
14 | 14 | ||
15 | SRC_URI[md5sum] = "f70b2e7200d4c29f0af1cf70e7be1db6" | 15 | SRC_URI[md5sum] = "f70b2e7200d4c29f0af1cf70e7be1db6" |
@@ -27,16 +27,16 @@ FILES_libhandle = "${base_libdir}/libhandle${SOLIBS}" | |||
27 | 27 | ||
28 | EXTRA_OECONF = "--enable-gettext=no" | 28 | EXTRA_OECONF = "--enable-gettext=no" |
29 | do_configure () { | 29 | do_configure () { |
30 | # Prevent Makefile from calling configure without arguments, | 30 | # Prevent Makefile from calling configure without arguments, |
31 | # when do_configure gets called for a second time. | 31 | # when do_configure gets called for a second time. |
32 | rm -f include/builddefs include/platform_defs.h | 32 | rm -f include/builddefs include/platform_defs.h |
33 | # Recreate configure script. | 33 | # Recreate configure script. |
34 | rm -f configure | 34 | rm -f configure |
35 | oe_runmake configure | 35 | oe_runmake configure |
36 | # Configure. | 36 | # Configure. |
37 | export DEBUG="-DNDEBUG" | 37 | export DEBUG="-DNDEBUG" |
38 | gnu-configize --force | 38 | gnu-configize --force |
39 | oe_runconf | 39 | oe_runconf |
40 | } | 40 | } |
41 | 41 | ||
42 | LIBTOOL = "${HOST_SYS}-libtool" | 42 | LIBTOOL = "${HOST_SYS}-libtool" |
@@ -45,13 +45,13 @@ TARGET_CC_ARCH += "${LDFLAGS}" | |||
45 | PARALLEL_MAKE = "" | 45 | PARALLEL_MAKE = "" |
46 | 46 | ||
47 | do_install () { | 47 | do_install () { |
48 | export DIST_ROOT=${D} | 48 | export DIST_ROOT=${D} |
49 | oe_runmake install | 49 | oe_runmake install |
50 | # needed for xfsdump | 50 | # needed for xfsdump |
51 | oe_runmake install-dev | 51 | oe_runmake install-dev |
52 | rm ${D}${base_libdir}/libhandle.a | 52 | rm ${D}${base_libdir}/libhandle.a |
53 | rm ${D}${base_libdir}/libhandle.la | 53 | rm ${D}${base_libdir}/libhandle.la |
54 | rm ${D}${base_libdir}/libhandle.so | 54 | rm ${D}${base_libdir}/libhandle.so |
55 | rm ${D}${libdir}/libhandle.so | 55 | rm ${D}${libdir}/libhandle.so |
56 | ln -s ../..${base_libdir}/libhandle.so.1 ${D}${libdir}/libhandle.so | 56 | ln -s ../..${base_libdir}/libhandle.so.1 ${D}${libdir}/libhandle.so |
57 | } | 57 | } |