Fixes accidental generation of drvers/dahdi/$(obj)

If we tell Kbuild (at least of some versions) that the host program is
$obj/makefw , it will attempt to create the full path of $(obj) for it
under the current $(obj).


git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9630 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
Tzafrir Cohen 2011-01-16 17:21:16 +00:00
parent 69f3c96690
commit 11edb7d2b5

View File

@ -135,7 +135,7 @@ endif
$(obj)/pciradio.o: $(obj)/radfw.h $(obj)/pciradio.o: $(obj)/radfw.h
$(obj)/tor2.o: $(obj)/tor2fw.h $(obj)/tor2.o: $(obj)/tor2fw.h
hostprogs-y := $(obj)/makefw hostprogs-y := makefw
$(obj)/tor2fw.h: $(src)/tormenta2.rbt $(obj)/makefw $(obj)/tor2fw.h: $(src)/tormenta2.rbt $(obj)/makefw
$(obj)/makefw $< tor2fw > $@ $(obj)/makefw $< tor2fw > $@