ltp-ddt: Add Arago tweaks
PATCH 1/1 ltp-ddt: Add Arago tweaks
* Port tweaks from Arago
* AUTOREV the recipe to get the latest changes.
* Compile test kernel modules.
--- .../ltp-ddt/ltp-ddt_0.0.4.bbappend | 32 ++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) create mode 100644 meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend
meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend new file +32 -0
@@ -0,0 +1,32 @@ +PR_append = "-arago0+gitr${SRCPV}" + +# Auto rev so we pick up the latest changes +SRCREV = "${AUTOREV}" + +do_compile_kmodules() { + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + oe_runmake modules +} + +addtask compile_kmodules after do_compile before do_install + +# Grab a portion of the module.bbclass to provide the needed kernel application +# scripts/basic/fixdep. This issue is discussed in the following thread. +# http://lists.linuxtogo.org/pipermail/openembedded-core/2011-July/005536.html + +inherit module-base + +# +# Ensure the hostprogs are available for module compilation. Modules that +# inherit this recipe and override do_compile() should be sure to call +# do_make_scripts() or ensure the scripts are built independently. +# +do_make_scripts() { + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + oe_runmake CC="${KERNEL_CC}" LD="${KERNEL_LD}" AR="${KERNEL_AR}" \ + -C ${STAGING_KERNEL_DIR} scripts +} + +addtask make_scripts before do_compile +do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock" +do_make_scripts[deptask] = "do_populate_sysroot"
Signature · 1 line
1.7.0.4
Quoted 74 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Franklin S. Cooper Jr
Sent: Friday, October 05, 2012 1:51 AM
To: [email protected]
Subject: [meta-arago] [PATCH] ltp-ddt: Add Arago tweaks* Port tweaks from Arago
* AUTOREV the recipe to get the latest changes.
* Compile test kernel modules.Signed-off-by Franklin S. Cooper Jr <[email protected]>--- .../ltp-ddt/ltp-ddt_0.0.4.bbappend | 32 ++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) create mode 100644 meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend
(quoted diff) +0
-0ddt_0.0.4.bbappend b/meta-arago-distro/recipes-devtools/ltp- ddt/ltp-ddt_0.0.4.bbappend
new file mode 100644
index 0000000..65a16f9meta-arago-distro/recipes-devtools/ltp-ddt/ltp- new file +0
-0ddt_0.0.4.bbappend
meta-arago-distro/recipes-devtools/ltp-ddt/ltp- new file +13
-0@@ -0,0 +1,32 @@ +PR_append = "-arago0+gitr${SRCPV}" + +# Auto rev so we pick up the latest changes +SRCREV = "${AUTOREV}" + +do_compile_kmodules() { + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + oe_runmake modules +} + +addtask compile_kmodules after do_compile before do_install + +# Grab a portion of the module.bbclass to provide the neededkernel application
+#scripts/basic/fixdep. This issue is discussed in the following thread.
+# http://lists.linuxtogo.org/pipermail/openembedded-core/2011-
July/005536.htmlmeta-arago-distro/recipes-devtools/ltp-ddt/ltp- new file +5
-0+ +inherit module-base + +# +# Ensure the hostprogs are available for module compilation.Modules that
+# inherit this recipe and overridedo_compile()should be sure to call
+#do_make_scripts()or ensure the scripts are built independently.meta-arago-distro/recipes-devtools/ltp-ddt/ltp- new file +4
-0+# +do_make_scripts() { + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + oe_runmake CC="${KERNEL_CC}" LD="${KERNEL_LD}"AR="${KERNEL_AR}" \
meta-arago-distro/recipes-devtools/ltp-ddt/ltp- new file +6
-1+ -C ${STAGING_KERNEL_DIR} scripts +} + +addtask make_scripts before do_compile +do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock" +do_make_scripts[deptask] = "do_populate_sysroot" --1.7.0.4
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago