am335x-pru-package: new package
PATCH v4 1/1 am335x-pru-package: new package
From: Frank Hunleth <[email protected]>
am335x-pru-package provides an assembler and program loader for Texas Instrument's AM335x programmable real-time units.
---
Changes v3 -> v4:
- rename patch to start at 1, like git-format-patch does (Thomas P.)
Changes v2 -> v3:
- add missing patch file
Changes v1 -> v2:
- build debug or release accordingly
- create a symlink for debug libraries
- do not build shared if PREFER_STATIC is et
- use the 'install' rule to install both in target and staging
- properly pass DESTDIR and PREFIX at install time
- add missing file to host-variant build (due to version bump)
- drop the host variant from the menu
- bump revision
--- package/Config.in | 1 + .../0001-install-does-not-build.patch | 23 +++++++ package/am335x-pru-package/Config.in | 7 ++ package/am335x-pru-package/am335x-pru-package.mk | 74 ++++++++++++++++++++++ 4 files changed, 105 insertions(+) create mode 100644 package/am335x-pru-package/0001-install-does-not-build.patch create mode 100644 package/am335x-pru-package/Config.in create mode 100644 package/am335x-pru-package/am335x-pru-package.mk
package/Config.in +1 -0
@@ -281,6 +281,7 @@ menu "Firmware" endmenu source "package/a10disp/Config.in" source "package/acpid/Config.in" + source "package/am335x-pru-package/Config.in" source "package/avrdude/Config.in" source "package/bcache-tools/Config.in" source "package/biosdevname/Config.in"
package/am335x-pru-package/0001-install-does-not-build.patch new file +23 -0
@@ -0,0 +1,23 @@ +Makefile: do not force the release build on install + +If we did build any of the other targets, and are just interested +in those and not the relase one, we still want to use the 'install' +rule, but not build (and install) the release libraries. + +So, remove the dependency on the 'release' target from the 'install' +rule. + +Signed-off-by: "Yann E. MORIN" <[email protected]> + +diff -durN am335x-pru-package-506e074859891a2b350eb4f5fcb451c4961410ea.orig/pru_sw/app_loader/interface/Makefile am335x-pru-package-506e074859891a2b350eb4f5fcb451c4961410ea/pru_sw/app_loader/interface/Makefile +--- am335x-pru-package-506e074859891a2b350eb4f5fcb451c4961410ea.orig/pru_sw/app_loader/interface/Makefile 2014-08-18 00:24:36.000000000 +0200 ++++ am335x-pru-package-506e074859891a2b350eb4f5fcb451c4961410ea/pru_sw/app_loader/interface/Makefile 2014-10-12 11:39:17.144682697 +0200 +@@ -38,7 +38,7 @@ + + all: debug release sodebug sorelease + +-install: release ++install: + install -m 0755 -d $(DESTDIR)$(PREFIX)/lib + install -m 0755 -d $(DESTDIR)$(PREFIX)/include + install -m 0644 $(LIBDIR)/* $(DESTDIR)$(PREFIX)/lib
package/am335x-pru-package/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_AM335X_PRU_PACKAGE + bool "am335x-pru-package" + depends on BR2_arm # only relevant for TI am335x + help + TI AM335X PRU program loader + + https://github.com/beagleboard/am335x_pru_package
package/am335x-pru-package/am335x-pru-package.mk new file +74 -0
74 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v4 1/1 am335x-pru-package: new package
Quoted 54 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
From: Frank Hunleth <[email protected]> am335x-pru-package provides an assembler and program loader for Texas Instrument's AM335x programmable real-time units.
Signed-off-by Frank Hunleth <[email protected]>Signed-off-by Yann E. MORIN <[email protected]>Cc Thomas Petazzoni <[email protected]>---
Changes v3 -> v4:
- rename patch to start at 1, like git-format-patch does (Thomas P.)Changes v2 -> v3:
- add missing patch fileChanges v1 -> v2:
- build debug or release accordingly
- create a symlink for debug libraries
- do not build shared ifPREFER_STATICis et
- use the 'install' rule to install both in target and staging
- properly pass DESTDIR and PREFIX at install time
- add missing file to host-variant build (due to version bump)
- drop the host variant from the menu
- bump revision--- package/Config.in | 1 + .../0001-install-does-not-build.patch | 23 +++++++ package/am335x-pru-package/Config.in | 7 ++ package/am335x-pru-package/am335x-pru-package.mk | 74 ++++++++++++++++++++++ 4 files changed, 105 insertions(+) create mode 100644 package/am335x-pru-package/0001-install-does-not-build.patch create mode 100644 package/am335x-pru-package/Config.in create mode 100644 package/am335x-pru-package/am335x-pru-package.mkpackage/Config.in +1
-0@@ -281,6 +281,7 @@ menu "Firmware" endmenu source "package/a10disp/Config.in" source "package/acpid/Config.in" + source "package/am335x-pru-package/Config.in" source "package/avrdude/Config.in" source "package/bcache-tools/Config.in" source "package/biosdevname/Config.in"package/am335x-pru-package/0001-install-does-not-build.patch new file +0
-0
package/am335x-pru-package/0001-install-does-not-build.patch line 4
Quoted 4 lines
package/am335x-pru-package/0001-install-does-not-build.patch new file +4
-0@@ -0,0 +1,23 @@ +Makefile: do not force the release build on install + +If we did build any of the other targets, and are just interested +in those and not the relase one, we still want to use the 'install'
s/relase/release/
Committed with that fixed, thanks.
Signature · 1 line
Bye, Peter Korsgaard