[Tizen-submit] 15549: Changes to Tizen:IVI:Release/openavb

noreply at tizen.org noreply at tizen.org
Wed Oct 9 11:46:47 GMT 2013


Hi,
Artem Bityutskiy have made the following changes to openavb in project Tizen:IVI:Release. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #15549

  submit:       Tizen:IVI:Release:build/openavb(cleanup) -> Tizen:IVI:Release


Message:
Submitter: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
Comments: Compile igb_avb with -DIGB_PTP, fixes TIVI-1875
Git project: profile/ivi/OpenAVB
Tag: submit/tizen/20131009.114720
Commit: 448d01f7be3e4fe4a7418b57c9dad85b01171dc9 packaging: updated changelog.

State:   new        2013-10-09T11:45:21 tizenrobot
Comment: <no comment>
changes files:
--------------
--- openavb.changes
+++ openavb.changes
@@ -0,0 +1,5 @@
+* Fri Sep 27 11:12:30 EEST 2013 Krisztian Litkey <krisztian.litkey at intel.com> - 20130418
+- Allow passing flags to kernel module compilation.
+- Compile kernel module with -DIGB_PTP.
+- Fixes TIVI-1875 (https://bugs.tizen.org/jira/browse/TIVI-1875).
+
@@ -7 +11,0 @@
-

spec files:
-----------
--- openavb.spec
+++ openavb.spec
@@ -11,7 +11,7 @@
 Name: openavb
 Version: 20130814
 Release: 1
-VCS:     profile/ivi/OpenAVB#submit/tizen/20130820.152305-0-gc024aa2d69e0d96e21f37d9de40607d7a42079ce
+VCS:     profile/ivi/OpenAVB#submit/tizen/20131009.114720-0-g448d01f7be3e4fe4a7418b57c9dad85b01171dc9
 License: Intel and GPL-2.0
 Group: Base/Utilities
 URL: https://github.com/intel-ethernet/Open-AVB
@@ -81,6 +81,8 @@
                grep '^processor *:' | wc -l`"
 [ -z "$NUM_CPUS" ] && NUM_CPUS=1
 
+CONFIG_OPTIONS="--enable-kmod-flags=EXTRA_CFLAGS=-DIGB_PTP"
+
 ./bootstrap && \
     %configure $CONFIG_OPTIONS && \
     make BUILD_KERNEL=%{kernel_moddir} clean && \

other changes:
--------------

++++++ openavb-20130814.tar.gz
--- configure.ac
+++ configure.ac
@@ -62,6 +62,14 @@
 AC_FUNC_STRNLEN
 AC_CHECK_FUNCS([ftruncate gettimeofday isascii memset munmap pow select socket strchr strdup strerror strstr strtol])
 
+# Check if any flags need to be passed on to the kernel module build.
+AC_ARG_ENABLE(kmod-flags,
+              [  --enable-kmod-flags      pass the given flags to the module build process],
+	      [IGB_KMOD_BUILD_FLAGS="$enableval"], [])
+
+AC_SUBST(IGB_KMOD_BUILD_FLAGS)
+
+
 AC_CONFIG_FILES([Makefile
                  kmod/Makefile
                  igb.pc])
--- kmod/Makefile.am
+++ kmod/Makefile.am
@@ -1,5 +1,5 @@
 all:
-	$(MAKE) -C igb
+	$(MAKE) V=1 -C igb $(IGB_KMOD_BUILD_FLAGS)
 
 install:
 	$(MAKE) -C igb install
--- packaging/openavb.changes
+++ packaging/openavb.changes
@@ -1,7 +1,11 @@
+* Fri Sep 27 11:12:30 EEST 2013 Krisztian Litkey <krisztian.litkey at intel.com> - 20130418
+- Allow passing flags to kernel module compilation.
+- Compile kernel module with -DIGB_PTP.
+- Fixes TIVI-1875 (https://bugs.tizen.org/jira/browse/TIVI-1875).
+
 * Wed Aug 14 10:20:28 EEST 2013 Krisztian Litkey <krisztian.litkey at intel.com> - 20130814
 - Rebased on upstream 41a0ca76 to compile on 3.10.4.
 - Packaging fixes to reduce rpmlint badness below the allowed threshold.
 
 * Mon Apr 15 10:20:28 EEST 2013 Krisztian Litkey <krisztian.litkey at intel.com> - 20130418
 - Preliminary packaging for tizen.
-
--- packaging/openavb.spec
+++ packaging/openavb.spec
@@ -80,8 +80,10 @@
                grep '^processor *:' | wc -l`"
 [ -z "$NUM_CPUS" ] && NUM_CPUS=1

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list