Skip to content
ia64-static 3.03 KiB
Newer Older
mirabilos's avatar
mirabilos committed
Description: Use static tools on IA64
 On IA64, the shared binaries do not work.

Index: klibc-2.0~rc2/usr/dash/Kbuild
===================================================================
--- klibc-2.0~rc2.orig/usr/dash/Kbuild	2012-02-11 18:50:21.000000000 +0000
+++ klibc-2.0~rc2/usr/dash/Kbuild	2012-02-11 19:04:51.000000000 +0000
@@ -93,4 +93,8 @@
 	$(Q):
 
 # Targets to install
+ifeq ($(ARCH),ia64)
+install-y := sh
+else
 install-y := sh.shared
+endif
Index: klibc-2.0~rc2/usr/kinit/fstype/Kbuild
===================================================================
--- klibc-2.0~rc2.orig/usr/kinit/fstype/Kbuild	2012-02-11 18:45:44.000000000 +0000
+++ klibc-2.0~rc2/usr/kinit/fstype/Kbuild	2012-02-11 19:04:51.000000000 +0000
Jan Rahm's avatar
Jan Rahm committed
@@ -22,4 +22,8 @@
 clean-dirs := static shared
 
 # install binary
+ifeq ($(ARCH),ia64)
+install-y := $(static-y)
+else
 install-y := $(shared-y)
+endif
Index: klibc-2.0~rc2/usr/kinit/ipconfig/Kbuild
===================================================================
--- klibc-2.0~rc2.orig/usr/kinit/ipconfig/Kbuild	2012-02-11 18:45:44.000000000 +0000
+++ klibc-2.0~rc2/usr/kinit/ipconfig/Kbuild	2012-02-11 19:04:51.000000000 +0000
Jan Rahm's avatar
Jan Rahm committed
@@ -28,4 +28,8 @@
 clean-dirs := static shared
 
 # install binary
+ifeq ($(ARCH),ia64)
+install-y := $(static-y)
+else
 install-y := $(shared-y)
+endif
Index: klibc-2.0~rc2/usr/kinit/nfsmount/Kbuild
===================================================================
--- klibc-2.0~rc2.orig/usr/kinit/nfsmount/Kbuild	2012-02-11 18:45:44.000000000 +0000
+++ klibc-2.0~rc2/usr/kinit/nfsmount/Kbuild	2012-02-11 19:04:51.000000000 +0000
Jan Rahm's avatar
Jan Rahm committed
@@ -24,4 +24,8 @@
 clean-dirs := static shared
 
 # Install binary
+ifeq ($(ARCH),ia64)
+install-y := $(static-y)
+else
 install-y := $(shared-y)
+endif
Index: klibc-2.0~rc2/usr/kinit/resume/Kbuild
===================================================================
--- klibc-2.0~rc2.orig/usr/kinit/resume/Kbuild	2012-02-11 18:45:44.000000000 +0000
+++ klibc-2.0~rc2/usr/kinit/resume/Kbuild	2012-02-11 19:04:51.000000000 +0000
Jan Rahm's avatar
Jan Rahm committed
@@ -27,4 +27,8 @@
 clean-dirs := static shared
 
 # install binary
+ifeq ($(ARCH),ia64)
+install-y := $(static-y)
+else
 install-y := $(shared-y)
+endif
Index: klibc-2.0~rc2/usr/kinit/run-init/Kbuild
===================================================================
--- klibc-2.0~rc2.orig/usr/kinit/run-init/Kbuild	2012-02-11 18:50:21.000000000 +0000
+++ klibc-2.0~rc2/usr/kinit/run-init/Kbuild	2012-02-11 19:04:51.000000000 +0000
Jan Rahm's avatar
Jan Rahm committed
@@ -26,4 +26,8 @@
 clean-dirs := static shared
 
 # install binary
+ifeq ($(ARCH),ia64)
+install-y := $(static-y)
+else
 install-y := $(shared-y)
+endif
Index: klibc-2.0~rc2/usr/utils/Kbuild
===================================================================
--- klibc-2.0~rc2.orig/usr/utils/Kbuild	2012-02-11 18:50:21.000000000 +0000
+++ klibc-2.0~rc2/usr/utils/Kbuild	2012-02-11 19:04:51.000000000 +0000
@@ -73,4 +73,8 @@
 clean-dirs := static shared
 
 # install only install the shared binaries
+ifeq ($(ARCH),ia64)
+install-y := $(static-y) static/reboot static/poweroff
+else
 install-y := $(shared-y) shared/reboot shared/poweroff
+endif