Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 993fd40a authored by Steve Kondik's avatar Steve Kondik
Browse files

Skip some symlinks if TINY_TOOLBOX is set.

Change-Id: I34f0dbf60df17f9d29c40f3a683af5cd51b2f40a
parent 41e0d9a8
Loading
Loading
Loading
Loading
+13 −9
Original line number Original line Diff line number Diff line
@@ -2,18 +2,14 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
include $(CLEAR_VARS)


TOOLS := \
TOOLS := \
	ls \
	mount \
	cat \
	cat \
	ps \
	ps \
	kill \
	kill \
	ln \
	insmod \
	insmod \
	rmmod \
	rmmod \
	lsmod \
	lsmod \
	ifconfig \
	ifconfig \
	setconsole \
	setconsole \
	rm \
	mkdir \
	mkdir \
	rmdir \
	rmdir \
	reboot \
	reboot \
@@ -22,7 +18,6 @@ TOOLS := \
	date \
	date \
	wipe \
	wipe \
	sync \
	sync \
	umount \
	start \
	start \
	stop \
	stop \
	notify \
	notify \
@@ -31,7 +26,6 @@ TOOLS := \
	route \
	route \
	hd \
	hd \
	dd \
	dd \
	df \
	getprop \
	getprop \
	setprop \
	setprop \
	watchprops \
	watchprops \
@@ -40,12 +34,9 @@ TOOLS := \
	renice \
	renice \
	printenv \
	printenv \
	smd \
	smd \
	chmod \
	chown \
	newfs_msdos \
	newfs_msdos \
	netstat \
	netstat \
	ioctl \
	ioctl \
	mv \
	schedtop \
	schedtop \
	top \
	top \
	iftop \
	iftop \
@@ -56,6 +47,19 @@ TOOLS := \
	ionice \
	ionice \
	lsof
	lsof


ifndef TINY_TOOLBOX
    TOOLS += \
        ln \
        ls \
        mount \
        rm \
        umount \
        df \
        chmod \
        chown \
        mv 
endif

LOCAL_SRC_FILES:= \
LOCAL_SRC_FILES:= \
	toolbox.c \
	toolbox.c \
	$(patsubst %,%.c,$(TOOLS))
	$(patsubst %,%.c,$(TOOLS))