| Makefile (9d63bcb87157c90899525d9db25b37106cd0afe3) | Makefile (a3fb655027c33a9281d3b813798b15bdf1e75d43) |
|---|---|
| 1# 2# This file is subject to the terms and conditions of the GNU General Public 3# License. 4# 5# Adapted for MIPS Pete Popov, Dan Malek 6# 7# Copyright (C) 1994 by Linus Torvalds 8# Adapted for PowerPC by Gary Thomas --- 158 unchanged lines hidden (view full) --- 167 168$(objboot)/vmlinuz.srec: $(objtree)/vmlinuz 169 $(call cmd,objcopy) 170 171targets += ../uzImage.bin 172 173$(objboot)/uzImage.bin: $(objboot)/vmlinuz.bin FORCE 174 $(call if_changed,uimage,none) | 1# 2# This file is subject to the terms and conditions of the GNU General Public 3# License. 4# 5# Adapted for MIPS Pete Popov, Dan Malek 6# 7# Copyright (C) 1994 by Linus Torvalds 8# Adapted for PowerPC by Gary Thomas --- 158 unchanged lines hidden (view full) --- 167 168$(objboot)/vmlinuz.srec: $(objtree)/vmlinuz 169 $(call cmd,objcopy) 170 171targets += ../uzImage.bin 172 173$(objboot)/uzImage.bin: $(objboot)/vmlinuz.bin FORCE 174 $(call if_changed,uimage,none) |
| 175 176# 177# Flattened Image Tree (.itb) image 178# 179 180ifeq ($(ADDR_BITS),32) 181itb_addr_cells = 1 182endif 183ifeq ($(ADDR_BITS),64) 184itb_addr_cells = 2 185endif 186 187targets += ../vmlinuz.its.S 188 189quiet_cmd_its_cat = CAT $@ 190 cmd_its_cat = cat $(real-prereqs) >$@ 191 192$(objboot)/vmlinuz.its.S: $(addprefix $(srctree)/arch/mips/$(PLATFORM)/,$(ITS_INPUTS)) FORCE 193 $(call if_changed,its_cat) 194 195targets += ../vmlinuz.its 196 197quiet_cmd_cpp_its_S = ITS $@ 198 cmd_cpp_its_S = $(CPP) -P -C -o $@ $< \ 199 -DKERNEL_NAME="\"Linux $(KERNELRELEASE)\"" \ 200 -DVMLINUX_BINARY="\"$(2)\"" \ 201 -DVMLINUX_COMPRESSION="\"none\"" \ 202 -DVMLINUX_LOAD_ADDRESS=$(VMLINUZ_LOAD_ADDRESS) \ 203 -DVMLINUX_ENTRY_ADDRESS=$(VMLINUZ_LOAD_ADDRESS) \ 204 -DADDR_BITS=$(ADDR_BITS) \ 205 -DADDR_CELLS=$(itb_addr_cells) 206 207$(objboot)/vmlinuz.its: $(objboot)/vmlinuz.its.S FORCE 208 $(call if_changed,cpp_its_S,vmlinuz.bin) 209 210targets += ../vmlinuz.itb 211 212quiet_cmd_itb-image = ITB $@ 213 cmd_itb-image = \ 214 env PATH="$(objtree)/scripts/dtc:$(PATH)" \ 215 $(BASH) $(MKIMAGE) \ 216 -D "-I dts -O dtb -p 500 \ 217 --include $(objtree)/arch/mips \ 218 --warning no-unit_address_vs_reg" \ 219 -f $(2) $@ 220 221$(objboot)/vmlinuz.itb: $(objboot)/vmlinuz.its $(objboot)/vmlinuz.bin FORCE 222 $(call if_changed,itb-image,$<) |
|