Skip to content
Advertisement

make implies new Extracting

I created a Buidroot package with the both following files :

.mk

JavaScript

Config.in

JavaScript

I succedded in compiling the package by using the above .mk file. However, because I wanted to modify the source code into output/build I note the following behavior (After removing only .stamp_built) :

JavaScript

I obtain a new Extracting, Patching, Configuring, Building even if no .stamp removed…

What’s wrong ?

EDIT :

The problem seems to come from the AVM_VERSION definition. When I exchange $(BR2_PACKAGE_AVM_TARGET) by its value I am getting make: Nothing to do for « AVM ».

This variable, named $(BR2_PACKAGE_AVM_TARGET), has been defined into the defconfig file associated to the board as BR2_PACKAGE_AVM_TARGET="AVM2.3"

Advertisement

Answer

You did not qstrip BR2_PACKAGE_AVM_TARGET, so as far as make is concerned, the quotes are part of the version. make looks for the file output/build/AVM-"AVM2.3"-V00.00.01/.stamp_extracted but that file doesn’t exist, so the extraction step will be executed again. Same for all other steps. Note that the download step is skipped because the tarball exists in the dl directory.

To fix, use

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement