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
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Anton Palgunov
mkimage-profiles
Commits
94d2ca36
Commit
94d2ca36
authored
Nov 09, 2011
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
image.in/Makefile: phonytize targets
It is a current convention to prefer clearly phony targets (see the wiki page) so let's follow it here too.
parent
b85d82c2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
build-distro.mk
features.in/build-distro/lib/build-distro.mk
+1
-1
build-ve.mk
features.in/build-ve/lib/build-ve.mk
+2
-0
Makefile
image.in/Makefile
+4
-2
No files found.
features.in/build-distro/lib/build-distro.mk
View file @
94d2ca36
...
...
@@ -17,7 +17,7 @@ endif
all: $(GLOBAL_DEBUG) prep copy-subdirs copy-tree run-scripts pack-image \
postprocess $(GLOBAL_CLEAN_WORKDIR)
prep: $(GLOBAL_DEBUG) dot-disk $(METADATA)
$(IMAGEDIR)
prep: $(GLOBAL_DEBUG) dot-disk $(METADATA)
imagedir
metadata: dot-base
@mkdir -p files/Metadata
...
...
features.in/build-ve/lib/build-ve.mk
View file @
94d2ca36
...
...
@@ -9,3 +9,5 @@ IMAGE_PACKAGES = $(call list,$(BASE_LISTS)) \
all: $(GLOBAL_DEBUG) build-image copy-tree run-image-scripts pack-image \
postprocess $(GLOBAL_CLEAN_WORKDIR)
prep: imagedir
image.in/Makefile
View file @
94d2ca36
...
...
@@ -40,9 +40,11 @@ include $(MKIMAGE_PREFIX)/targets.mk
# specified only for the final image (target-specific)
pack-image
:
OUTDIR = $(IMAGEDIR)
pack-image
:
$(IMAGEDIR)
pack-image
:
imagedir
$(IMAGEDIR)
:
.PHONY
:
imagedir postprocess debug
imagedir
:
@
mkdir
-p
"
$(IMAGEDIR)
"
postprocess
:
...
...
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