diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/meta/openslug-packages.bb | 2 | ||||
-rw-r--r-- | packages/util-linux/util-linux.inc | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/packages/meta/openslug-packages.bb b/packages/meta/openslug-packages.bb index 2a7bc68794..3fb0587727 100644 --- a/packages/meta/openslug-packages.bb +++ b/packages/meta/openslug-packages.bb @@ -33,6 +33,7 @@ OPENSLUG_DEVELOPMENT = "\ pciutils \ quilt \ sed \ + util-linux \ " # These packages only build on TARGET_OS=linux, not @@ -40,7 +41,6 @@ OPENSLUG_DEVELOPMENT = "\ OPENSLUG_DEVELOPMENT_append_linux = "\ perl \ tar \ - util-linux \ " diff --git a/packages/util-linux/util-linux.inc b/packages/util-linux/util-linux.inc index df97498c49..5d4ed8063a 100644 --- a/packages/util-linux/util-linux.inc +++ b/packages/util-linux/util-linux.inc @@ -33,5 +33,10 @@ do_compile () { } do_install () { - oe_runmake 'DESTDIR=${D}' install + # with ccache the timestamps on compiled files may + # end up earlier than on their inputs, this allows + # for the resultant compilation in the install step. + oe_runmake ARCH=${TARGET_ARCH} CPU= CPUOPT= \ + 'OPT=${CFLAGS}' 'CC=${CC}' 'LD=${LD}' \ + 'LDFLAGS=${LDFLAGS}' 'DESTDIR=${D}' install } |