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
1
Issues
1
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
7a3ab55d
Commit
7a3ab55d
authored
Jan 21, 2012
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
image.in/Makefile: fixed thinko regression
MKI_VERSION was tested against even before the config.mk that defines it got included. Ouch.
parent
0c97aaf8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Makefile
image.in/Makefile
+3
-2
No files found.
image.in/Makefile
View file @
7a3ab55d
...
@@ -14,6 +14,9 @@ include functions.mk
...
@@ -14,6 +14,9 @@ include functions.mk
ifeq
(,$(realpath
$(MKIMAGE_PREFIX)/config.mk))
ifeq
(,$(realpath
$(MKIMAGE_PREFIX)/config.mk))
$(error
please
apt-get
install
mkimage
and
have
a
look
at
QUICKSTART
as
well)
$(error
please
apt-get
install
mkimage
and
have
a
look
at
QUICKSTART
as
well)
endif
endif
include
$(MKIMAGE_PREFIX)/config.mk
ifeq
(-,$(shell
rpmvercmp
$(MKI_VERSION)
$(MKI_VER_MINIMAL)
|
tr
-d
[0-9]))
ifeq
(-,$(shell
rpmvercmp
$(MKI_VERSION)
$(MKI_VER_MINIMAL)
|
tr
-d
[0-9]))
$(info error
:
mkimage-$(MKI_VERSION) is too old
,
please upgrade)
$(info error
:
mkimage-$(MKI_VERSION) is too old
,
please upgrade)
$(error
mkimage
is
too
old,
$(MKI_VER_MINIMAL)
is
minimal
supported
version)
$(error
mkimage
is
too
old,
$(MKI_VER_MINIMAL)
is
minimal
supported
version)
...
@@ -23,8 +26,6 @@ $(info warning: mkimage-$(MKI_VERSION) is suboptimal, consider upgrading)
...
@@ -23,8 +26,6 @@ $(info warning: mkimage-$(MKI_VERSION) is suboptimal, consider upgrading)
$(warning
consider
upgrading
mkimage
to
$(MKI_VER_OPTIMAL)
or
better)
$(warning
consider
upgrading
mkimage
to
$(MKI_VER_OPTIMAL)
or
better)
endif
endif
include
$(MKIMAGE_PREFIX)/config.mk
# reconstruct instead of passing yet another variable
# reconstruct instead of passing yet another variable
IMAGE_LINK
:=
$(IMAGE_NAME)
.
$(IMAGE_TYPE)
IMAGE_LINK
:=
$(IMAGE_NAME)
.
$(IMAGE_TYPE)
IMAGE_OUTFILE
:=
$(IMAGE_NAME)
-
$(DATE)
-
$(ARCH)
.
$(IMAGE_TYPE)
IMAGE_OUTFILE
:=
$(IMAGE_NAME)
-
$(DATE)
-
$(ARCH)
.
$(IMAGE_TYPE)
...
...
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