automake: don't rely on STAGING_DIR_HOST 3291/head
authorMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 3 Oct 2016 12:52:59 +0000 (14:52 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Sun, 16 Oct 2016 15:49:13 +0000 (17:49 +0200)
commit06692e3c2454b18de73a78f247b26b6bef1bf984
tree3099d0e3d03e1c4c4c4d1b08fb699523bf3ea958
parent9e170ba2c0ef4cb6509420577f184985e2c2bd60
automake: don't rely on STAGING_DIR_HOST

We're currently preparing a change in LEDE that will change the host
staging dirs in a way that might break the sed commands used by the
automake Makefile. Change the command in a way that doesn't depend on the
path of the staging dir.

While it would be nicer to modify the configure script to use the correct
path in the first place, this doesn't work for the perl path, as perl is
used in shebang lines and must thus be an absolute path. Some scripts are
used both during build and on the target system, so fixing up the scripts
in the install step seems like the best option.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
devel/automake/Makefile