Skip to content

Commit

Permalink
fix: pass package name to all build targets
Browse files Browse the repository at this point in the history
  • Loading branch information
diogomatsubara committed Oct 31, 2024
1 parent d4309e2 commit 2453a49
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,28 +120,28 @@ crossbuild: check-docker
docker rmi $(CROSSIMG_PREFIX)$(CROSSIMG)

linux-armv5:
CROSSIMG=$@ DEBARCH=arm RPMARCH=arm make crossbuild
PACKAGE_NAME="zenohpico" CROSSIMG=$@ DEBARCH=arm RPMARCH=arm make crossbuild

linux-armv6:
PACKAGE_NAME="zenohpico-armv6" CROSSIMG=$@ DEBARCH=arm RPMARCH=arm make crossbuild

linux-armv7:
CROSSIMG=$@ DEBARCH=armhf RPMARCH=armhf make crossbuild
PACKAGE_NAME="zenohpico" CROSSIMG=$@ DEBARCH=armhf RPMARCH=armhf make crossbuild

linux-armv7a:
PACKAGE_NAME="zenohpico-armv7a" CROSSIMG=$@ DEBARCH=armhf RPMARCH=armhf make crossbuild

linux-arm64:
CROSSIMG=$@ DEBARCH=arm64 RPMARCH=aarch64 make crossbuild
PACKAGE_NAME="zenohpico" CROSSIMG=$@ DEBARCH=arm64 RPMARCH=aarch64 make crossbuild

linux-mips:
CROSSIMG=$@ DEBARCH=mips RPMARCH=mips make crossbuild
PACKAGE_NAME="zenohpico" CROSSIMG=$@ DEBARCH=mips RPMARCH=mips make crossbuild

linux-x86:
CROSSIMG=$@ DEBARCH=i386 RPMARCH=x86 make crossbuild
PACKAGE_NAME="zenohpico" CROSSIMG=$@ DEBARCH=i386 RPMARCH=x86 make crossbuild

linux-x64:
CROSSIMG=$@ DEBARCH=amd64 RPMARCH=x86_64 make crossbuild
PACKAGE_NAME="zenohpico" CROSSIMG=$@ DEBARCH=amd64 RPMARCH=x86_64 make crossbuild

clean:
rm -fr $(BUILD_DIR)
Expand Down

0 comments on commit 2453a49

Please sign in to comment.