]> code.ossystems Code Review - openembedded-core.git/commitdiff
squashfs-tools: clean up compile/install tasks
authorRoss Burton <ross.burton@intel.com>
Fri, 18 Oct 2019 11:52:25 +0000 (12:52 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 31 Oct 2019 16:07:11 +0000 (16:07 +0000)
The makefile can do the right thing now.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb

index 0e1be6bc1ffd2e834128fd46cc07d94858d5887a..4fd33f80482e50caeb7d189d8c1e52a1b642ce17 100644 (file)
@@ -28,13 +28,11 @@ PACKAGECONFIG[zstd] = "ZSTD_SUPPORT=1,ZSTD_SUPPORT=0,zstd"
 PACKAGECONFIG[reproducible] = "REPRODUCIBLE_DEFAULT=1,REPRODUCIBLE_DEFAULT=0,"
 
 do_compile() {
-       oe_runmake mksquashfs unsquashfs
+       oe_runmake all
 }
 
-do_install () {
-       install -d ${D}${sbindir}
-       install -m 0755 mksquashfs ${D}${sbindir}/
-       install -m 0755 unsquashfs ${D}${sbindir}/
+do_install() {
+       oe_runmake install INSTALL_DIR=${D}${sbindir}
 }
 
 ARM_INSTRUCTION_SET_armv4 = "arm"