summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-10-25 23:12:49 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-10-26 08:54:33 +0200
commita1e5e57759b07d5eeda938ede55647f3ea3d3065 (patch)
tree98bc6a389a67d723b67d6194f2cfc920312db536 /scripts
parentc9a0beb1952a58eec3a5b3b53c132fa8236f7438 (diff)
downloadbarebox-a1e5e57759b07d5eeda938ede55647f3ea3d3065.tar.gz
barebox-a1e5e57759b07d5eeda938ede55647f3ea3d3065.tar.xz
pbl: Add missing FORCE
Otherwise the pbl files do not get rebuilt when the CFLAGS change. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 383d73f66b..a95bbe4e74 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -241,7 +241,7 @@ endef
# Built-in and composite module parts
-pbl-%.o: %.c
+pbl-%.o: %.c FORCE
$(call cmd,force_checksrc)
$(call if_changed_rule,pbl_cc_o_c)
@@ -284,7 +284,7 @@ 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) $(PBL_CPPFLAGS) -c -o $@ $<
-pbl-%.o: %.S
+pbl-%.o: %.S FORCE
$(call if_changed_dep,pbl_as_o_S)
%.o: %.S FORCE