mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
try to avoid rebuild
This commit is contained in:
parent
7c10b7696e
commit
050da8412e
@ -52,11 +52,13 @@ $(SUDO_DIR)/.configured: $(SUDO_DIR)/.unpacked $(SUDO_CONFIG_FILE)
|
|||||||
|
|
||||||
$(SUDO_DIR)/sudo: $(SUDO_DIR)/.configured
|
$(SUDO_DIR)/sudo: $(SUDO_DIR)/.configured
|
||||||
$(MAKE) -C $(SUDO_DIR)
|
$(MAKE) -C $(SUDO_DIR)
|
||||||
|
touch -c $(SUDO_DIR)/sudo
|
||||||
|
|
||||||
$(TARGET_DIR)/usr/bin/sudo: $(SUDO_DIR)/sudo
|
$(TARGET_DIR)/usr/bin/sudo: $(SUDO_DIR)/sudo
|
||||||
# Use fakeroot to pretend to do 'make install' as root
|
# Use fakeroot to pretend to do 'make install' as root
|
||||||
echo "$(MAKE) $(TARGET_CONFIGURE_OPTS) DESTDIR="$(TARGET_DIR)" -C $(SUDO_DIR) install" \
|
echo "$(MAKE) $(TARGET_CONFIGURE_OPTS) DESTDIR="$(TARGET_DIR)" -C $(SUDO_DIR) install" \
|
||||||
> $(STAGING_DIR)/.fakeroot.sudo
|
> $(STAGING_DIR)/.fakeroot.sudo
|
||||||
|
touch -c $(TARGET_DIR)/usr/bin/sudo
|
||||||
|
|
||||||
sudo: uclibc $(TARGET_DIR)/usr/bin/sudo
|
sudo: uclibc $(TARGET_DIR)/usr/bin/sudo
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user