|
@@ -15,6 +15,14 @@ NEARD_AUTORECONF = YES
|
|
|
NEARD_AUTORECONF_OPTS = --include=$(HOST_DIR)/share/autoconf-archive
|
|
|
NEARD_CONF_OPTS = --disable-traces
|
|
|
|
|
|
+# Autoreconf is missing the m4/ directory, which might actually be missing
|
|
|
+# iff it was the first argument, but unfortunately we are overriding the
|
|
|
+# first include directory above. Thus we need that hook here.
|
|
|
+define NEARD_CREATE_M4
|
|
|
+ mkdir -p $(@D)/m4
|
|
|
+endef
|
|
|
+NEARD_POST_PATCH_HOOKS += NEARD_CREATE_M4
|
|
|
+
|
|
|
ifeq ($(BR2_PACKAGE_NEARD_TOOLS),y)
|
|
|
NEARD_CONF_OPTS += --enable-tools
|
|
|
endif
|