[PATCH] Don't hardcode target dependencies

Dan Nicholson dbn.lists at gmail.com
Thu Mar 15 14:26:42 PDT 2007

On 3/15/07, George Boudreau <georgeb at linuxfromscratch.org> wrote:
>    If you want to abort the makefile after a selected package has been
> built we would need a testing method for a breakpoint variable passed on
> the cmd line.
>   make BREAKPOINT=028-binutils-pass1
> ...
> mk_LUSER: mk_SETUP
>      @$(call echo_SULUSER_request)
>      @(sudo $(SU_LUSER)
>         "source .bashrc && \
>                  cd $(MOUNT_PT)/$(SCRIPT_ROOT) &&
>                  make BREAKPOINT=$(BREAKPOINT) LUSER"
>      @touch $@

More generally, the targets can just be passed through for make. So,
with my previous patch, you'd do


That should achieve the affect I'm after without really adding anything new.


More information about the alfs-discuss mailing list