From: Peter Korsgaard Date: Sun, 25 Mar 2018 15:00:55 +0200 Subject: [Buildroot] [PATCH v4 1/9] Makefile, skeleton: move the host skeleton logic to host-skeleton package In-Reply-To: <20180324142008.10375-2-thomas.petazzoni@bootlin.com> (Thomas Petazzoni's message of "Sat, 24 Mar 2018 15:20:00 +0100") References: <20180324142008.10375-1-thomas.petazzoni@bootlin.com> <20180324142008.10375-2-thomas.petazzoni@bootlin.com> Message-ID: <87r2o8xqbc.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Thomas" == Thomas Petazzoni writes: > As part of the per-package SDK work, we want to avoid having logic > that installs files to the global HOST_DIR, and instead do it inside > packages. One thing that gets installed to the global HOST_DIR is the > minimal "skeleton" that we create in host: > - the "usr" symbolic link for backward compatibility > - the "lib" directory, and its lib64 or lib32 symbolic links > This commit moves this logic to a new host-skeleton package, and makes > all packages (except itself) depend on it. We also make sure that this > host-skeleton package doesn't depend on host-patchelf, because > host-patchelf depends on host-skeleton. Ehh, where is that done? Afaik nothing depends on (in the make sense) on host-patchelf, it is just forcibly enabled in all configs. Thinking about that, why don't we just make the sdk target depend on host-patchelf instead of always building it just in case somebody will ever run 'make sdk'? -- Bye, Peter Korsgaard