Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lede-mikrotik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External 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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Rudolph
lede-mikrotik
Commits
652fa86f
Commit
652fa86f
authored
16 years ago
by
Andy Boyett
Browse files
Options
Downloads
Patches
Plain Diff
grub: Natively build grub only on x86 linux hosts, cross compile everywhere else. - Closes #3560
SVN-Revision: 11542
parent
cbea3772
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
package/grub/Makefile
+10
-4
10 additions, 4 deletions
package/grub/Makefile
with
10 additions
and
4 deletions
package/grub/Makefile
+
10
−
4
View file @
652fa86f
#
# Copyright (C) 2006 OpenWrt.org
#
# Copyright (C) 2006
-2008
OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
...
...
@@ -30,7 +30,13 @@ define Package/grub
URL
:=
http://www.gnu.org/software/grub/
endef
ifeq
($(HOST_ARCH),x86_64)
ifeq
($(HOST_OS),Linux)
NATIVEGRUB-i386
:=
1
NATIVEGRUB-i686
:=
1
NATIVEGRUB
:=
$(
NATIVEGRUB-
$(
HOST_ARCH
))
endif
ifeq
($(NATIVEGRUB),)
CONFIGURE_FLAGS
:=
\
--target
=
$(
GNU_TARGET_NAME
)
\
--host
=
$(
GNU_TARGET_NAME
)
\
...
...
@@ -62,7 +68,7 @@ define Build/Configure
endef
#
# ./configure detects whether the host compiler supports
# ./configure detects whether the host compiler supports
# -fno-stack-protector but only sets STAGE2_CFLAGS accordingly
#
define
Build/Compile
...
...
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