diff options
author | russell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-12-19 19:34:39 +0000 |
---|---|---|
committer | russell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-12-19 19:34:39 +0000 |
commit | b7f964b90c3fb286e4ec0e23cf164253a4da63a2 (patch) | |
tree | 3e72a8354c09acbb33091618f3be84035ccfe811 /Makefile | |
parent | 3277b9af1137aca9f05a324f957c1e32bcba7d1b (diff) |
There is an architectural issue with the way menuselect works in zaptel. If
the menuselect.makeopts file gets automatically created when running make, then
the Makefile does not get the contents of that file included. The bug exposed
itself where libnewt was not found, but we tried to build it anyway. This hack
prevents that from happening, but the larger issue needs to be addressed. It
can be fixed once the actual building of the modules and userspace tools are
done by sub Makefiles ...
(closes issue #11199)
Reported by: dimas
Patches:
newt_select_makefile.diff uploaded by tzafrir (license 46)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3528 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -255,7 +255,10 @@ UTILS += patgen pattest patlooptest hdlcstress hdlctest hdlcgen \ UTILSO = $(UTILS:%=%.o) -BINS:=fxotune fxstest sethdlc-new ztcfg ztdiag ztmonitor ztspeed zttest zttool ztscan +BINS:=fxotune fxstest sethdlc-new ztcfg ztdiag ztmonitor ztspeed zttest ztscan +ifeq (1,$(PBX_LIBNEWT)) + BINS+=zttool +endif BINS:=$(filter-out $(MENUSELECT_UTILS),$(BINS)) MAN_PAGES:=$(wildcard $(BINS:%=doc/%.8)) |