[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patch-gnuradio] [PATCH] fix usrp host include path
From: |
Maitland Bottoms |
Subject: |
[Patch-gnuradio] [PATCH] fix usrp host include path |
Date: |
Sat, 1 Oct 2011 00:12:22 -0400 |
Sorry I misssed the window between 3.4.0 and 3.4.1 to get this
trivial fix in. As long as you're supporting automake along
with CMake, please consider adding this trivial bugfix patch.
I happen to build gnuradio in a separate build directory rather
than the regular building in place. So I hit an error when
make couldn't find the source file usrp_dbid.h where it was looking.
I think the bug is in usrp/host/lib/Makefile.am, in that it
specified $(abs_top_builddir) - when I really think it should
say $(top_srcdir) in the path assigned to BUILT_SOURCES.
Using this patch makes the build work for me. And building
in place still works too!
-Maitland
enc:
2011-09-30 "A. Maitland Bottoms" <address@hidden> (tiny change)
* fix usrp host include path
>From 97b91caa3a3f0c5b0a3b531009475824c82edffd Mon Sep 17 00:00:00 2001
From: A. Maitland Bottoms <address@hidden>
Date: Fri, 30 Sep 2011 22:53:00 -0400
Subject: [PATCH] fix usrp host include path
---
usrp/host/lib/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/usrp/host/lib/Makefile.am b/usrp/host/lib/Makefile.am
index 96ab558..9803acc 100644
--- a/usrp/host/lib/Makefile.am
+++ b/usrp/host/lib/Makefile.am
@@ -46,7 +46,7 @@ EXTRA_DIST += \
std_paths.h.in \
usrp_dbid.dat
-BUILT_SOURCES += $(abs_top_builddir)/usrp/host/include/usrp/usrp_dbid.h
+BUILT_SOURCES += $(top_srcdir)/usrp/host/include/usrp/usrp_dbid.h
BUILT_SOURCES += usrp_dbid.cc \
usrp_dbid.py
--
1.7.2.5
- [Patch-gnuradio] [PATCH] fix usrp host include path,
Maitland Bottoms <=