📄 makefile
字号:
## 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 := trueall: hp-lj.oO_TARGET := hp-lj.oexport-objs := utils.oobj-y := init.o setup.o irq.o int-handler.o pci.o utils.o asic.oobj-$(CONFIG_REMOTE_DEBUG) += gdb_hook.oobj-$(CONFIG_DIRECT_PRINTK) += gdb_hook.oobj-$(CONFIG_BLK_DEV_INITRD) += initrd.oclean: rm *.oforceit:# package filesystem from rootfs directory into binary packageromfs.bin: forceit ./rootfs @genromfs -d ./rootfs -f $@# transform rootfs.bin into object file format for linkinginitrd.o: romfs.bin @echo "" | $(CROSS_COMPILE)as -o $@ @$(CROSS_COMPILE)objcopy --add-section .initrd=$< $@include $(TOPDIR)/Rules.make.PHONY: forceit
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -