projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable CONFIG_PACKET built in the kernel, closes #687
[openwrt.git]
/
include
/
kernel.mk
diff --git
a/include/kernel.mk
b/include/kernel.mk
index
318ca68
..
db02ea2
100644
(file)
--- a/
include/kernel.mk
+++ b/
include/kernel.mk
@@
-29,8
+29,12
@@
LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \
)
ifneq (,$(findstring uml,$(BOARD)))
)
ifneq (,$(findstring uml,$(BOARD)))
-LINUX_KARCH="um"
-KERNEL_CROSS=
+ LINUX_KARCH:=um
+ KERNEL_CC:=$(HOSTCC)
+ KERNEL_CROSS:=
+else
+ KERNEL_CC:=$(TARGET_CC)
+ KERNEL_CROSS:=$(TARGET_CROSS)
endif
KERNEL_BUILD_DIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)
endif
KERNEL_BUILD_DIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)
This page took
0.023601 seconds
and
4
git commands to generate.