Skip to content
Snippets Groups Projects
Commit a860e07c authored by nbd's avatar nbd
Browse files

fix up the asm includes location for .27 when building kernel headers

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12802 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 086679e4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment