diff options
author | Jérôme Pouiller <jezz@sysmic.org> | 2013-05-13 15:25:41 (GMT) |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-08-13 10:04:55 (GMT) |
commit | 7a1aa342357decd4e21f34d2b54d58df20d1fc0f (patch) | |
tree | d6e0905d8639d40c8fb798eec22ef5a58fe3cdd0 | |
parent | 02e4326fe7f1912a6f12bdef54c7295f9188dd38 (diff) | |
download | buildroot-7a1aa342357decd4e21f34d2b54d58df20d1fc0f.tar.gz buildroot-7a1aa342357decd4e21f34d2b54d58df20d1fc0f.tar.bz2 |
package: make *-rebuild and *-reconfigure only rebuild the given package
Originally, the <pkg>-rebuild and <pkg>-reconfigure targets were meant
to restart the build of the package from a given step (build for
<pkg>-rebuild and configure for <pkg>-reconfigure) and then re-create
the entire root filesystem.
However, further discussion from the community has shown that this is
not really the desired behavior: we instead want <pkg>-rebuild and
<pkg>-reconfigure to only take care of rebuilding the given package,
and not the entire root filesystem.
People willing to rebuild this package and the root filesystem can do:
make <pkg>-rebuild all
[Thomas P: rewrite commit log, since it's not fixing a bug, but
instead changing what was an intended behavior. ]
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/pkg-generic.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index b8eaa98..2e2e66f 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -435,12 +435,12 @@ endif rm -f $$($(2)_TARGET_INSTALL_IMAGES) rm -f $$($(2)_TARGET_INSTALL_HOST) -$(1)-rebuild: $(1)-clean-for-rebuild all +$(1)-rebuild: $(1)-clean-for-rebuild $(1) $(1)-clean-for-reconfigure: $(1)-clean-for-rebuild rm -f $$($(2)_TARGET_CONFIGURE) -$(1)-reconfigure: $(1)-clean-for-reconfigure all +$(1)-reconfigure: $(1)-clean-for-reconfigure $(1) # define the PKG variable for all targets, containing the # uppercase package variable prefix |