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

SVN-Revision: 12933
v19.07.3_mercusys_ac12_duma
Hamish Guthrie 16 years ago
parent efc3f8a1ef
commit 34837ea2dd

@ -33,9 +33,11 @@ define Build/Configure/cris
endef
define Build/Configure/powerpc
$(CP) $(PKG_BUILD_DIR)/include/asm-ppc/* $(PKG_BUILD_DIR)/include/asm-powerpc/
rm -rf $(PKG_BUILD_DIR)/include/asm-ppc
ln -s $(PKG_BUILD_DIR)/include/asm-powerpc $(PKG_BUILD_DIR)/include/asm-ppc
if [ -d $(PKG_BUILD_DIR)/include/asm-ppc ]; then \
$(CP) $(PKG_BUILD_DIR)/include/asm-ppc/* $(PKG_BUILD_DIR)/include/asm-powerpc/; \
rm -rf $(PKG_BUILD_DIR)/include/asm-ppc; \
ln -s $(PKG_BUILD_DIR)/include/asm-powerpc $(PKG_BUILD_DIR)/include/asm-ppc; \
fi
endef
ifneq (,$(findstring uml,$(BOARD)))

Loading…
Cancel
Save