summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-16 13:11:09 +0200
committerErich Eckner <git@eckner.net>2022-12-08 12:57:22 +0100
commit11d60d726f9b1aa84883b557cf19800ac8f0dd61 (patch)
treec390916bc2b8bed6df160ea7b419d4d880154731 /Makefile
parentb44a7b5a78315a6eea2a9cc1860e0d79a01b0ca9 (diff)
downloaddevtools-11d60d726f9b1aa84883b557cf19800ac8f0dd61.tar.xz
generate archlinuxewe build commands and configs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile38
1 files changed, 37 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 69deba2..975f729 100644
--- a/Makefile
+++ b/Makefile
@@ -36,6 +36,10 @@ GENERATED_CONFIGS = \
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 \
@@ -89,7 +93,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 \
@@ -156,6 +165,33 @@ $(BUILDDIR)/config/makepkg-pentium4.conf: $(BUILDDIR)/config/makepkg-i686.conf
@mkdir -p $(dir $@)
@sed '/^CHOST=/ ! s,\(["=]\)i686\([-" ]\),\1pentium4\2,g' "$<" > "$@"
+$(BUILDDIR)/config/pacman-archlinuxewe-i486.conf: config/pacman/archlinuxewe.conf
+ @echo "GEN $(notdir $@)"
+ @mkdir -p $(dir $@)
+ @sed " \
+ s,/mirrorlist\$$,\032,; \
+ /\[\(community-\)\?testing\]/{ N; s/#//g; }; \
+ /^Architecture = / s/^.*\$$/Architecture = i486/; \
+ " "$<" > "$@"
+
+$(BUILDDIR)/config/pacman-archlinuxewe-i686.conf: config/pacman/archlinuxewe.conf
+ @echo "GEN $(notdir $@)"
+ @mkdir -p $(dir $@)
+ @sed " \
+ s,/mirrorlist\$$,\032,; \
+ /\[\(community-\)\?testing\]/{ N; s/#//g; }; \
+ /^Architecture = / s/^.*\$$/Architecture = i686/; \
+ " "$<" > "$@"
+
+$(BUILDDIR)/config/pacman-archlinuxewe-pentium4.conf: config/pacman/archlinuxewe.conf
+ @echo "GEN $(notdir $@)"
+ @mkdir -p $(dir $@)
+ @sed " \
+ s,/mirrorlist\$$,\032,; \
+ /\[\(community-\)\?testing\]/{ N; s/#//g; }; \
+ /^Architecture = / s/^.*\$$/Architecture = pentium4/; \
+ " "$<" > "$@"
+
$(BUILDDIR)/config/pacman-%-armv6h.conf: config/pacman/%.conf
@echo "GEN $(notdir $@)"
@mkdir -p $(dir $@)