Makefile.build (9a64e8e0ace51b309fdcff4b4754b3649250382a) | Makefile.build (4520c6a49af833c83de6c74525ce8e07bbe6d783) |
---|---|
1# ========================================================================== 2# Building 3# ========================================================================== 4 5src := $(obj) 6 7PHONY := __build 8__build: --- 340 unchanged lines hidden (view full) --- 349# --------------------------------------------------------------------------- 350quiet_cmd_cpp_lds_S = LDS $@ 351 cmd_cpp_lds_S = $(CPP) $(cpp_flags) -P -C -U$(ARCH) \ 352 -D__ASSEMBLY__ -DLINKER_SCRIPT -o $@ $< 353 354$(obj)/%.lds: $(src)/%.lds.S FORCE 355 $(call if_changed_dep,cpp_lds_S) 356 | 1# ========================================================================== 2# Building 3# ========================================================================== 4 5src := $(obj) 6 7PHONY := __build 8__build: --- 340 unchanged lines hidden (view full) --- 349# --------------------------------------------------------------------------- 350quiet_cmd_cpp_lds_S = LDS $@ 351 cmd_cpp_lds_S = $(CPP) $(cpp_flags) -P -C -U$(ARCH) \ 352 -D__ASSEMBLY__ -DLINKER_SCRIPT -o $@ $< 353 354$(obj)/%.lds: $(src)/%.lds.S FORCE 355 $(call if_changed_dep,cpp_lds_S) 356 |
357# ASN.1 grammar 358# --------------------------------------------------------------------------- 359quiet_cmd_asn1_compiler = ASN.1 $@ 360 cmd_asn1_compiler = $(objtree)/scripts/asn1_compiler $< \ 361 $(subst .h,.c,$@) $(subst .c,.h,$@) 362 363.PRECIOUS: $(objtree)/$(obj)/%-asn1.c $(objtree)/$(obj)/%-asn1.h 364 365$(obj)/%-asn1.c $(obj)/%-asn1.h: $(src)/%.asn1 $(objtree)/scripts/asn1_compiler 366 $(call cmd,asn1_compiler) 367 |
|
357# Build the compiled-in targets 358# --------------------------------------------------------------------------- 359 360# To build objects in subdirs, we need to descend into the directories 361$(sort $(subdir-obj-y)): $(subdir-ym) ; 362 363# 364# Rule to compile a set of .o files into one .o file --- 103 unchanged lines hidden --- | 368# Build the compiled-in targets 369# --------------------------------------------------------------------------- 370 371# To build objects in subdirs, we need to descend into the directories 372$(sort $(subdir-obj-y)): $(subdir-ym) ; 373 374# 375# Rule to compile a set of .o files into one .o file --- 103 unchanged lines hidden --- |