summaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorMichael Pratt <mcpratt@pm.me>2023-03-22 18:29:24 -0400
committerChristian Marangi <ansuelsmth@gmail.com>2023-05-04 06:07:27 +0200
commitfe33d5ba13370027165b9acf2bd895f5b4d9a4ea (patch)
treef02137c0b3f8012f96ddaa9f0a43e54c86dc8607 /rules.mk
parentc52d938481651b6f9e0a4087652c99b805716ed8 (diff)
downloadopenwrt-fe33d5ba13370027165b9acf2bd895f5b4d9a4ea.tar.gz
openwrt-fe33d5ba13370027165b9acf2bd895f5b4d9a4ea.tar.bz2
openwrt-fe33d5ba13370027165b9acf2bd895f5b4d9a4ea.zip
tools: add gnulib source
By having a local copy of gnulib, we can: import the latest macro fixes into any package, get rid of some statically stored macros that were otherwise missing, bootstrap GNU tools with the latest relevant source without having to wait for a release or rely on git submodules, and possibly more... The patch assists in bootstrapping by ignoring the building of po files using gettext, and also to allow a user-defined path to a program to include parameters. Signed-off-by: Michael Pratt <mcpratt@pm.me>
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index cc7904ac72..dcac49667b 100644
--- a/rules.mk
+++ b/rules.mk
@@ -358,6 +358,7 @@ ifeq ($(CONFIG_BUILD_LOG),y)
endif
export BISON_PKGDATADIR:=$(STAGING_DIR_HOST)/share/bison
+export HOST_GNULIB_SRCDIR:=$(STAGING_DIR_HOST)/share/gnulib
export M4:=$(STAGING_DIR_HOST)/bin/m4
define shvar