aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/linux-2.4/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-05-30 22:46:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-05-30 22:46:44 +0000
commit074f30b9a778fb5feaadd918d86e787f4e1788bd (patch)
tree9712dd6a3962e71a747b8406581ccd34f25772ac /target/linux/linux-2.4/Makefile
parentc920f2f62b719833d3a9724ccd943e5e0b7f6658 (diff)
downloadupstream-074f30b9a778fb5feaadd918d86e787f4e1788bd.tar.gz
upstream-074f30b9a778fb5feaadd918d86e787f4e1788bd.tar.bz2
upstream-074f30b9a778fb5feaadd918d86e787f4e1788bd.zip
split kernel patches into board dependend and generic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1122 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/linux-2.4/Makefile')
-rw-r--r--target/linux/linux-2.4/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/linux-2.4/Makefile b/target/linux/linux-2.4/Makefile
index 263339f3596..af06b1154e9 100644
--- a/target/linux/linux-2.4/Makefile
+++ b/target/linux/linux-2.4/Makefile
@@ -169,7 +169,8 @@ $(LINUX_DIR)/.unpacked: $(DL_DIR)/$(LINUX_SOURCE) $(DL_DIR)/$(LINUX_BINARY_WL_DR
touch $(LINUX_DIR)/.unpacked
$(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
- $(PATCH) $(LINUX_DIR) ./patches
+ [ -d ./patches/$(BOARD) ] && $(PATCH) $(LINUX_DIR) ./patches/$(BOARD)
+ $(PATCH) $(LINUX_DIR) ./patches/generic
touch $(LINUX_DIR)/.patched
$(LINUX_DIR)/.configured: $(LINUX_DIR)/.patched