summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-16 13:11:09 +0200
committerErich Eckner <git@eckner.net>2021-02-25 11:08:31 +0100
commitcd72c866a4aacf9d2be28c214d015c69a9d12e61 (patch)
treed23de739714be371f661b6f01c0f6d286b6277a9
parent5e92b7357798f25472f4768bc12a56fa4a40da61 (diff)
downloaddevtools32-cd72c866a4aacf9d2be28c214d015c69a9d12e61.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 c2cf50f..65ebdbe 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 \
@@ -160,6 +170,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 " \