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
509bb267
Commit
509bb267
authored
18 years ago
by
Felix Fietkau
Browse files
Options
Downloads
Patches
Plain Diff
make kernel_menuconfig work without target toolchain
SVN-Revision: 6312
parent
20db49bf
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+1
-1
1 addition, 1 deletion
Makefile
include/kernel-build.mk
+3
-2
3 additions, 2 deletions
include/kernel-build.mk
target/linux/Makefile
+1
-1
1 addition, 1 deletion
target/linux/Makefile
with
5 additions
and
4 deletions
Makefile
+
1
−
1
View file @
509bb267
...
@@ -114,7 +114,7 @@ menuconfig: scripts/config/mconf tmp/.config.in tmp/.config-target.in FORCE
...
@@ -114,7 +114,7 @@ menuconfig: scripts/config/mconf tmp/.config.in tmp/.config-target.in FORCE
$<
Config.in
$<
Config.in
kernel_menuconfig
:
.config FORCE
kernel_menuconfig
:
.config FORCE
$(
MAKE
)
target/linux-prepare
-
$(
MAKE
)
target/linux-prepare
$(
NO_TRACE_MAKE
)
-C
target/linux menuconfig
$(
NO_TRACE_MAKE
)
-C
target/linux menuconfig
package/%
:
tmp/.pkginfo tmp/.targetinfo FORCE
package/%
:
tmp/.pkginfo tmp/.targetinfo FORCE
...
...
This diff is collapsed.
Click to expand it.
include/kernel-build.mk
+
3
−
2
View file @
509bb267
...
@@ -92,7 +92,6 @@ define Kernel/Configure/2.6
...
@@ -92,7 +92,6 @@ define Kernel/Configure/2.6
endef
endef
define
Kernel/Configure/Default
define
Kernel/Configure/Default
@$(CP)
$(LINUX_CONFIG)
$(LINUX_DIR)/.config
@$(CP)
$(LINUX_CONFIG)
$(LINUX_DIR)/.config
$(
call
Kernel/Configure/
$(
KERNEL
))
endef
endef
define
Kernel/Configure
define
Kernel/Configure
$(
call
Kernel/Configure/Default
)
$(
call
Kernel/Configure/Default
)
...
@@ -163,6 +162,7 @@ define BuildKernel
...
@@ -163,6 +162,7 @@ define BuildKernel
$(LINUX_DIR)/.configured
:
$(LINUX_DIR)/.prepared $(LINUX_CONFIG)
$(LINUX_DIR)/.configured
:
$(LINUX_DIR)/.prepared $(LINUX_CONFIG)
$(
call Kernel/Configure
)
$(
call Kernel/Configure
)
$(
call Kernel/Configure/
$(
KERNEL
))
touch
$$
@
touch
$$
@
$(LINUX_DIR)/.modules
:
$(LINUX_DIR)/.configured
$(LINUX_DIR)/.modules
:
$(LINUX_DIR)/.configured
...
@@ -226,7 +226,8 @@ $(eval $(call shexport,Target/Description))
...
@@ -226,7 +226,8 @@ $(eval $(call shexport,Target/Description))
download
:
$(DL_DIR)/$(LINUX_SOURCE)
download
:
$(DL_DIR)/$(LINUX_SOURCE)
prepare
:
$(LINUX_DIR)/.configured $(TMP_DIR)/.kernel.mk
prepare
:
$(LINUX_DIR)/.configured $(TMP_DIR)/.kernel.mk
compile
:
$(LINUX_DIR)/.modules
compile
:
$(LINUX_DIR)/.modules
menuconfig
:
$(LINUX_DIR)/.configured FORCE
menuconfig
:
$(LINUX_DIR)/.prepared FORCE
$(
call Kernel/Configure
)
$(
MAKE
)
-C
$(
LINUX_DIR
)
$(
KERNEL_MAKEOPTS
)
menuconfig
$(
MAKE
)
-C
$(
LINUX_DIR
)
$(
KERNEL_MAKEOPTS
)
menuconfig
$(
SCRIPT_DIR
)
/config.pl
$(
LINUX_DIR
)
/.config
>
$(
PLATFORM_DIR
)
/config
$(
SCRIPT_DIR
)
/config.pl
$(
LINUX_DIR
)
/.config
>
$(
PLATFORM_DIR
)
/config
ifeq
($(KERNEL),2.6)
ifeq
($(KERNEL),2.6)
...
...
This diff is collapsed.
Click to expand it.
target/linux/Makefile
+
1
−
1
View file @
509bb267
...
@@ -19,7 +19,7 @@ compile:
...
@@ -19,7 +19,7 @@ compile:
install
:
install
:
$(
MAKE
)
-C
$(
BOARD
)
-
$(
KERNEL
)
install
$(
MAKE
)
-C
$(
BOARD
)
-
$(
KERNEL
)
install
menuconfig
:
prepare
menuconfig
:
$(
MAKE
)
-C
$(
BOARD
)
-
$(
KERNEL
)
menuconfig
$(
MAKE
)
-C
$(
BOARD
)
-
$(
KERNEL
)
menuconfig
clean
:
clean
:
...
...
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