kbuild: allow to have custom cppflags for pbl
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
db8a8e2129
commit
663dd028cb
|
@ -188,7 +188,7 @@ quiet_cmd_pbl_cc_o_c = PBLCC $@
|
|||
|
||||
ifndef CONFIG_MODVERSIONS
|
||||
cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
|
||||
cmd_pbl_cc_o_c = $(CC) -D__PBL__ $(c_flags) -c -o $@ $<
|
||||
cmd_pbl_cc_o_c = $(CC) -D__PBL__ $(c_flags) $(PBL_CPPFLAGS) -c -o $@ $<
|
||||
|
||||
else
|
||||
# When module versioning is enabled the following steps are executed:
|
||||
|
@ -282,7 +282,7 @@ quiet_cmd_as_o_S = AS $(quiet_modtag) $@
|
|||
cmd_as_o_S = $(CC) $(a_flags) -c -o $@ $<
|
||||
|
||||
quiet_cmd_pbl_as_o_S = PBLAS $@
|
||||
cmd_pbl_as_o_S = $(CC) -D__PBL__ $(a_flags) -c -o $@ $<
|
||||
cmd_pbl_as_o_S = $(CC) -D__PBL__ $(a_flags) $(PBL_CPPFLAGS) -c -o $@ $<
|
||||
|
||||
pbl-%.o: %.S
|
||||
$(call if_changed_dep,pbl_as_o_S)
|
||||
|
|
Loading…
Reference in New Issue