2 # Makefile for the HP specific kernel interface routines
5 # Note! Dependencies are done automagically by 'make dep', which also
6 # removes any old dependencies. DON'T put your own dependencies here
7 # unless it's something special (ie not a .c file).
10 USE_STANDARD_AS_RULE := true
16 export-objs := utils.o
18 obj-y := init.o setup.o irq.o int-handler.o pci.o utils.o asic.o
20 obj-$(CONFIG_KGDB) += gdb_hook.o
21 obj-$(CONFIG_DIRECT_PRINTK) += gdb_hook.o
23 obj-$(CONFIG_BLK_DEV_INITRD) += initrd.o
30 # package filesystem from rootfs directory into binary package
31 romfs.bin: forceit ./rootfs
32 @genromfs -d ./rootfs -f $@
34 # transform rootfs.bin into object file format for linking
36 @echo "" | $(CROSS_COMPILE)as -o $@
37 @$(CROSS_COMPILE)objcopy --add-section .initrd=$< $@
40 include $(TOPDIR)/Rules.make