projects
/
openwrt
/
staging
/
chunkeey.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7770348
)
fix up the asm includes location for .27 when building kernel headers
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 29 Sep 2008 18:09:24 +0000
(18:09 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 29 Sep 2008 18:09:24 +0000
(18:09 +0000)
SVN-Revision: 12802
toolchain/kernel-headers/Makefile
patch
|
blob
|
history
diff --git
a/toolchain/kernel-headers/Makefile
b/toolchain/kernel-headers/Makefile
index 4443c43463e224fa1acb2f9bde0509d22f3391f4..a182c83c1ff76b44b5b862c64fc1f44fd19d10cf 100644
(file)
--- a/
toolchain/kernel-headers/Makefile
+++ b/
toolchain/kernel-headers/Makefile
@@
-53,6
+53,11
@@
define Build/Prepare
ln -sf linux-$(LINUX_VERSION) $(LINUX_HEADERS_DIR)
yes '' | $(KMAKE) oldconfig
$(KMAKE) include/linux/version.h include/asm
+ if [ -d $(PKG_BUILD_DIR)/arch/$(LINUX_KARCH)/include/asm ]; then \
+ $(CP) \
+ $(PKG_BUILD_DIR)/arch/$(LINUX_KARCH)/include/asm/. \
+ $(PKG_BUILD_DIR)/include/asm-$(LINUX_KARCH)/; \
+ fi
$(call Build/Configure/$(ARCH))
endef