diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2015-07-23 16:02:25 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-07-28 23:26:59 -0300 |
commit | 6a868a671472d454b407a165fc31c5f7dfe783c6 (patch) | |
tree | 7bd2ab13a04d14215264cc992501970cacfb20ef /recipes-bsp/boot-format | |
parent | 62e212fe4812a6c726df4ac8e77d4a77e0e54247 (diff) | |
download | meta-freescale-6a868a671472d454b407a165fc31c5f7dfe783c6.tar.gz |
Move meta-fsl-ppc content to layer root
This commit is just a rename of all contents of meta-fsl-ppc
subdirectory to this layer's root, merging the contents of common
files, subsequent changes are based on top of that.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp/boot-format')
-rw-r--r-- | recipes-bsp/boot-format/boot-format/flags.patch | 21 | ||||
-rw-r--r-- | recipes-bsp/boot-format/boot-format_git.bb | 20 |
2 files changed, 41 insertions, 0 deletions
diff --git a/recipes-bsp/boot-format/boot-format/flags.patch b/recipes-bsp/boot-format/boot-format/flags.patch new file mode 100644 index 00000000..cddb34cd --- /dev/null +++ b/recipes-bsp/boot-format/boot-format/flags.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | Index: git/Makefile | ||
2 | =================================================================== | ||
3 | --- git.orig/Makefile | ||
4 | +++ git/Makefile | ||
5 | @@ -3,14 +3,14 @@ | ||
6 | INSTALL=install | ||
7 | PREFIX=/usr | ||
8 | |||
9 | -CFLAGS=-Wall | ||
10 | +override CFLAGS+=-Wall | ||
11 | |||
12 | all: boot_format | ||
13 | |||
14 | boot_format.o: boot_format.c boot_format.h | ||
15 | |||
16 | boot_format: boot_format.o | ||
17 | - $(CC) $< -o $@ | ||
18 | + $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) | ||
19 | |||
20 | install: boot_format | ||
21 | $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin | ||
diff --git a/recipes-bsp/boot-format/boot-format_git.bb b/recipes-bsp/boot-format/boot-format_git.bb new file mode 100644 index 00000000..2d9f9b1d --- /dev/null +++ b/recipes-bsp/boot-format/boot-format_git.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | DESCRIPTION = "Boot format utility for booting from eSDHC/eSPI" | ||
2 | LICENSE = "GPLv2" | ||
3 | PR = "r6" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
5 | |||
6 | SRC_URI = "git://git.freescale.com/ppc/sdk/boot-format.git;nobranch=1 \ | ||
7 | file://flags.patch" | ||
8 | SRCREV = "4eb81a6797ef4e58bf7d9b2d58afb37a21c1f550" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | EXTRA_OEMAKE = 'CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"' | ||
12 | |||
13 | do_install(){ | ||
14 | oe_runmake DESTDIR=${D} PREFIX=${prefix} install | ||
15 | } | ||
16 | |||
17 | PACKAGES =+ "${PN}-config" | ||
18 | FILES_${PN}-config += "${datadir}/*" | ||
19 | |||
20 | BBCLASSEXTEND = "native nativesdk" | ||