mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 18:14:07 +08:00
1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
25 lines
630 B
Makefile
25 lines
630 B
Makefile
#
|
|
# linux/arch/arm/boot/bootp/Makefile
|
|
#
|
|
|
|
LDFLAGS_bootp :=-p --no-undefined -X \
|
|
--defsym initrd_phys=$(INITRD_PHYS) \
|
|
--defsym params_phys=$(PARAMS_PHYS) -T
|
|
AFLAGS_initrd.o :=-DINITRD=\"$(INITRD)\"
|
|
|
|
targets := bootp init.o kernel.o initrd.o
|
|
|
|
# Note that bootp.lds picks up kernel.o and initrd.o
|
|
$(obj)/bootp: $(src)/bootp.lds $(addprefix $(obj)/,init.o kernel.o initrd.o) FORCE
|
|
$(call if_changed,ld)
|
|
@:
|
|
|
|
# kernel.o and initrd.o includes a binary image using
|
|
# .incbin, a dependency which is not tracked automatically
|
|
|
|
$(obj)/kernel.o: arch/arm/boot/zImage FORCE
|
|
|
|
$(obj)/initrd.o: $(INITRD) FORCE
|
|
|
|
.PHONY: $(INITRD) FORCE
|