Makefile: apply xtensa specific TARGET_SKELETON_PATCH if available
authorMaxim Grigoriev <maxim2405@gmail.com>
Fri, 24 Jul 2009 00:37:06 +0000 (02:37 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 24 Jul 2009 00:37:06 +0000 (02:37 +0200)
Part of #163.

Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Makefile

index 76dd2cdf0f0211c7cd449c323f9b785a1abca80c..f039f13d1f55b3695126aae913027a6d0fea6580 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -332,6 +332,9 @@ $(PROJECT_BUILD_DIR)/.root:
                if [ -d "$(TARGET_SKELETON)" ]; then \
                        cp -fa $(TARGET_SKELETON)/* $(TARGET_DIR)/; \
                fi; \
+               if [ -d "$(TARGET_SKELETON_PATCH)" ]; then \
+                       toolchain/patch-kernel.sh $(TARGET_DIR) $(TARGET_SKELETON_PATCH)/ \*patch\*; \
+               fi; \
                touch $(STAGING_DIR)/.fakeroot.00000; \
        fi
        -find $(TARGET_DIR) -type d -name CVS -o -name .svn -print0 | xargs -0 rm -rf