I would suggest taking take the current ti-compat-wireless-wl18xx recipe put 
the bulk of the content in a ti-compat-wireless-wl18xx.inc and then have the 
current (one patch) and new recipes (another patch) override/set what they need.



> -----Original Message-----
> From: [email protected] [mailto:meta-arago-
> [email protected]] On Behalf Of Maupin, Chase
> Sent: Thursday, October 10, 2013 9:39 AM
> To: Monk, Roger; [email protected]
> Subject: Re: [meta-arago] [PATCH 01/11] ti-connectivity/ti-compat-wireless-
> wl18xx: Add Wilink8 r8.a7.02
> 
> Can you use --find-copies-harder when making these patches?  It will make this
> easier to review as an update to the existing recipe.
> 
> 
> >-----Original Message-----
> >From: [email protected] [mailto:meta-arago-
> >[email protected]] On Behalf Of Monk, Roger
> >Sent: Wednesday, October 09, 2013 7:57 PM
> >To: [email protected]
> >Subject: [meta-arago] [PATCH 01/11] ti-connectivity/ti-compat-
> >wireless-wl18xx: Add Wilink8 r8.a7.02
> >
> >   * Add v r8.a7.02 engineering release
> >   * This release supports the omap-a15 devices (omap5-evm/dra7-
> >evm) with ES 2.1 WL8
> >   * OMAP5432 UEVMs with the following SKU contain ES2.1 Wilink8 TDK
> >18xx module
> >      * OMAP5432x-xx-x1-xx
> >
> >Signed-off-by: Roger Monk <[email protected]>
> >---
> > .../ti-compat-wireless-wl18xx_r8.a7.02.bb          |   71
> >++++++++++++++++++++
> > 1 file changed, 71 insertions(+)
> > create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-
> >wireless/ti-compat-wireless-wl18xx_r8.a7.02.bb
> >
> >diff --git a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-
> >compat-wireless-wl18xx_r8.a7.02.bb b/meta-arago-extras/recipes-
> >bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a7.02.bb
> >new file mode 100644
> >index 0000000..295dd9c
> >--- /dev/null
> >+++ b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-
> >wireless-wl18xx_r8.a7.02.bb
> >@@ -0,0 +1,71 @@
> >+# This is a TI specific version of the compat-wireless recipe
> >using a
> >+# compat-wireless package created from the TI Systems Tested
> >mac80211 releases.
> >+
> >+DESCRIPTION = "ti compat-wireless drivers for wl18xx"
> >+HOMEPAGE = "https://gforge.ti.com/gf/project/ecs_nlcp/";
> >+SECTION = "kernel/modules"
> >+LICENSE = "GPLv2"
> >+LIC_FILES_CHKSUM =
> >"file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
> >+
> >+RDEPENDS_${PN} = "wireless-tools"
> >+
> >+PROVIDES += "ti-compat-wireless-wl12xx"
> >+RPROVIDES_${PN} += "ti-compat-wireless-wl12xx"
> >+RREPLACES_${PN} += "ti-compat-wireless-wl12xx"
> >+RCONFLICTS_${PN} += "ti-compat-wireless-wl12xx"
> >+
> >+COMPATIBLE_MACHINE = "(omap-a15)"
> >+
> >+PV = "r8.a7.02"
> >+inherit module
> >+
> >+PR = "${MACHINE_KERNEL_PR}"
> >+PR_append = "a"
> >+
> >+# Tags: ol_r8.a7.02
> >+SRCREV_wl18xx = "e611d18893fbd66f6c303e111955d8a732fd0c34"
> >+SRCREV_compat = "595b13b80f9b922d9e3a1c6e7b75c38b471b2b44"
> >+SRCREV_compat-wireless =
> >"40d5abd0fe6c89a2afd993f633924e716453a09e"
> >+
> >+SRCREV_FORMAT = "compat-wireless"
> >+
> >+S = "${WORKDIR}/compat-wireless"
> >+
> >+SRC_URI = "git://github.com/TI-OpenLink/compat-
> >wireless.git;destsuffix=compat-wireless;name=compat-wireless \
> >+           git://github.com/TI-
> >OpenLink/compat.git;destsuffix=compat;name=compat \
> >+           git://github.com/TI-
> >OpenLink/wl18xx.git;destsuffix=wl18xx;name=wl18xx \
> >+"
> >+
> >+EXTRA_OEMAKE = "KLIB_BUILD=${STAGING_KERNEL_DIR} KLIB=${D}"
> >+
> >+# Prevent sourceipk adjust_git function from running.
> >+# This preserves the git repo until driver-select is ran.
> >+
> >+adjust_git() {
> >+    :
> >+}
> >+
> >+do_configure() {
> >+    cd ${S}
> >+    GIT_TREE="${WORKDIR}/wl18xx"
> >GIT_COMPAT_TREE="${WORKDIR}/compat" ./scripts/admin-refresh.sh
> network
> >+    ./scripts/driver-select wl18xx
> >+
> >+    # Delete the .git repository since it should no longer be
> >needed.
> >+    #rm -rf ${S}/.git ${S}/.gitignore
> >+
> >+    # Now generate the sourceipk with the properly configured
> >sources
> >+    sourceipk_do_create_srcipk
> >+}
> >+
> >+do_configure_append() {
> >+    sed -i "s#@./scripts/update-initramfs## " Makefile }
> >+
> >+do_install() {
> >+    # Remove hardcoded references to host depmod
> >+    sed -i "s#@/sbin/depmod -a## " Makefile
> >+    sed -i "s#@/sbin/depmod -ae## " Makefile
> >+
> >+    # Install modules
> >+    oe_runmake DEPMOD=echo DESTDIR="${D}"
> INSTALL_MOD_PATH="${D}"
> >LDFLAGS="" install-modules
> >+}
> >--
> >1.7.9.5
> >
> >_______________________________________________
> >meta-arago mailing list
> >[email protected]
> >http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> [email protected]
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to