patch-2.4.19 linux-2.4.19/arch/mips/hp-lj/Makefile

Next file: linux-2.4.19/arch/mips/hp-lj/asic.c
Previous file: linux-2.4.19/arch/mips/gt64120/momenco_ocelot/setup.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/mips/hp-lj/Makefile linux-2.4.19/arch/mips/hp-lj/Makefile
@@ -0,0 +1,42 @@
+#
+# Makefile for the HP specific kernel interface routines
+# under Linux.
+#
+# Note! Dependencies are done automagically by 'make dep', which also
+# removes any old dependencies. DON'T put your own dependencies here
+# unless it's something special (ie not a .c file).
+#
+
+USE_STANDARD_AS_RULE := true
+
+all: hp-lj.o
+
+O_TARGET := hp-lj.o
+
+export-objs := utils.o
+
+obj-y   := init.o setup.o irq.o int-handler.o pci.o utils.o asic.o
+
+obj-$(CONFIG_REMOTE_DEBUG) += gdb_hook.o
+obj-$(CONFIG_DIRECT_PRINTK) += gdb_hook.o
+
+obj-$(CONFIG_BLK_DEV_INITRD) += initrd.o
+
+clean:
+	rm *.o
+
+forceit:
+
+# package filesystem from rootfs directory into binary package
+romfs.bin: forceit ./rootfs
+	@genromfs -d ./rootfs -f $@
+
+# transform rootfs.bin into object file format for linking
+initrd.o: romfs.bin
+	@echo "" | $(CROSS_COMPILE)as -o $@
+	@$(CROSS_COMPILE)objcopy --add-section .initrd=$< $@
+
+
+include $(TOPDIR)/Rules.make
+
+.PHONY: forceit

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)