bitbake recipe make: *** No rule to make target `install'

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

bitbake recipe make: *** No rule to make target `install'

6,052 Views
anjojohn
Contributor IV

Hi all,

I have a recipe file for libre. In yocto 1.6.1 its successfully installed. But in yocto 1.8.1 its failing with make: *** No rule to make target `install'. below is the recipe file for libre

PROVIDES_${PN} = "re"

SRC_URI = "http://creytiv.com/pub/re-0.4.17.tar.gz"
SRC_URI[md5sum] = "5900337fd8c77515c87eae5bf0f8c091"
SRC_URI[sha256sum] = "2ce089b64909dc2aaa71421245e3a76dfe8a3279478f3eebd2aaead591106098"
inherit autotools

DEPENDS = "openssl zlib"
FILES_{PN} += "${libdir}/*"

I am not sure why oe_runmake is not able to find the make file.

below is the debug

| DEBUG: Executing shell function do_install
| NOTE: make -j 4 DESTDIR=/home/anjo/eliu_accs/eliu_accs/src/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/re/0.4.17-r0/image install
| make: *** No rule to make target `install'.  Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /home/anjo/eliu_accs/eliu_accs/src/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/re/0.4.17-r0/temp/log.do_install.6041)

0 Kudos
2 Replies

3,268 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi anjo,

Which is your linux host? I would recommend using Ubuntu 14.04 if at all possible, as NXP BSP Release dependencies may be different in newer Ubuntu releases. It should be possible to look for the equivalent host packages but I haven’t tried it myself. (The core-image-minimal uses only packages from the Yocto Project, so it is possible that the dependencies for the Yocto Project are met but not for the NXP BSP Release layers)

 

I have seen any error in your description, just you need to share your conf file.

try with bitbake c-c cleanall and restart the process

Regards

0 Kudos

3,268 Views
anjojohn
Contributor IV

My system is Ubuntu 14.04, I will try with bitbake  -c cleanall . this is my configuration file

MACHINE ??= 'test-dual'
DISTRO ?= 'poky'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"
BB_NUMBER_THREADS = '4'
PARALLEL_MAKE = '-j 4'

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = ""

0 Kudos