]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-bootlets: indentation fixes and whitespace cleanup
authorMario Domenech Goulart <mario@ossystems.com.br>
Wed, 20 Aug 2014 17:48:11 +0000 (14:48 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 20 Aug 2014 20:38:57 +0000 (17:38 -0300)
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb

index 367e83b473139134510f239fd34b5c3225c8a09b..6084f169d105e2c4f38bdf2eac934a444eba7508 100644 (file)
@@ -23,12 +23,12 @@ EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
 
 # Ensure machine defines the IMXBOOTLETS_MACHINE
 python () {
-       if not d.getVar("IMXBOOTLETS_MACHINE", True):
-               PN = d.getVar("PN", True)
-               FILE = os.path.basename(d.getVar("FILE", True))
-               bb.debug(1, "To build %s, see %s for instructions on \
-                            setting up your machine config" % (PN, FILE))
-               raise bb.parse.SkipPackage("because IMXBOOTLETS_MACHINE is not set")
+    if not d.getVar("IMXBOOTLETS_MACHINE", True):
+        PN = d.getVar("PN", True)
+        FILE = os.path.basename(d.getVar("FILE", True))
+        bb.debug(1, "To build %s, see %s for instructions on \
+                     setting up your machine config" % (PN, FILE))
+        raise bb.parse.SkipPackage("because IMXBOOTLETS_MACHINE is not set")
 }
 
 do_configure () {
@@ -60,11 +60,11 @@ FILES_${PN} = "/boot"
 do_deploy () {
     install -d ${DEPLOYDIR}
 
-       for f in boot_prep/boot_prep \
-             power_prep/power_prep \
-             linux_prep/output-target/linux_prep \
-             barebox_ivt.bd \
-             linux.bd linux.bd-dtb; do
+    for f in boot_prep/boot_prep \
+         power_prep/power_prep \
+         linux_prep/output-target/linux_prep \
+         barebox_ivt.bd \
+         linux.bd linux.bd-dtb; do
         full_name="imx-bootlets-`basename $f`-${MACHINE}-${PV}-${PR}"
         symlink_name="imx-bootlets-`basename $f`-${MACHINE}"