author | Franklin S. Cooper Jr <fcooper@ti.com> | |
Sat, 1 Sep 2012 17:45:03 +0000 (12:45 -0500) | ||
committer | Denys Dmytriyenko <denys@ti.com> | |
Wed, 10 Oct 2012 20:00:04 +0000 (16:00 -0400) | ||
commit | 2a3c7305fb81967d1358e731fb564182480b0338 | |
tree | e24e172ef679c89e782a6ed3cce84c3ef7acfb61 | tree | snapshot (tar.xz tar.gz zip) |
parent | 80ebdb06c319c5fa9881923e4a158eb048487b66 | commit | diff |
recipes: Fix ti-eula-unpack issue. Tweak sgx modules and libgles recipes.
* Commit d8fc4a686262c50fd0053afa7240020909ec430b addressed an issue where
too many newlines characters were being sent since print by default already
sends a newline character. This commit however resulted in bin files being
installed in the WORKDIR and broke other recipes which commit
a94f765b9867abefd5f0bd262b5dddb8782b3187 addressed. This lead to a very
cluttered WORKDIR.
* This patch updates ti-eula-unpack.inc to switch from using a print to a write.
Since write doesn't automatically send newlines it is a bit more obvious when
newlines are sent.
* Part of the reason that bin files were being installed in the WORKDIR was
due to TI_BIN_UNPK_WDEXT being blank for some recipes. For instance in the
libgles-omap3 recipes, when the workdir command is set in TI_BIN_UNPK_CMDS the
directory that the Graphics SDK will be installed into is
workdir+TI_BIN_UNPK_WDEXT. A blank TI_BIN_UNPK_WDEXT means the SDK will be
installed in WORKDIR. By setting TI_BIN_UNPK_WDEXT to a proper value the
recipes can be sure it is installed in the proper directory.
* Determine which file to download based on the defined BINFILE and not a
hardcoded value. This idea was taken from arago.
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* Commit d8fc4a686262c50fd0053afa7240020909ec430b addressed an issue where
too many newlines characters were being sent since print by default already
sends a newline character. This commit however resulted in bin files being
installed in the WORKDIR and broke other recipes which commit
a94f765b9867abefd5f0bd262b5dddb8782b3187 addressed. This lead to a very
cluttered WORKDIR.
* This patch updates ti-eula-unpack.inc to switch from using a print to a write.
Since write doesn't automatically send newlines it is a bit more obvious when
newlines are sent.
* Part of the reason that bin files were being installed in the WORKDIR was
due to TI_BIN_UNPK_WDEXT being blank for some recipes. For instance in the
libgles-omap3 recipes, when the workdir command is set in TI_BIN_UNPK_CMDS the
directory that the Graphics SDK will be installed into is
workdir+TI_BIN_UNPK_WDEXT. A blank TI_BIN_UNPK_WDEXT means the SDK will be
installed in WORKDIR. By setting TI_BIN_UNPK_WDEXT to a proper value the
recipes can be sure it is installed in the proper directory.
* Determine which file to download based on the defined BINFILE and not a
hardcoded value. This idea was taken from arago.
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>