mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 03:30:37 +02:00
The merge of ppc (32-bit headers) and powerpc (previously 64-bit only headers) has now been completed, so it build breaks if asm-ppc headers directory does not exist - this should fix this problem without being invasive
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12933 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
eecd8cc2a3
commit
78ba806154
@ -33,9 +33,11 @@ define Build/Configure/cris
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure/powerpc
|
define Build/Configure/powerpc
|
||||||
$(CP) $(PKG_BUILD_DIR)/include/asm-ppc/* $(PKG_BUILD_DIR)/include/asm-powerpc/
|
if [ -d $(PKG_BUILD_DIR)/include/asm-ppc ]; then \
|
||||||
rm -rf $(PKG_BUILD_DIR)/include/asm-ppc
|
$(CP) $(PKG_BUILD_DIR)/include/asm-ppc/* $(PKG_BUILD_DIR)/include/asm-powerpc/; \
|
||||||
ln -s $(PKG_BUILD_DIR)/include/asm-powerpc $(PKG_BUILD_DIR)/include/asm-ppc
|
rm -rf $(PKG_BUILD_DIR)/include/asm-ppc; \
|
||||||
|
ln -s $(PKG_BUILD_DIR)/include/asm-powerpc $(PKG_BUILD_DIR)/include/asm-ppc; \
|
||||||
|
fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifneq (,$(findstring uml,$(BOARD)))
|
ifneq (,$(findstring uml,$(BOARD)))
|
||||||
|
Loading…
Reference in New Issue
Block a user