Skip to contentSkip to conversation

ltp-ddt: Add Arago tweaks

PATCH In review Franklin S. Cooper Jr 2 participants 2 messages Oct 5, 2012

lore
Share & tools
lore
#0 lore raw

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
new file mode 100644
index 0000000..65a16f9
@@ -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
Acked-by on v1 1/1
#1 lore raw
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.

---
 .../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 -0

ddt_0.0.4.bbappend b/meta-arago-distro/recipes-devtools/ltp- ddt/ltp-ddt_0.0.4.bbappend
new file mode 100644
index 0000000..65a16f9

meta-arago-distro/recipes-devtools/ltp-ddt/ltp- new file +0 -0

ddt_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 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

meta-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 override do_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