jimtcl: update config.guess / config.sub
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 6 Nov 2017 14:17:09 +0000 (15:17 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 8 Nov 2017 12:34:31 +0000 (13:34 +0100)
Fixes:
http://autobuild.buildroot.net/results/284/284876bd649cab26e5ecd696c03c71c077ea7411/

The build system doesn't use autotools, but does use an old version of
gnuconfig which doesn't know all the architectures supported by Buildroot,
so update config.guess / config.sub like we do in pkg-autotools.mk

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/jimtcl/jimtcl.mk

index 313970d94a13daf754149332f1a66866a82876f1..68c8a914db884e4c5af415231c8be6b345012278 100644 (file)
@@ -38,6 +38,12 @@ define JIMTCL_INSTALL_LIB
 endef
 endif
 
+# build system doesn't use autotools, but does use an old version of
+# gnuconfig which doesn't know all the architectures supported by
+# Buildroot, so update config.guess / config.sub like we do in
+# pkg-autotools.mk
+JIMTCL_POST_PATCH_HOOKS += UPDATE_CONFIG_HOOK
+
 define JIMTCL_CONFIGURE_CMDS
        (cd $(@D); \
                $(TARGET_CONFIGURE_OPTS) CCACHE=none \