summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-10 19:58:19 +0200
committerErich Eckner <git@eckner.net>2022-09-30 08:43:49 +0200
commit4d7a2fb7d53de88054711ed355512c146514226b (patch)
tree9c0337d9d5af3e979a0abbca8b7c44963d9801fe
parentd42a40a0bc6d986ad4fdfb6beb535e829c041231 (diff)
downloaddevtools-4d7a2fb7d53de88054711ed355512c146514226b.tar.xz
pentium4 new
-rw-r--r--.gitignore2
-rw-r--r--Makefile29
-rw-r--r--setarch-aliases.d/pentium41
3 files changed, 30 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 9a72ab6..b256bf0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,5 +24,7 @@ doc/*.1
doc/*.7
pacman-*-i486.conf
pacman-*-i686.conf
+pacman-*-pentium4.conf
makepkg-i486.conf
makepkg-i686.conf
+makepkg-pentium4.conf
diff --git a/Makefile b/Makefile
index 7271f43..e403a5a 100644
--- a/Makefile
+++ b/Makefile
@@ -30,18 +30,25 @@ BINPROGS = \
GENERATED_CONFIGFILES = \
pacman-extra-i486.conf \
pacman-extra-i686.conf \
+ pacman-extra-pentium4.conf \
pacman-testing-i486.conf \
pacman-testing-i686.conf \
+ pacman-testing-pentium4.conf \
pacman-staging-i486.conf \
pacman-staging-i686.conf \
+ pacman-staging-pentium4.conf \
pacman-staging-with-build-support-i486.conf \
pacman-staging-with-build-support-i686.conf \
+ pacman-staging-with-build-support-pentium4.conf \
pacman-kde-unstable-i486.conf \
pacman-kde-unstable-i686.conf \
+ pacman-kde-unstable-pentium4.conf \
pacman-gnome-unstable-i486.conf \
pacman-gnome-unstable-i686.conf \
+ pacman-gnome-unstable-pentium4.conf \
makepkg-i486.conf \
- makepkg-i686.conf
+ makepkg-i686.conf \
+ makepkg-pentium4.conf
CONFIGFILES = \
makepkg-x86_64.conf \
@@ -60,7 +67,8 @@ CONFIGFILES = \
$(GENERATED_CONFIGFILES)
SETARCH_ALIASES = \
- x86_64_v3
+ x86_64_v3 \
+ pentium4
COMMITPKG_LINKS = \
extrapkg \
@@ -78,26 +86,32 @@ COMMITPKG_LINKS = \
ARCHBUILD_LINKS = \
extra-i486-build \
extra-i686-build \
+ extra-pentium4-build \
extra-x86_64-build \
extra-x86_64_v3-build \
testing-i486-build \
testing-i686-build \
+ testing-pentium4-build \
testing-x86_64-build \
testing-x86_64_v3-build \
staging-i486-build \
staging-i686-build \
+ staging-pentium4-build \
staging-x86_64-build \
staging-x86_64_v3-build \
staging-with-build-support-i486-build \
staging-with-build-support-i686-build \
+ staging-with-build-support-pentium4-build \
multilib-build \
multilib-testing-build \
multilib-staging-build \
kde-unstable-i486-build \
kde-unstable-i686-build \
+ kde-unstable-pentium4-build \
kde-unstable-x86_64-build \
gnome-unstable-i486-build \
gnome-unstable-i686-build \
+ gnome-unstable-pentium4-build \
gnome-unstable-x86_64-build
CROSSREPOMOVE_LINKS = \
@@ -139,6 +153,10 @@ makepkg-i686.conf: makepkg-x86_64.conf
@echo "GEN $@"
@sed 's,\(["=]\)x86[-_]64\([-" ]\),\1i686\2,g' "$<" > "$@"
+makepkg-pentium4.conf: makepkg-i686.conf
+ @echo "GEN $@"
+ @sed '/^CHOST=/ ! s,\(["=]\)i686\([-" ]\),\1pentium4\2,g' "$<" > "$@"
+
pacman-%-i486.conf: pacman-%.conf
@echo "GEN $@"
@sed " \
@@ -153,6 +171,13 @@ pacman-%-i686.conf: pacman-%.conf
/^Architecture = / s/^.*$$/Architecture = i686/ \
" "$<" > "$@"
+pacman-%-pentium4.conf: pacman-%.conf
+ @echo "GEN $@"
+ @sed " \
+ s,/mirrorlist\$$,\032,; \
+ /^Architecture = / s/^.*$$/Architecture = pentium4/ \
+ " "$<" > "$@"
+
%: %.in Makefile lib/common.sh
@echo "GEN $@"
@$(RM) "$@"
diff --git a/setarch-aliases.d/pentium4 b/setarch-aliases.d/pentium4
new file mode 100644
index 0000000..193dd70
--- /dev/null
+++ b/setarch-aliases.d/pentium4
@@ -0,0 +1 @@
+i686