summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/linuxptp/linuxptp-2.0.ebuild')
-rw-r--r--net-misc/linuxptp/linuxptp-2.0.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-misc/linuxptp/linuxptp-2.0.ebuild b/net-misc/linuxptp/linuxptp-2.0.ebuild
index 716fbf22a46..3569ecc3c66 100644
--- a/net-misc/linuxptp/linuxptp-2.0.ebuild
+++ b/net-misc/linuxptp/linuxptp-2.0.ebuild
@@ -19,8 +19,14 @@ RDEPEND="${DEPEND}"
CONFIG_CHECK="~PPS ~NETWORK_PHY_TIMESTAMPING ~PTP_1588_CLOCK"
+pkg_setup() {
+ linux-info_pkg_setup
+}
+
src_compile() {
- export EXTRA_CFLAGS=${CFLAGS}
+ # parse needed additional CFLAGS
+ export MY_FLAGS=$(./incdefs.sh)
+ export EXTRA_CFLAGS="${CFLAGS} ${MY_FLAGS}"
emake CC="$(tc-getCC)" prefix=/usr mandir=/usr/share/man
}