%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/cedet/ede/ |
Current File : //usr/local/share/emacs/27.2/lisp/cedet/ede/linux.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\304\305\306\307\310\311\310\301\312\313& \210\314\315\316\317\312\320\310\305\321\322& \210\314\323\324\325\312\320\310\305\321\326& \210\314\327\330\331\310\305\321\332&\210\314\333\334\335\310\305\321\332&\207" [require ede ede/make semantic/db custom-declare-group project-linux nil "File and tag browser frame." :group tools :version "24.3" custom-declare-variable project-linux-build-directory-default 'ask "Build directory." "24.4" :type (choice (const :tag "Same as source directory" same) (const :tag "Ask the user" ask)) project-linux-architecture-default 'ask "Target architecture to assume when not auto-detected." (choice (string :tag "Architecture name") (const :tag "Ask the user" ask)) project-linux-compile-target-command (concat ede-make-command " -k -C %s SUBDIRS=%s") "Default command used to compile a target." string project-linux-compile-project-command (concat ede-make-command " -k -C %s") "Default command used to compile a project."] 10) #@50 Find the Linux version for the Linux src in DIR. (defalias 'ede-linux-version #[(dir) "\306\307!rq\210\310 \210\311 !\312\313\314\315\316$\210eb\210\314\211\211\317\320!\210\321\322!\317\323!\210\321\322!\317\324!\210\321\322! \325\f\325\260\326!\210-\207" [buff dir default-directory sub minor major get-buffer-create " *linux-query*" erase-buffer file-name-as-directory insert-file-contents "Makefile" nil 0 512 re-search-forward "^VERSION *= *\\([0-9.]+\\)" match-string 1 "^PATCHLEVEL *= *\\([0-9.]+\\)" "^SUBLEVEL *= *\\([0-9.]+\\)" "." kill-buffer] 5 (#$ . 1426)]) (byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\316\317$\207" [defalias ede-linux-project-p eieio-make-class-predicate ede-linux-project ede-linux-project--eieio-childp eieio-make-child-predicate ede-linux-project-child-p make-obsolete "use (cl-typep ... \\='ede-linux-project) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (ede-project) ((build-directory :initarg :build-directory :type string :documentation "Build directory.") (architecture :initarg :architecture :type string :documentation "Target architecture.") (include-path :initarg :include-path :type list :documentation "Include directories.\nContains both common and target architecture-specific directories.")) (:documentation "Project Type for the Linux source code." :method-invocation-order :depth-first)] 6) #@56 Create a new object of class type `ede-linux-project'. (defalias 'ede-linux-project #[(&rest slots) "\301\302\303#\207" [slots apply make-instance ede-linux-project] 4 (#$ . 2904)]) (byte-code "\300\301\302\303#\300\207" [function-put ede-linux-project compiler-macro ede-linux-project--anon-cmacro] 4) (defalias 'ede-linux-project--anon-cmacro #[(whole &rest slots) "@;\204 \207\302\303\304@ @# @\305@DABB\"\207" [slots whole macroexp--warn-and-return format "Obsolete name arg %S to constructor %S" identity] 5]) #@145 Detect build directory for sources in DIR. If DIR has not been used as a build directory, fall back to `project-linux-build-directory-default'. (defalias 'ede-linux--get-build-directory #[(dir) "\302\303\304\"!\203 \206 \305\267\202 \207\306\307\"\207\310\207" [dir project-linux-build-directory-default file-exists-p expand-file-name ".config" #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (same 19 ask 21)) read-directory-name "Select Linux' build directory: " nil] 4 (#$ . 3433)]) #@51 Return a list of architecture names found in DIR. (defalias 'ede-linux--get-archs #[(dir) "\303\304\"\305\306\n!\203 \307\310\311\n!\"\210 *\207" [dir archs archs-dir expand-file-name "arch" nil file-directory-p mapc #[(elem) "\303\230?\205- \304\230?\205- \305\230?\205- \306\307 \"!\205- \n\235\203&