Function: ede-linux--get-architecture
ede-linux--get-architecture is a byte-compiled function defined in
linux.el.gz.
Signature
(ede-linux--get-architecture DIR BDIR)
Documentation
Try to auto-detect the architecture as configured in BDIR.
Uses ede-linux--detect-architecture for the auto-detection.
If the result is ask, let the user choose from architectures
found in DIR.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/ede/linux.el.gz
(defun ede-linux--get-architecture (dir bdir)
"Try to auto-detect the architecture as configured in BDIR.
Uses `ede-linux--detect-architecture' for the auto-detection.
If the result is `ask', let the user choose from architectures
found in DIR."
(let ((arch (ede-linux--detect-architecture bdir)))
(cl-case arch
(ask
(completing-read "Select target architecture: "
(ede-linux--get-archs dir)))
(t arch))))