From 83bb3ab9f2a869063c084c77d9fb91d70b0dc4e7 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sun, 19 Jan 2003 01:14:11 +0000 Subject: Fixup a couple of little buglets that snuck in --- make/jffs2root.mk | 2 +- make/netkitbase.mk | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/make/jffs2root.mk b/make/jffs2root.mk index 77ab5c998..b0f8ce7b6 100644 --- a/make/jffs2root.mk +++ b/make/jffs2root.mk @@ -28,7 +28,7 @@ mtd: $(MKFS_JFFS2) # ############################################################# -jffs2root: jffs2 +jffs2root: mtd -@find $(TARGET_DIR)/lib -type f -name \*.so\* | xargs $(STRIP) --strip-unneeded 2>/dev/null || true; -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true; @rm -rf $(TARGET_DIR)/usr/man diff --git a/make/netkitbase.mk b/make/netkitbase.mk index c5a3f657a..20706bc50 100644 --- a/make/netkitbase.mk +++ b/make/netkitbase.mk @@ -37,16 +37,14 @@ $(TARGET_DIR)/$(NETKITBASE_TARGET_BINARY): $(NETKITBASE_DIR)/$(NETKITBASE_BINARY # Only install a few selected items... mkdir -p $(TARGET_DIR)/usr/sbin cp $(NETKITBASE_DIR)/$(NETKITBASE_BINARY) $(TARGET_DIR)/$(NETKITBASE_TARGET_BINARY) - #$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC1) -C $(NETKITBASE_DIR) install - #rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \ - # $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc - -$(TARGET_DIR)/etc/inetd.conf: $(TARGET_DIR)/$(NETKITBASE_TARGET_BINARY) mkdir -p $(TARGET_DIR)/etc cp $(NETKITBASE_DIR)/etc.sample/inetd.conf $(TARGET_DIR)/etc/ perl -i -p -e "s/^([a-z])/#\1/;" $(TARGET_DIR)/etc/inetd.conf + #$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC1) -C $(NETKITBASE_DIR) install + #rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \ + # $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc -netkitbase: uclibc $(TARGET_DIR)/$(NETKITBASE_TARGET_BINARY) $(TARGET_DIR)/etc/inetd.conf +netkitbase: uclibc $(TARGET_DIR)/$(NETKITBASE_TARGET_BINARY) netkitbase-clean: #$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC1) -C $(NETKITBASE_DIR) uninstall -- cgit v1.2.3