From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f54.google.com (mail-oi0-f54.google.com [209.85.218.54]) by dpdk.org (Postfix) with ESMTP id C79B81B19 for ; Mon, 10 Sep 2018 11:14:26 +0200 (CEST) Received: by mail-oi0-f54.google.com with SMTP id b15-v6so38708648oib.10 for ; Mon, 10 Sep 2018 02:14:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6m+Q+4GMs7nA8HS3Mhvg1GJwdxxWDG5hhxA5AM7gJm0=; b=SKNjiZGPptxzuWaNqpW8w9Y0ceoMUWxBS0tUf4xTc15gA6EBnaC39vHwOIl7VYXYjM hq3IWFih0TFj0wEmpXYP03atGrVYpaPRGZ8Bx8EA9Dcpr0SR1WtqBlcocOV53rpTSTOz +XvYarCp+gSehJrReiGjcJA7lkjPeHLgEv2ap6OyOgRk7RWZFLC1HMiZqN/sqqP0YhFk 7Esy3zfiQg2dTVFE7SXR3Rx47TBd4Hsxn4g7DteMizJriXJtMKWWBD4G2f08uQr9pIzu WxNHaT92KAFf+FWroPgc/eS8pG2XbUOfe3fsWOx7Ee4HaLiifi4/87fuiliQiU3oka3h pnXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6m+Q+4GMs7nA8HS3Mhvg1GJwdxxWDG5hhxA5AM7gJm0=; b=OmDj12UV4C8z6e25e7oztgXbjfRB7sHLPUisqi5NSvsqeby7xokqEdzPK9y1VO5vde HwBotly6Gch6GG9+MV2UMtXLgTS3SfWcEseSwk8qxxdJ8bewSkGH5NFIEy6GapmpKxbB 1titkIGJxEgGdZVWe9r8z5VugMY6EO3yLZOVVTBmTN8VJ5pEWS30lipOa2U8+I8l9HU0 E1xNpmXIfj9uaotUe3L25ubQc3m7tvq+crEqG6LY5FNHFjJc6y1QGukBbntE0YeL10Fe CgQAYc7HkKqanF9/qWixkVEvjLNBe8iAQeSqRj34fIQdcHZsep70q3zsekYryMbryyFr Y0Sw== X-Gm-Message-State: APzg51BHWsUp4snUBoxv5j7fqKt1hLZo+Z1FHc/3ieA/RP7vk8FSe2DP Vs2Yd9ibI+5UwbiY11jqiPJoo9G33P5QajFLdCQ= X-Google-Smtp-Source: ANB0Vdan6CrIunGvNbd3qRl6Mbq94nODgQ3jCTMecw5VlOGpAddKEgpGJjY6bHiOTGBgoWk6VZU7bB2dJBYKB3mV8Bo= X-Received: by 2002:a54:4d9d:: with SMTP id y29-v6mr21658882oix.273.1536570866163; Mon, 10 Sep 2018 02:14:26 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Rami Rosen Date: Mon, 10 Sep 2018 12:14:14 +0300 Message-ID: To: t-pehous@microsoft.com Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-users] Building app with source in subdirectory ?doesn't work X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2018 09:14:27 -0000 Hi Petr, OK, your reply clarifies the issue. I confirm that I could reproduce the same issue you had following your reply. So something is missing, or maybe if the use case is justified, maybe additional work should be done in the build system (maybe related to mk/rte.extsubdir.mk) to support it (I assume you know the build system is now moving to meson/ninja) I found a workaround, maybe it will satisfy you. I created a soft link from the helloworld folder: ln -s tst/tst.c tst.c and instead having SRCS-y := main.c \ tst/tst.c I use SRCS-y := main.c tst.c And it works for me. Any change in tst/tst.c and running make triggers building of tst/tst.c. "make clean" works, etc. Another thing that I wan to mention that generally the build system does support nesting but in a different way than you try. What I mean is creating subfolders under a sprcified folder, but not having modules at all in the root folder. For example, the multi process sample app: https://git.dpdk.org/dpdk/tree/examples/multi_process Regards, Rami Rosen http://ramirose.wixsite.com/ramirosen