diff options
| -rw-r--r-- | meta-networking/recipes-support/linux-atm/linux-atm/0001-make-Add-PREFIX-knob.patch | 31 | ||||
| -rw-r--r-- | meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb | 7 |
2 files changed, 34 insertions, 4 deletions
diff --git a/meta-networking/recipes-support/linux-atm/linux-atm/0001-make-Add-PREFIX-knob.patch b/meta-networking/recipes-support/linux-atm/linux-atm/0001-make-Add-PREFIX-knob.patch new file mode 100644 index 0000000000..9c83ef0af4 --- /dev/null +++ b/meta-networking/recipes-support/linux-atm/linux-atm/0001-make-Add-PREFIX-knob.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | From 94cb952207e44a5c29578c9c56912190a5422876 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Sat, 23 Apr 2022 09:41:51 -0700 | ||
| 4 | Subject: [PATCH] make: Add PREFIX knob | ||
| 5 | |||
| 6 | This will be used to pass appropriate root prefix which is different | ||
| 7 | when using usrmerge | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 11 | --- | ||
| 12 | src/extra/Makefile.am | 8 ++++---- | ||
| 13 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
| 14 | |||
| 15 | --- a/src/extra/Makefile.am | ||
| 16 | +++ b/src/extra/Makefile.am | ||
| 17 | @@ -8,10 +8,10 @@ BUILT_SOURCES = pca200e.bin pca200e_ecd. | ||
| 18 | CLEANFILES = pca200e.bin pca200e_ecd.bin2 sba200e_ecd.bin2 | ||
| 19 | |||
| 20 | install-exec-hook: | ||
| 21 | - $(MKDIR_P) $(DESTDIR)/lib/firmware | ||
| 22 | - $(INSTALL_DATA) $(builddir)/pca200e.bin $(DESTDIR)/lib/firmware | ||
| 23 | - $(INSTALL_DATA) $(builddir)/pca200e_ecd.bin2 $(DESTDIR)/lib/firmware | ||
| 24 | - $(INSTALL_DATA) $(builddir)/sba200e_ecd.bin2 $(DESTDIR)/lib/firmware | ||
| 25 | + $(MKDIR_P) $(DESTDIR)$(ROOTPREFIX)/lib/firmware | ||
| 26 | + $(INSTALL_DATA) $(builddir)/pca200e.bin $(DESTDIR)$(ROOTPREFIX)/lib/firmware | ||
| 27 | + $(INSTALL_DATA) $(builddir)/pca200e_ecd.bin2 $(DESTDIR)$(ROOTPREFIX)/lib/firmware | ||
| 28 | + $(INSTALL_DATA) $(builddir)/sba200e_ecd.bin2 $(DESTDIR)$(ROOTPREFIX)/lib/firmware | ||
| 29 | |||
| 30 | %.bin %.bin2: %.data | ||
| 31 | objcopy -Iihex $< -Obinary $@.gz | ||
diff --git a/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb b/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb index effd7502ff..bb79b78568 100644 --- a/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb +++ b/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb | |||
| @@ -13,11 +13,11 @@ SRC_URI = "http://nchc.dl.sourceforge.net/project/${BPN}/${BPN}/${PV}/${BPN}-${P | |||
| 13 | file://0003-mpoad-Drop-old-hack-to-compile-with-very-old-glibc.patch \ | 13 | file://0003-mpoad-Drop-old-hack-to-compile-with-very-old-glibc.patch \ |
| 14 | file://0001-IFNAMSIZ-is-defined-in-net-if.h.patch \ | 14 | file://0001-IFNAMSIZ-is-defined-in-net-if.h.patch \ |
| 15 | file://0001-saaldump-atmdump-Include-linux-sockios.h-for-SIOCGST.patch \ | 15 | file://0001-saaldump-atmdump-Include-linux-sockios.h-for-SIOCGST.patch \ |
| 16 | file://0001-make-Add-PREFIX-knob.patch \ | ||
| 16 | " | 17 | " |
| 17 | 18 | ||
| 18 | SRC_URI:append:libc-musl = " file://musl-no-on_exit.patch" | 19 | SRC_URI:append:libc-musl = " file://musl-no-on_exit.patch" |
| 19 | 20 | ||
| 20 | SRC_URI[md5sum] = "d49499368c3cf15f73a05d9bce8824a8" | ||
| 21 | SRC_URI[sha256sum] = "9645481a2b16476b59220aa2d6bc5bc41043f291326c9b37581018fbd16dd53a" | 21 | SRC_URI[sha256sum] = "9645481a2b16476b59220aa2d6bc5bc41043f291326c9b37581018fbd16dd53a" |
| 22 | 22 | ||
| 23 | LIC_FILES_CHKSUM = "\ | 23 | LIC_FILES_CHKSUM = "\ |
| @@ -27,7 +27,6 @@ file://COPYING.LGPL;md5=6e29c688d912da12b66b73e32b03d812" | |||
| 27 | 27 | ||
| 28 | inherit autotools pkgconfig | 28 | inherit autotools pkgconfig |
| 29 | 29 | ||
| 30 | # The firmware is explicitly put under /lib when installed. | 30 | EXTRA_OEMAKE += "ROOTPREFIX=${root_prefix}" |
| 31 | # | ||
| 32 | 31 | ||
| 33 | FILES:${PN} += "/lib/firmware" | 32 | FILES:${PN} += "${nonarch_base_libdir}/firmware" |
