mirror of https://github.com/hak5/openwrt.git
fix up the asm includes location for .27 when building kernel headers
SVN-Revision: 12802lede-17.01
parent
77703482ff
commit
7bf353216c
|
@ -53,6 +53,11 @@ define Build/Prepare
|
||||||
ln -sf linux-$(LINUX_VERSION) $(LINUX_HEADERS_DIR)
|
ln -sf linux-$(LINUX_VERSION) $(LINUX_HEADERS_DIR)
|
||||||
yes '' | $(KMAKE) oldconfig
|
yes '' | $(KMAKE) oldconfig
|
||||||
$(KMAKE) include/linux/version.h include/asm
|
$(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))
|
$(call Build/Configure/$(ARCH))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue