projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix build issues with SMP compiles
[oweals/openwrt.git]
/
openwrt
/
include
/
kernel.mk
diff --git
a/openwrt/include/kernel.mk
b/openwrt/include/kernel.mk
index 2c5d0937789c570ec2ce162c1658a5daba7ba291..318ca6869dc0d3012a47f09a50e850996935b03a 100644
(file)
--- a/
openwrt/include/kernel.mk
+++ b/
openwrt/include/kernel.mk
@@
-28,6
+28,11
@@
LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \
-e 's/armeb/arm/' \
)
+ifneq (,$(findstring uml,$(BOARD)))
+LINUX_KARCH="um"
+KERNEL_CROSS=
+endif
+
KERNEL_BUILD_DIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)
LINUX_DIR := $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)