ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #13828
Re: Can't find depmod?
I would add a line to build/core/config.mk, section "Generic tools":
DEPMOD ?= /sbin/depmod
and replace that depmod call with $(DEPMOD)
On Thu, Jul 2, 2015 at 4:21 AM, Mauricio Tavares <raubvogel@xxxxxxxxx>
wrote:
> make -j4
> [...]
> host C: libpng <= external/libpng/pngrutil.c
>
> '/home/developer/phablet/out/target/product/generic/ubuntu/kernel/boot/vmlinuz-3.4.0-3-goldfish'
> ->
> '/home/developer/phablet/out/target/product/generic/ubuntu/kernel/vmlinuz'
> host C: libpng <= external/libpng/pngset.c
> /bin/bash: line 12: depmod: command not found
> make: ***
> [/home/developer/phablet/out/target/product/generic/ubuntu/kernel/vmlinuz]
> Error 127
> make: *** Waiting for unfinished jobs....
> developer@ubuntuphone:~/phablet$ which depmod
> /sbin/depmod
> developer@ubuntuphone:/#
>
> Hmmm
> developer@ubuntuphone:~/phablet$ echo $PATH
> /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
> developer@ubuntuphone:~/phablet$
>
> so it knows nothing of /sbin. What's the best place to tell it? Add it
> in build/envsetup.sh?
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help : https://help.launchpad.net/ListHelp
>
--
Vicamo Yang
References