diff mbox

gpm: avoid use of host emacs

Message ID 5cc51818c93e8e6c44ac6e47e61a858d9f9295da.1425039600.git.baruch@tkos.co.il
State Accepted
Commit c6c8fbcdf4f89100238d89d393689df1c72f1647
Headers show

Commit Message

Baruch Siach Feb. 27, 2015, 12:20 p.m. UTC
configure looks for emacs installation to byte compile .el files. This may
break the build if the host installed emacs is missing needed dependencies.
Since we don't (yet?) package emacs for target, just disable detection of
emacs.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/gpm/gpm.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Peter Korsgaard Feb. 27, 2015, 1:48 p.m. UTC | #1
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

 > configure looks for emacs installation to byte compile .el files. This may
 > break the build if the host installed emacs is missing needed dependencies.
 > Since we don't (yet?) package emacs for target, just disable detection of
 > emacs.

 > Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Committed, thanks.
diff mbox

Patch

diff --git a/package/gpm/gpm.mk b/package/gpm/gpm.mk
index dcf075a9c636..dee620811308 100644
--- a/package/gpm/gpm.mk
+++ b/package/gpm/gpm.mk
@@ -15,7 +15,8 @@  GPM_DEPENDENCIES = host-bison
 # if not already installed in staging dir, gpm Makefile may fail to find some
 # of the headers needed to generate build dependencies, the first time it is
 # built. CPPFLAGS is used to pass the right include path to dependency rules.
-GPM_CONF_ENV = CPPFLAGS="$(TARGET_CPPFLAGS) -I$(@D)/src/headers/"
+GPM_CONF_ENV = CPPFLAGS="$(TARGET_CPPFLAGS) -I$(@D)/src/headers/" \
+			   ac_cv_path_emacs=no
 
 # For some reason, Microblaze gcc does not define __ELF__, which gpm
 # configure script uses to determine whether the architecture uses ELF