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
4735a0f5
Commit
4735a0f5
authored
17 years ago
by
Eugene Konev
Browse files
Options
Downloads
Patches
Plain Diff
add external kernel tree support
SVN-Revision: 9584
parent
85b17a4e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Config.in
+5
-0
5 additions, 0 deletions
Config.in
include/kernel-defaults.mk
+10
-0
10 additions, 0 deletions
include/kernel-defaults.mk
with
15 additions
and
0 deletions
Config.in
+
5
−
0
View file @
4735a0f5
...
...
@@ -142,6 +142,11 @@ config SOURCE_FEEDS_REV
prompt "Revision for the source feed svn checkout" if BUILDOPTS
default ""
config EXTERNAL_KERNEL_TREE
string
prompt "Use external kernel tree" if DEVEL
default ""
source "toolchain/Config.in"
menuconfig BUILDSYSTEM_SETTINGS
...
...
This diff is collapsed.
Click to expand it.
include/kernel-defaults.mk
+
10
−
0
View file @
4735a0f5
...
...
@@ -32,11 +32,21 @@ endif
# defined in quilt.mk
Kernel/Patch
:
=$(Kernel/Patch/Default)
ifeq
($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
define
Kernel/Prepare/Default
bzcat
$(DL_DIR)/$(LINUX_SOURCE)
|
$(TAR)
-C
$(KERNEL_BUILD_DIR)
$(TAR_OPTIONS)
$(Kernel/Patch)
$(
if
$(
QUILT
)
,touch
$(
LINUX_DIR
)
/.quilt_used
)
endef
else
define
Kernel/Prepare/Default
mkdir
-p
$(KERNEL_BUILD_DIR)
if
[
-d
$(LINUX_DIR)
];
then
\
rmdir
$(LINUX_DIR);
\
fi
ln
-s
$(CONFIG_EXTERNAL_KERNEL_TREE)
$(LINUX_DIR)
endef
endif
define
Kernel/Configure/2.4
$(SED)
"s,\-mcpu=,\-mtune=,g;"
$(LINUX_DIR)/arch/mips/Makefile
...
...
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