mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
fix installing of libproc.so on 64bit systems (like amd64) and fix the clean target so it works
This commit is contained in:
parent
12c460a016
commit
cc388f0b0a
@ -24,7 +24,7 @@ $(PROCPS_DIR)/$(PROCPS_BINARY): $(PROCPS_DIR)/.source
|
|||||||
|
|
||||||
$(TARGET_DIR)/$(PROCPS_TARGET_BINARY): $(PROCPS_DIR)/$(PROCPS_BINARY)
|
$(TARGET_DIR)/$(PROCPS_TARGET_BINARY): $(PROCPS_DIR)/$(PROCPS_BINARY)
|
||||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) DESTDIR=$(TARGET_DIR) \
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) DESTDIR=$(TARGET_DIR) \
|
||||||
install='install -D' -C $(PROCPS_DIR) \
|
install='install -D' -C $(PROCPS_DIR) lib64=/lib \
|
||||||
ldconfig='/bin/true' install
|
ldconfig='/bin/true' install
|
||||||
rm -Rf $(TARGET_DIR)/usr/man
|
rm -Rf $(TARGET_DIR)/usr/man
|
||||||
|
|
||||||
@ -33,8 +33,13 @@ procps: uclibc ncurses $(TARGET_DIR)/$(PROCPS_TARGET_BINARY)
|
|||||||
procps-source: $(DL_DIR)/$(PROCPS_SOURCE)
|
procps-source: $(DL_DIR)/$(PROCPS_SOURCE)
|
||||||
|
|
||||||
procps-clean:
|
procps-clean:
|
||||||
$(MAKE) prefix=$(TARGET_DIR)/usr -C $(PROCPS_DIR) uninstall
|
for bin in uptime tload free w \
|
||||||
-$(MAKE) -C $(PROCPS_DIR) clean
|
top vmstat watch skill \
|
||||||
|
snice kill sysctl pmap \
|
||||||
|
pgrep pkill slabtop ; do \
|
||||||
|
rm -f $(TARGET_DIR)/usr/bin/$${bin} ; \
|
||||||
|
done
|
||||||
|
rm -f $(TARGET_DIR)/lib/libproc*
|
||||||
|
|
||||||
procps-dirclean:
|
procps-dirclean:
|
||||||
rm -rf $(PROCPS_DIR)
|
rm -rf $(PROCPS_DIR)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user