Project

General

Profile

Actions

Bug #88

closed

All components should have a -pkg target that can be called by the top level pkg target.

Added by Hammel over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Category:
root file system
Target version:
Start date:
01 Mar 2011
Due date:
% Done:

100%

Estimated time:
Severity:
Critical

Description

Right now the top level Makefile holds the packaging target, which is a brute force grab of data from the various software components. The pkg target should not have knowledge of what needs to be packaged. That should be in the component.mk configuration file. The pkg target should simply call all the component-pkg targets.

The way to do this is to have a TARGETS env variable that each component adds to. Then the pkg target just iterates through that to call $(TARGET)-pkg with INSTALLDIR set to where to copy the files to.

INSTALLDIR is not set in any configuration file. Instead, it is set on the call to $(TARGET)-pkg with the value set to PKGDIR.

After this is done then each component can also have a component-files target that lists the build artifacts of interest just for that component.

No data to display

Actions

Also available in: Atom PDF