summaryrefslogtreecommitdiffstats
path: root/target/linux/ar531x-2.4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar531x-2.4/Makefile')
-rw-r--r--target/linux/ar531x-2.4/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/ar531x-2.4/Makefile b/target/linux/ar531x-2.4/Makefile
new file mode 100644
index 000000000..989bcc458
--- /dev/null
+++ b/target/linux/ar531x-2.4/Makefile
@@ -0,0 +1,17 @@
+include $(TOPDIR)/rules.mk
+
+LINUX_VERSION:=2.4.32
+LINUX_RELEASE:=1
+LINUX_KERNEL_MD5SUM:=38f4d0830e95a20f4bfed17622d5557c
+
+include ../rules.mk
+include ./config
+include ../generic-$(KERNEL)/modules.mk
+include ../kernel.mk
+
+$(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
+ [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches $(MAKE_TRACE)
+ [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches $(MAKE_TRACE)
+ @cp config $(LINUX_DIR)/.config
+ touch $@
+