summaryrefslogtreecommitdiff
path: root/packages/mgetty/mgetty_1.1.30.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mgetty/mgetty_1.1.30.bb')
-rw-r--r--packages/mgetty/mgetty_1.1.30.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/mgetty/mgetty_1.1.30.bb b/packages/mgetty/mgetty_1.1.30.bb
index e06249051f..2760b4717e 100644
--- a/packages/mgetty/mgetty_1.1.30.bb
+++ b/packages/mgetty/mgetty_1.1.30.bb
@@ -43,6 +43,11 @@ SRC_URI = "http://nslu.sf.net/downloads/mgetty_1.1.30.orig.tar.gz \
CFLAGS_prepend = "-DAUTO_PPP -DFIDO "
+# This is necessary because of the way the mgetty Makefile works,
+# it effectively recursively makes . - without passing MAKE the -e
+# flag. Oops.
+export MAKE = "make -e"
+
do_compile () {
cp ${WORKDIR}/policy.h ${WORKDIR}/voice-defs.h .
${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} \