Commit ddc7b9b2 authored by Alessandro Rubini's avatar Alessandro Rubini

Makefile: change dependency to prevent needless builds

Commit

   3dabecf4 Makefile: bugfix for parallel builds

forced all object files to be rebuilt every time, while fiing
MAKEALL errors.  By making objects depend on .config instead of
depending on silentoldconfig we force a rebuild only when the
configuration changed.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 5f437d9d
......@@ -91,7 +91,7 @@ $(TARGET).o: $(OBJ-y)
$(LD) -Map $(TARGET).map1 -r -o $@ $(PPSI_O_LDFLAGS) \
--start-group $(OBJ-y) --end-group
$(OBJ-y): silentoldconfig $(wildcard include/ppsi/*.h)
$(OBJ-y): .config $(wildcard include/ppsi/*.h)
# Finally, "make clean" is expected to work
clean:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment