summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/linux-2.4/x86.mk
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/linux/linux-2.4/x86.mk')
-rw-r--r--openwrt/target/linux/linux-2.4/x86.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/openwrt/target/linux/linux-2.4/x86.mk b/openwrt/target/linux/linux-2.4/x86.mk
new file mode 100644
index 0000000000..8b308a0a52
--- /dev/null
+++ b/openwrt/target/linux/linux-2.4/x86.mk
@@ -0,0 +1,18 @@
+# $Id$
+
+# soekris specific kmod packages
+
+$(eval $(call KMOD_template,NATSEMI,natsemi,\
+ $(MODULES_DIR)/kernel/drivers/net/natsemi.o \
+,CONFIG_NATSEMI))
+$(eval $(call KMOD_template,WD1100,wd1100,\
+ $(MODULES_DIR)/kernel/drivers/char/wd1100.o \
+,CONFIG_WD1100))
+
+
+$(LINUX_BUILD_DIR)/bzImage: $(LINUX_DIR)/vmlinux
+ $(MAKE) -C $(LINUX_DIR) TOPDIR=$(LINUX_DIR) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) bzImage $(MAKE_TRACE)
+ cp -f $(LINUX_DIR)/arch/i386/boot/bzImage $@
+ touch $@
+
+compile: $(LINUX_BUILD_DIR)/bzImage