mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-26 20:56:33 +00:00
If both bash and busybox are selected, make certain bash wins
the fight over who gets to own the /bin/sh symlink -Erik
This commit is contained in:
parent
c0ca7f4bdc
commit
3d7a187f76
@ -63,7 +63,13 @@ $(TARGET_DIR)/$(BASH_TARGET_BINARY): $(BASH_DIR)/$(BASH_BINARY)
|
|||||||
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
|
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
|
||||||
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
|
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
|
||||||
|
|
||||||
|
#If both bash and busybox are selected, make certain bash wins
|
||||||
|
#the fight over who gets to own the /bin/sh symlink
|
||||||
|
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||||
|
bash: ncurses uclibc busybox $(TARGET_DIR)/$(BASH_TARGET_BINARY)
|
||||||
|
else
|
||||||
bash: ncurses uclibc $(TARGET_DIR)/$(BASH_TARGET_BINARY)
|
bash: ncurses uclibc $(TARGET_DIR)/$(BASH_TARGET_BINARY)
|
||||||
|
endif
|
||||||
|
|
||||||
bash-clean:
|
bash-clean:
|
||||||
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(BASH_DIR) uninstall
|
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(BASH_DIR) uninstall
|
||||||
|
Loading…
x
Reference in New Issue
Block a user