diff options
| -rw-r--r-- | meta/recipes-bsp/x-load/files/signGP.c | 35 | ||||
| -rw-r--r-- | meta/recipes-bsp/x-load/signgp-native.bb | 4 |
2 files changed, 37 insertions, 2 deletions
diff --git a/meta/recipes-bsp/x-load/files/signGP.c b/meta/recipes-bsp/x-load/files/signGP.c index 0e8ed07f52..9325064013 100644 --- a/meta/recipes-bsp/x-load/files/signGP.c +++ b/meta/recipes-bsp/x-load/files/signGP.c | |||
| @@ -1,3 +1,38 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ | ||
| 3 | * | ||
| 4 | * | ||
| 5 | * Redistribution and use in source and binary forms, with or without | ||
| 6 | * modification, are permitted provided that the following conditions | ||
| 7 | * are met: | ||
| 8 | * | ||
| 9 | * Redistributions of source code must retain the above copyright | ||
| 10 | * notice, this list of conditions and the following disclaimer. | ||
| 11 | * | ||
| 12 | * Redistributions in binary form must reproduce the above copyright | ||
| 13 | * notice, this list of conditions and the following disclaimer in the | ||
| 14 | * documentation and/or other materials provided with the | ||
| 15 | * distribution. | ||
| 16 | * | ||
| 17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
| 18 | * its contributors may be used to endorse or promote products derived | ||
| 19 | * from this software without specific prior written permission. | ||
| 20 | * | ||
| 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
| 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
| 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
| 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
| 25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
| 28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
| 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
| 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
| 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 32 | * | ||
| 33 | */ | ||
| 34 | |||
| 35 | |||
| 1 | // | 36 | // |
| 2 | // signGP.c | 37 | // signGP.c |
| 3 | // Read the x-load.bin file and write out the x-load.bin.ift file. | 38 | // Read the x-load.bin file and write out the x-load.bin.ift file. |
diff --git a/meta/recipes-bsp/x-load/signgp-native.bb b/meta/recipes-bsp/x-load/signgp-native.bb index 7eabb07bce..ae8c8f9dcb 100644 --- a/meta/recipes-bsp/x-load/signgp-native.bb +++ b/meta/recipes-bsp/x-load/signgp-native.bb | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | LICENSE = "unknown" | 1 | LICENSE = "BSD" |
| 2 | DESCRIPTION = "Tool to sign omap3 x-loader images" | 2 | DESCRIPTION = "Tool to sign omap3 x-loader images" |
| 3 | 3 | ||
| 4 | inherit native | 4 | inherit native |
| 5 | SRC_URI = "file://signGP.c" | 5 | SRC_URI = "file://signGP.c" |
| 6 | 6 | ||
| 7 | do_compile() { | 7 | do_compile() { |
| 8 | ${CC} ${WORKDIR}/signGP.c -o signGP | 8 | ${CC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/signGP.c -o signGP |
| 9 | } | 9 | } |
| 10 | 10 | ||
| 11 | do_install() { | 11 | do_install() { |
