summaryrefslogtreecommitdiffstats
path: root/package/gawk/gawk.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/gawk/gawk.mk')
-rw-r--r--package/gawk/gawk.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/gawk/gawk.mk b/package/gawk/gawk.mk
index 445414b58..7fd85eea4 100644
--- a/package/gawk/gawk.mk
+++ b/package/gawk/gawk.mk
@@ -4,10 +4,15 @@
#
#############################################################
-GAWK_VERSION = 3.1.8
+GAWK_VERSION = 4.0.0
GAWK_SITE = $(BR2_GNU_MIRROR)/gawk
GAWK_TARGET_BINS = awk gawk igawk pgawk
+# Prefer full-blown gawk over busybox awk
+ifeq ($(BR2_PACKAGE_BUSYBOX),y)
+GAWK_DEPENDENCIES += busybox
+endif
+
define GAWK_CREATE_SYMLINK
ln -sf /usr/bin/gawk $(TARGET_DIR)/usr/bin/awk
endef