summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-07-27 07:45:26 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-07-27 08:02:06 (GMT)
commitc43f21339e9417b5f6939e04e02089b445581102 (patch)
tree0c0d0b215820424e2260e48ef4cf1f785c993eea
parenta731c7d6235306a6ecb29ff7848682736fde7a7b (diff)
downloadbuildroot-c43f21339e9417b5f6939e04e02089b445581102.tar.gz
buildroot-c43f21339e9417b5f6939e04e02089b445581102.tar.bz2
at: fix configure cache issue with flex
Make sure flex is built before at if enabled, so it correctly detects it and doesn't populate tgt-config.cache with invalid values. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--CHANGES2
-rw-r--r--package/at/at.mk2
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 5aa39fb..2d3d32b 100644
--- a/CHANGES
+++ b/CHANGES
@@ -18,7 +18,7 @@
New packages: cgilua, copas, coxpcall, ffmpeg, libsvgtiny,
luafilesystem, luasocket, rings, wsapi, xavante, xterm
- Updated/fixed packages: alsa-lib, alsamixergui, avahi,
+ Updated/fixed packages: alsa-lib, alsamixergui, at, avahi,
berkeleydb, bash, blackbox, busybox, bzip2, cdrkit, cmake,
dash, dhcp, dialog, diffutils, distcc, dmalloc, dnsmasq,
dropbear, e2fsprogs, fbv, file, flex, fontconfig, gawk, gmpc,
diff --git a/package/at/at.mk b/package/at/at.mk
index 3eb99a4..57b7847 100644
--- a/package/at/at.mk
+++ b/package/at/at.mk
@@ -12,6 +12,8 @@ AT_INSTALL_TARGET = YES
# no install-strip / install-exec
AT_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
+AT_DEPENDENCIES = $(if $(BR2_PACKAGE_FLEX),flex)
+
AT_CONF_OPT = \
--with-jobdir=/var/spool/cron/atjobs \
--with-atspool=/var/spool/cron/atspool \