From edb5ca9c529804c449a5ff3a11607bd26eef394b Mon Sep 17 00:00:00 2001 From: Maxim Grigoriev Date: Fri, 24 Jul 2009 02:37:06 +0200 Subject: [PATCH] Makefile: apply xtensa specific TARGET_SKELETON_PATCH if available Part of #163. Signed-off-by: Maxim Grigoriev Signed-off-by: Peter Korsgaard --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 76dd2cdf0f..f039f13d1f 100644 --- 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