Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
INTsight
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lehrstuhl für Informatik 4 (Systemsoftware)
INTsight
Commits
872542b8
Commit
872542b8
authored
6 years ago
by
Luis Gerhorst
Browse files
Options
Downloads
Patches
Plain Diff
simplify Makefile
parent
a1a08deb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/x86/intsight/Makefile
+12
-8
12 additions, 8 deletions
arch/x86/intsight/Makefile
with
12 additions
and
8 deletions
arch/x86/intsight/Makefile
+
12
−
8
View file @
872542b8
# Path to linux sources relative to intsight root. Set this to your /path/to/linux-sources
# Path to linux sources relative to intsight root. Set this to your /path/to/linux-sources
KDIR
=
/path/to/linux
KDIR
=
/path/to/linux
VMHD
=
/path/to/
vmhd.img
VMHD
=
vmhd.img
DIR
=
arch
/
arm/intsight
BZIMAGE
=
$(
K
DIR
)
/
arch/
x86_64/boot/bzImage
ROOT
=
../../..
INTSIGHT_
ROOT
=
../../..
all
:
update-injected-files
.PHONY
:
all clean update-injected-files test
cd
$(
ROOT
)
&&
$(
MAKE
)
-j
4 bzImage
-C
$(
KDIR
)
all
:
$(BZIMAGE)
$(BZIMAGE)
:
cd
$(
INTSIGHT_ROOT
)
&&
$(
MAKE
)
-j
4 bzImage
-C
$(
KDIR
)
update-injected-files
:
update-injected-files
:
cd
$(
ROOT
)
&&
./update-files.sh
$(
KDIR
)
cd
$(
INTSIGHT_
ROOT
)
&&
./update-files.sh
$(
KDIR
)
clean
:
clean
:
rm
-f
*
.o .
*
.o.cmd
rm
-f
*
.o .
*
.o.cmd
test
:
all
test
:
$(BZIMAGE) $(VMHD)
kvm
-m
4096
-smp
4
-nodefaults
-nographic
\
kvm
-m
4096
-smp
4
-nodefaults
-nographic
\
-echr
0x01
\
-echr
0x01
\
-serial
mon:stdio
\
-serial
mon:stdio
\
-net
user,hostfwd
=
tcp::22108-:22
\
-net
user,hostfwd
=
tcp::22108-:22
\
-net
nic,model
=
virtio
-net
user
\
-net
nic,model
=
virtio
-net
user
\
-drive
file
=
$(
VMHD
)
,if
=
virtio,cache
=
writeback
\
-drive
file
=
$(
VMHD
)
,if
=
virtio,cache
=
writeback
\
-kernel
$(
KDIR
)
/arch/x86_64/boot/bzImage
-append
"console=ttyS0 priority=low root=/dev/vda1"
-kernel
$(
BZIMAGE
)
-append
"console=ttyS0 priority=low root=/dev/vda1"
"
$@
"
"
$@
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment