Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
d1922af0
Commit
d1922af0
authored
May 12, 2012
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial frontend support
parent
9eae9d7b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
4 deletions
+16
-4
Makefile
Makefile
+1
-1
clean.mk
lib/clean.mk
+1
-1
help.mk
lib/help.mk
+14
-2
No files found.
Makefile
View file @
d1922af0
...
...
@@ -23,7 +23,7 @@ endif
# recursive make considered useful for m-p
MAKE
+=
-r
--no-print-directory
DIRECT_TARGETS
:=
clean distclean check
help
DIRECT_TARGETS
:=
clean distclean check
help
help
/distro
help
/ve
.PHONY
:
$(DIRECT_TARGETS)
$(DIRECT_TARGETS)
:
@
$(MAKE)
-f
main.mk
$@
...
...
lib/clean.mk
View file @
d1922af0
...
...
@@ -53,7 +53,7 @@ distclean: clean
# than BUILDDIR is -- usually it's unneeded afterwards so just zap it
postclean: build-image
@{ \
if [ "$(NUM_TARGETS)" -gt 1 -a -z "$(DEBUG)"
] ||
\
if [ "$(NUM_TARGETS)" -gt 1 -a -z "$(DEBUG)"
-a -z "$(__frontend)" ] ||
\
[ ! -L "$(SYMLINK)" -a "0$(DEBUG)" -lt 2 ]; then \
echo "$(TIME) cleaning up after build"; \
$(MAKE) -C "$(BUILDDIR)" distclean \
...
...
lib/help.mk
View file @
d1922af0
# this makefile holds the most helpful bits for the toplevel one
ifdef __frontend
define help_body
@for i in $(2); do echo $$i; done
endef
else
define help_body
@echo '** available $(1) targets:'; \
columnize $(2)
endef
endif
help = $(and $(2),$(help_body))
help/distro:
@echo '** available distribution targets:'; \
columnize $(sort $(DISTROS:distro/%=%))
$(call help,distribution,$(sort $(DISTROS:distro/%=%)))
help/ve:
@echo '** available virtual environment targets:'; \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment