diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-04-21 19:14:10 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-04-21 19:14:20 +0200 |
commit | e547ee533d31b7c391d77b14fbf92a4c0cae2255 (patch) | |
tree | a471151b9652d6d917498d128759a41d92f42ef2 /rules/systemd.make | |
parent | 3f19d6e74e87ddba2e8c0bcae3feb40f60326013 (diff) | |
download | ptxdist-e547ee533d31b7c391d77b14fbf92a4c0cae2255.tar.gz ptxdist-e547ee533d31b7c391d77b14fbf92a4c0cae2255.tar.xz |
systemd: don't add non-existing include directory
It generates a lot of warning.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/systemd.make')
-rw-r--r-- | rules/systemd.make | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/systemd.make b/rules/systemd.make index ff36ebf6d..a06282bef 100644 --- a/rules/systemd.make +++ b/rules/systemd.make @@ -49,8 +49,10 @@ SYSTEMD_CONF_ENV := \ ac_cv_path_QUOTACHECK=/usr/sbin/quotacheck \ ac_cv_path_QUOTAON=/usr/sbin/quotaon +ifdef PTXCONF_KERNEL_HEADER SYSTEMD_CPPFLAGS := \ -I$(KERNEL_HEADERS_INCLUDE_DIR) +endif # # autoconf |