[mailto:address@hidden On Behalf Of Palani
Sent: Sunday, May 30, 2010 10:02 PM
Subject: Creating a header file dependency.
We are used to this concept of staging a set of header files from
our components during build. So, each
a list of header files that needs to be staged. They also
specify a staging
Now, I am creating a dependency between the original header
and the staged header so that the staging takes place only
original header changes. (Otherwise, a blind copy breaks the
dependency and leads to unnecessary rebuilds.
So, when I do this
based on the following, I expect only the changed
file to be staged. However, looks like every file gets
staged from a component
even though only one file is staged.
Here is my Makefile. When I do make all it exports all
file even if only
one file is changed.
# Default target must appear before any include lines
# Customizations for this local Makefile
@echo "updating header: $? ";
cp $? $(EXPORT_HDR_PATH)
rm -f $(ARCH)/*
rm -f $(EXPORT_HDR_PATH)/*.h