Skip to contentSkip to conversation

gpm: avoid use of host emacs

PATCH New Baruch Siach 2 participants 2 messages Feb 27, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpm: avoid use of host emacs

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.

---
 package/gpm/gpm.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/gpm/gpm.mk +2 -1
index dcf075a9c636..dee620811308 100644
@@ -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
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 gpm: avoid use of host emacs

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> 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.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard