include $(TOPDIR)Rules.mak
SUBDIRS:=applets archival archival/libunarchive console-tools \
editors fileutils findutils init miscutils modutils networking \
- procps pwd_grp pwd_grp/libpwd_grp shell shellutils sysklogd \
- textutils util-linux libbb
+ procps loginutils shell shellutils sysklogd \
+ textutils util-linux libbb libpwdgrp
all: do-it-all
install: applets/install.sh busybox busybox.links
$(SHELL) $< $(PREFIX)
+uninstall: busybox busybox.links
+ for i in `cat busybox.links` ; do rm -f $$PREFIX$$i; done
+
install-hardlinks: applets/install.sh busybox busybox.links
$(SHELL) $< $(PREFIX) --hardlinks
make oldconfig; \
fi;
-menuconfig:
+$(TOPDIR).config:
+ @if [ ! -f $(TOPDIR).config ] ; then \
+ cp $(TOPDIR)sysdeps/$(TARGET_OS)/defconfig $(TOPDIR).config; \
+ fi;
+
+menuconfig: $(TOPDIR).config
mkdir -p $(TOPDIR)include/config
$(MAKE) -C scripts/lxdialog all
$(BB_SHELL) scripts/Menuconfig sysdeps/$(TARGET_OS)/config.in
-config:
+config: $(TOPDIR).config
mkdir -p $(TOPDIR)include/config
$(BB_SHELL) scripts/Configure sysdeps/$(TARGET_OS)/config.in
-oldconfig:
+oldconfig: $(TOPDIR).config
mkdir -p $(TOPDIR)include/config
$(BB_SHELL) scripts/Configure -d sysdeps/$(TARGET_OS)/config.in
- rm -f busybox busybox.links libbb/loop.h .config.old .hdepend
- rm -f scripts/split-include scripts/mkdep .*config.log
- rm -rf include/config include/config.h
- - find -name .\*.flags -o -name .depend -exec rm -f {} \;
+ - find -name .\*.flags -exec rm -f {} \;
+ - find -name .depend -exec rm -f {} \;
- find -name \*.o -exec rm -f {} \;
- find -name \*.a -exec rm -f {} \;