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
Ximper Linux
mkimage-profiles
Commits
2b90dffa
Commit
2b90dffa
authored
Aug 22, 2011
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't override targets for no reason
parent
5c543410
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
13 deletions
+10
-13
Makefile
image.in/Makefile
+7
-8
Makefile
sub.in/stage1/Makefile
+3
-5
No files found.
image.in/Makefile
View file @
2b90dffa
...
...
@@ -32,16 +32,18 @@ else
GLOBAL_HSH_APT_CONFIG
=
$(APTCONF)
endif
# Metadata/ needed only for installers (and not for e.g. syslinux.iso)
ifneq
"$(STAGE1_KFLAVOUR)$(KFLAVOURS)"
""
METADATA
=
metadata
endif
include
$(MKIMAGE_PREFIX)/targets.mk
all
:
$(GLOBAL_DEBUG) prep copy-subdirs copy-tree run-scripts pack-image
\
$(GLOBAL_CLEAN_WORKDIR)
# Metadata/ needed only for installer (and not for e.g. syslinux.iso)
ifeq
"$(STAGE1_KFLAVOUR)$(KFLAVOURS)"
""
metadata
:
@
echo
"** skipping metadata target, no stage1 kernel installed"
else
prep
:
$(GLOBAL_DEBUG) dot-disk $(METADATA) $(IMAGEDIR)
metadata
:
dot-base
@
mkdir
-p
files/Metadata
@
rm
-f
files/Metadata/pkg-groups.tar
...
...
@@ -50,14 +52,11 @@ metadata: dot-base
$$(echo
$(call
list,$(GROUPS)
.base)
\
$(call
group,$(GROUPS))
\
|
sed
's,$(PKGDIR)/*,,g'
)
endif
dot-base
:
@
echo
-e
"# auto-added in image.in/Makefile"
>>
$
(
call list,.base
)
@
echo
"
$
(call kpackages,
$(KMODULES)
,
$(KFLAVOURS)
)"
>>
$
(
call list,.base
)
prep
:
$(GLOBAL_DEBUG) dot-disk metadata $(IMAGEDIR)
$(IMAGEDIR)
:
mkdir
-p
"
$(IMAGEDIR)
"
...
...
sub.in/stage1/Makefile
View file @
2b90dffa
...
...
@@ -27,10 +27,8 @@ include $(MKIMAGE_PREFIX)/targets.mk
STAGE1_KFLAVOUR
?=
$
(
lastword
$(KFLAVOURS)
)
# propagator needed iff stage1 kernel installed (not for e.g. syslinux.iso)
ifeq
"$(STAGE1_KFLAVOUR)"
""
build-propagator
:
@
echo
"** skipping build-propagator target, no kernel installed"
else
ifneq
"$(STAGE1_KFLAVOUR)"
""
BUILD_PROPAGATOR
=
build-propagator
CHROOT_PACKAGES_REGEXP
:=
$
(
call kpackages,
$(STAGE1_KMODULES_REGEXP)
,
$(STAGE1_KFLAVOUR)
)
INFO_STAGE1_KFLAVOUR
:=
$(STAGE1_KFLAVOUR)
endif
...
...
@@ -40,7 +38,7 @@ CHROOT_PACKAGES = $(STAGE1_PACKAGES) $(COMMON_PACKAGES)
# scripts prepare bootloader configuration, too
# NB: we pass tested squashfs options for ../install2/Makefile
all
:
| debug prepare-workdir copy-tree run-scripts
build-propagator
\
all
:
| debug prepare-workdir copy-tree run-scripts
$(BUILD_PROPAGATOR)
\
copy-$(BOOTLOADER) $(COPY_SQUASHCFG) pack-image $(GLOBAL_CLEAN_WORKDIR)
@
if
test
-s
$(OUTDIR)
/squashcfg.mk
;
then
\
cp
$(OUTDIR)
/squashcfg.mk
$(GLOBAL_BUILDDIR)
/
;
\
...
...
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