Re: Build failure when installing atm ambassador firmware
From: chas williams - CONTRACTOR
Date: Wed Aug 01 2012 - 07:42:26 EST
On Tue, 31 Jul 2012 21:59:37 -0400
Shea Levy <shea@xxxxxxxxxxxx> wrote:
> Hello,
>
> When building with
> MODLIB=/nix/store/ghx6s9hnk9irim7c7f63zrxqiv6xjh3w-linux-3.5/lib/modules/3.5.0
> and
> ="/nix/store/ghx6s9hnk9irim7c7f63zrxqiv6xjh3w-linux-3.5/lib/firmware",
> building Linux 3.5 with CONFIG_ATM_AMBASSADOR=m fails with:
>
> "make[2]: *** No rule to make target
> `"/nix/store/ghx6s9hnk9irim7c7f63zrxqiv6xjh3w-linux-3.5/lib/firmware"/./',
> needed by
> `"/nix/store/ghx6s9hnk9irim7c7f63zrxqiv6xjh3w-linux-3.5/lib/firmware"/atmsar11.fw'.
> Stop."
i think it might be trying to tell you that the target directory
$INSTALL_FW_PATH doesn't exist and is a prerequisite to actually
perform the action.
it complains about atmsar11.fw first because it just happens to be the
first firmware that needs to be installed.
/scratch/chas/net-next relax.53% ls -ld /tmp/funk
ls: cannot access /tmp/funk: No such file or directory
/scratch/chas/net-next relax.54% make INSTALL_FW_PATH="/tmp/funk" firmware_install
make[1]: *** No rule to make target `/tmp/funk/./', needed by `/tmp/funk/atmsar11.fw'. Stop.
make: *** [firmware_install] Error 2
/scratch/chas/net-next relax.55% mkdir /tmp/funk
/scratch/chas/net-next relax.56% make INSTALL_FW_PATH="/tmp/funk" firmware_install
INSTALL /tmp/funk/atmsar11.fw
MKDIR /tmp/funk/e100/
INSTALL /tmp/funk/e100/d101m_ucode.bin
INSTALL /tmp/funk/e100/d101s_ucode.bin
INSTALL /tmp/funk/e100/d102e_ucode.bin
...
i am somewhat concerned that it appears to have an extra set of "'s in
the path as well. how are you passing in INSTALL_FW_PATH? i can get
the same result with:
/scratch/chas/net-next relax.57% make 'INSTALL_FW_PATH="/tmp/funk"' firmware_install
make[1]: *** No rule to make target `"/tmp/funk"/./', needed by `"/tmp/funk"/atmsar11.fw'. Stop.
make: *** [firmware_install] Error 2
but it would be wrong to do it this way.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/