projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable adminport feature of ipsec-tools (#2750)
[openwrt.git]
/
include
/
kernel.mk
diff --git
a/include/kernel.mk
b/include/kernel.mk
index
7486057
..
b413d84
100644
(file)
--- a/
include/kernel.mk
+++ b/
include/kernel.mk
@@
-23,11
+23,11
@@
else
endif
ifneq (,$(findstring uml,$(BOARD)))
endif
ifneq (,$(findstring uml,$(BOARD)))
- KERNEL_CC
:
=$(HOSTCC)
- KERNEL_CROSS
:
=
+ KERNEL_CC
?
=$(HOSTCC)
+ KERNEL_CROSS
?
=
else
else
- KERNEL_CC
:
=$(TARGET_CC)
- KERNEL_CROSS
:
=$(TARGET_CROSS)
+ KERNEL_CC
?
=$(TARGET_CC)
+ KERNEL_CROSS
?
=$(TARGET_CROSS)
endif
PATCH_DIR ?= ./patches$(shell [ -d "./patches-$(KERNEL_PATCHVER)" ] && printf -- "-$(KERNEL_PATCHVER)" || true )
endif
PATCH_DIR ?= ./patches$(shell [ -d "./patches-$(KERNEL_PATCHVER)" ] && printf -- "-$(KERNEL_PATCHVER)" || true )
@@
-51,13
+51,14
@@
endif
ifneq (,$(findstring uml,$(BOARD)))
LINUX_KARCH:=um
else
ifneq (,$(findstring uml,$(BOARD)))
LINUX_KARCH:=um
else
- LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \
- -e 's/mipsel/mips/' \
- -e 's/mipseb/mips/' \
- -e 's/powerpc/ppc/' \
- -e 's/sh[234]/sh/' \
- -e 's/armeb/arm/' \
- )
+ ifeq (,$(LINUX_KARCH))
+ LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \
+ -e 's/mipsel/mips/' \
+ -e 's/mipseb/mips/' \
+ -e 's/sh[234]/sh/' \
+ -e 's/armeb/arm/' \
+ )
+ endif
endif
endif
@@
-87,7
+88,10
@@
define ModuleAutoLoad
chmod 0755 $(2)/CONTROL/postinst; \
fi
endef
chmod 0755 $(2)/CONTROL/postinst; \
fi
endef
-
+
+ifeq ($(DUMP)$(TARGET_BUILD),)
+ -include $(LINUX_DIR)/.config
+endif
define KernelPackage
NAME:=$(1)
define KernelPackage
NAME:=$(1)
This page took
0.025894 seconds
and
4
git commands to generate.