Makefile
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:1k
- #
- # 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