summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-16 13:11:09 +0200
committerErich Eckner <git@eckner.net>2020-06-29 10:43:34 +0200
commitb2cff7272383c53b4f215efdcbe5a8c074d76421 (patch)
treeda1e4db35e81a5e09609d2eb1529299b71d23011
parentd5c2e8b75d30248af8dd3d5466d60ee1f1d72dca (diff)
downloaddevtools32-b2cff7272383c53b4f215efdcbe5a8c074d76421.tar.xz
generate archlinuxewe build commands and configs
-rw-r--r--Makefile36
1 files changed, 35 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ab8711f..67685aa 100644
--- a/Makefile
+++ b/Makefile
@@ -48,6 +48,10 @@ GENERATED_CONFIGFILES = \
pacman-gnome-unstable-i486.conf \
pacman-gnome-unstable-i686.conf \
pacman-gnome-unstable-pentium4.conf \
+ pacman-archlinuxewe-armv6h.conf \
+ pacman-archlinuxewe-i486.conf \
+ pacman-archlinuxewe-i686.conf \
+ pacman-archlinuxewe-pentium4.conf \
makepkg-armv6h.conf \
makepkg-i486.conf \
makepkg-i686.conf \
@@ -63,6 +67,7 @@ CONFIGFILES = \
pacman-multilib-staging.conf \
pacman-kde-unstable.conf \
pacman-gnome-unstable.conf \
+ pacman-archlinuxewe.conf \
$(GENERATED_CONFIGFILES)
SETARCH_ALIASES = \
@@ -113,7 +118,12 @@ ARCHBUILD_LINKS = \
gnome-unstable-i486-build \
gnome-unstable-i686-build \
gnome-unstable-pentium4-build \
- gnome-unstable-x86_64-build
+ gnome-unstable-x86_64-build \
+ archlinuxewe-armv6h-build \
+ archlinuxewe-i486-build \
+ archlinuxewe-i686-build \
+ archlinuxewe-pentium4-build \
+ archlinuxewe-x86_64-build
CROSSREPOMOVE_LINKS = \
extra2community \
@@ -159,6 +169,30 @@ makepkg-pentium4.conf: makepkg-i686.conf
@echo "GEN $@"
@sed '/^CHOST=/ ! s,\(["=]\)i686\([-" ]\),\1pentium4\2,g' "$<" > "$@"
+pacman-archlinuxewe-i486.conf: pacman-archlinuxewe.conf
+ @echo "GEN $@"
+ @sed " \
+ s,/mirrorlist\$$,\032,; \
+ /\[\(community-\)\?testing\]/{ N; s/#//g; }; \
+ /^Architecture = / s/^.*\$$/Architecture = i486/; \
+ " "$<" > "$@"
+
+pacman-archlinuxewe-i686.conf: pacman-archlinuxewe.conf
+ @echo "GEN $@"
+ @sed " \
+ s,/mirrorlist\$$,\032,; \
+ /\[\(community-\)\?testing\]/{ N; s/#//g; }; \
+ /^Architecture = / s/^.*\$$/Architecture = i686/; \
+ " "$<" > "$@"
+
+pacman-archlinuxewe-pentium4.conf: pacman-archlinuxewe.conf
+ @echo "GEN $@"
+ @sed " \
+ s,/mirrorlist\$$,\032,; \
+ /\[\(community-\)\?testing\]/{ N; s/#//g; }; \
+ /^Architecture = / s/^.*\$$/Architecture = pentium4/; \
+ " "$<" > "$@"
+
pacman-%-armv6h.conf: pacman-%.conf
@echo "GEN $@"
@sed " \