Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Openwrt Chaos Calmer Dev Edition 2015
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nounous-archives
Openwrt Chaos Calmer Dev Edition 2015
Commits
f72e9c88
Commit
f72e9c88
authored
18 years ago
by
nbd
Browse files
Options
Downloads
Patches
Plain Diff
fix x86 image builder
git-svn-id:
svn://svn.openwrt.org/openwrt/trunk@6100
3c298f89-4303-0410-b956-a3cf2f4a3e73
parent
b766f543
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
target/linux/x86-2.6/image/Makefile
+9
-4
9 additions, 4 deletions
target/linux/x86-2.6/image/Makefile
with
9 additions
and
4 deletions
target/linux/x86-2.6/image/Makefile
+
9
−
4
View file @
f72e9c88
...
...
@@ -36,11 +36,9 @@ ifeq ($(CONFIG_X86_GRUB_IMAGES),y)
define
Image/Build/grub
mkdir
-p
$(KDIR)/root.grub/boot/grub
$(CP)
\
$(STAGING_DIR)/usr/lib/grub/i386-pc/stage1
\
$(STAGING_DIR)/usr/lib/grub/i386-pc/stage2
\
$(STAGING_DIR)/usr/lib/grub/i386-pc/e2fs_stage1_5
\
$(KDIR)/*stage*
\
$(KDIR)/root.grub/boot/grub/
$(CP)
$(
LINUX_DIR)/arch/i386/boot
/bzImage
$(KDIR)/root.grub/boot/vmlinuz
$(CP)
$(
KDIR)
/bzImage
$(KDIR)/root.grub/boot/vmlinuz
sed
\
-e
's#@CMDLINE@#$(strip $(call Image/cmdline/$(1))) $(CONFIG_X86_GRUB_BOOTOPTS)#g'
\
-e
's#@BAUDRATE@#$(CONFIG_X86_GRUB_BAUDRATE)#g'
\
...
...
@@ -51,6 +49,13 @@ endif
define
Image/Prepare
cp
$(LINUX_DIR)/arch/i386/boot/bzImage
$(KDIR)/bzImage
# for the image builder
$(CP)
\
$(STAGING_DIR)/usr/lib/grub/i386-pc/stage1
\
$(STAGING_DIR)/usr/lib/grub/i386-pc/stage2
\
$(STAGING_DIR)/usr/lib/grub/i386-pc/e2fs_stage1_5
\
$(KDIR)/
$(CP)
$(STAGING_DIR)/usr/sbin/grub
$(STAGING_DIR)/bin
endef
define
Image/Build
...
...
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