URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [mips/] [hp-lj/] [Makefile] - Rev 1765
Compare with Previous | Blame | View Log
#
# 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_KGDB) += 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