2013/10/23 Marc Kleine-Budde <mkl@pengutronix.de>
On 10/22/2013 03:44 PM, Javier Fileiv wrote:
> Hello everyone, I have the following scenario.
>
> My package is in a folder, where there is another folder inside which
> contains the Makefile. No autotools is required.
>
> If I create a newpackge with ptxdist newpackage target, it will create
> the .make and .rule file. But how can I tell to the "compile" step that
> my Makefile is in ./src an not in ./ ?? I was trying to add a simple

define in your .make file

    <PACKAGE>_SUBDIR := src
 

Thank you so much!

 
Marc

--
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |