diff options
author | Hamish Guthrie <hcg@openwrt.org> | 2008-10-09 11:33:47 +0000 |
---|---|---|
committer | Hamish Guthrie <hcg@openwrt.org> | 2008-10-09 11:33:47 +0000 |
commit | 34837ea2ddce6d22d90eda3ffe198c6ba6267167 (patch) | |
tree | b63c4b912b466b9b837c28c6662ccc7f8ec7068f /toolchain/kernel-headers | |
parent | efc3f8a1ef202b0ed250363696a12b24e9ccb361 (diff) | |
download | master-31e0f0ae-34837ea2ddce6d22d90eda3ffe198c6ba6267167.tar.gz master-31e0f0ae-34837ea2ddce6d22d90eda3ffe198c6ba6267167.tar.bz2 master-31e0f0ae-34837ea2ddce6d22d90eda3ffe198c6ba6267167.zip |
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
Diffstat (limited to 'toolchain/kernel-headers')
-rw-r--r-- | toolchain/kernel-headers/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index a182c83c1f..6e02fe9888 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -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))) |