Home | History | Annotate | Download | only in emacs

Lines Matching refs:topdir

55 (defun android-find-makefile (topdir)
59 TOPDIR is the root directory of the build.
61 MAKEFILE_PATH is the relative path of the makefile wrt TOPDIR.
63 ;; TODO: Could check that topdir is the start of default-directory.
64 (unless (> (length topdir) 2)
65 (error "Topdir invalid %s for current dir %s" topdir default-directory))
69 (while (and (> (length default-directory) (length topdir))
78 (if (string= default-directory topdir)
81 (setq default-directory (substring default-directory (length topdir) nil))
146 (let* ((topdir (android-find-build-tree-root))
147 (makefile (android-find-makefile topdir))
150 (unless (file-exists-p (concat topdir "buildspec.mk"))
151 (error "buildspec.mk missing in %s." topdir))
158 (concat "make -C " topdir options) ; Build the whole image.
160 " make -C " topdir options " files ")))