clean up automake/pkg-config handling, move separate host/package variable exports to templates, fix automake path for host builds
SVN-Revision: 15339v19.07.3_mercusys_ac12_duma
parent
bb0448739c
commit
63129f9b4c
@ -1,10 +1,2 @@
|
||||
#!/usr/bin/env sh
|
||||
if [ -d ${STAGING_DIR}/host/share/aclocal ]; then
|
||||
aclocal_include_dirs="-I ${STAGING_DIR}/host/share/aclocal"
|
||||
else
|
||||
aclocal_include_dirs=
|
||||
fi
|
||||
if [ -d ${STAGING_DIR}/usr/share/aclocal ]; then
|
||||
aclocal_include_dirs="$aclocal_include_dirs -I ${STAGING_DIR}/usr/share/aclocal"
|
||||
fi
|
||||
aclocal.real $aclocal_include_dirs $@
|
||||
aclocal.real $ACLOCAL_INCLUDE $@
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
pkg-config.real $@ --define-variable=prefix=${STAGING_DIR}/usr/ --define-variable=exec_prefix=${STAGING_DIR}/usr/
|
||||
pkg-config.real $@ --define-variable=prefix=${STAGING_PREFIX}/ --define-variable=exec_prefix=${STAGING_PREFIX}/
|
||||
|
Loading…
Reference in New Issue