Makefile: apply xtensa specific TARGET_SKELETON_PATCH if available

Part of #163.

Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Maxim Grigoriev 2009-07-24 02:37:06 +02:00 committed by Peter Korsgaard
parent adb9e905da
commit edb5ca9c52

View File

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