diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-04-01 07:03:07 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-04-01 07:03:07 +0000 |
commit | 34274164d9be605924bb8466fb7639bace5dee2b (patch) | |
tree | b7b40773adbc4ef03bd70fef4ff891a2cc1f311e | |
parent | ea471ffff91f389b7dc42b9a9893ea7da000a9f1 (diff) |
buildroot: additional -clean target fixes
Patch by Hebbar.
-rw-r--r-- | package/file/file.mk | 2 | ||||
-rw-r--r-- | package/gettext/gettext.mk | 2 | ||||
-rw-r--r-- | package/libdrm/libdrm.mk | 2 | ||||
-rw-r--r-- | package/lzo/lzo.mk | 2 | ||||
-rw-r--r-- | package/pkgconfig/pkgconfig.mk | 2 | ||||
-rw-r--r-- | package/tslib/tslib.mk | 5 | ||||
-rw-r--r-- | package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.mk | 4 | ||||
-rw-r--r-- | target/u-boot/Makefile.in | 4 |
8 files changed, 11 insertions, 12 deletions
diff --git a/package/file/file.mk b/package/file/file.mk index f4205718c..0498d24d2 100644 --- a/package/file/file.mk +++ b/package/file/file.mk @@ -105,7 +105,7 @@ endif file: zlib uclibc $(TARGET_DIR)/$(FILE_TARGET_BINARY) file-clean: - $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(FILE_DIR2) uninstall + -$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(FILE_DIR2) uninstall -$(MAKE) -C $(FILE_DIR2) clean file-dirclean: diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk index 802da2fb7..7acd92eba 100644 --- a/package/gettext/gettext.mk +++ b/package/gettext/gettext.mk @@ -125,7 +125,7 @@ gettext: uclibc pkgconfig $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY) gettext-unpacked: $(GETTEXT_DIR)/.unpacked gettext-clean: - $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(GETTEXT_DIR) uninstall + -$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(GETTEXT_DIR) uninstall -$(MAKE) -C $(GETTEXT_DIR) clean gettext-dirclean: diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk index fb7fc061b..24cd66744 100644 --- a/package/libdrm/libdrm.mk +++ b/package/libdrm/libdrm.mk @@ -64,7 +64,7 @@ $(TARGET_DIR)/usr/lib/libdrm.so: $(STAGING_DIR)/usr/lib/libdrm.so libdrm: uclibc pkgconfig $(TARGET_DIR)/usr/lib/libdrm.so libdrm-clean: - $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(LIBDRM_DIR) uninstall + -$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(LIBDRM_DIR) uninstall -$(MAKE) -C $(LIBDRM_DIR) clean libdrm-dirclean: diff --git a/package/lzo/lzo.mk b/package/lzo/lzo.mk index ed47900c3..a394e6835 100644 --- a/package/lzo/lzo.mk +++ b/package/lzo/lzo.mk @@ -54,7 +54,7 @@ $(STAGING_DIR)/usr/lib/liblzo.a: $(LZO_DIR)/src/liblzo.la lzo: uclibc $(STAGING_DIR)/usr/lib/liblzo.a lzo-clean: - $(MAKE) DESTDIR=$(STAGING_DIR) -C $(LZO_DIR) uninstall + -$(MAKE) DESTDIR=$(STAGING_DIR) -C $(LZO_DIR) uninstall -$(MAKE) -C $(LZO_DIR) clean lzo-dirclean: diff --git a/package/pkgconfig/pkgconfig.mk b/package/pkgconfig/pkgconfig.mk index 91c521078..456ad2406 100644 --- a/package/pkgconfig/pkgconfig.mk +++ b/package/pkgconfig/pkgconfig.mk @@ -55,7 +55,7 @@ $(STAGING_DIR)/$(PKGCONFIG_TARGET_BINARY): $(PKGCONFIG_DIR)/$(PKGCONFIG_BINARY) pkgconfig: uclibc $(STAGING_DIR)/$(PKGCONFIG_TARGET_BINARY) pkgconfig-clean: - $(MAKE) DESTDIR=$(STAGING_DIR) -C $(PKGCONFIG_DIR) uninstall + -$(MAKE) DESTDIR=$(STAGING_DIR) -C $(PKGCONFIG_DIR) uninstall -$(MAKE) -C $(PKGCONFIG_DIR) clean pkgconfig-dirclean: diff --git a/package/tslib/tslib.mk b/package/tslib/tslib.mk index 97fcf10c3..8e309d9c6 100644 --- a/package/tslib/tslib.mk +++ b/package/tslib/tslib.mk @@ -91,9 +91,8 @@ tslib-build: uclibc $(TSLIB_DIR)/.configured touch $(TSLIB_DIR)/.compiled tslib-clean: - $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(TSLIB_DIR) uninstall - rm -f $(STAGING_DIR)/lib/libts.* - rm -f $(STAGING_DIR)/usr/lib/libts.* + -$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(TSLIB_DIR) uninstall + rm -f $(STAGING_DIR)/lib/libts.* $(STAGING_DIR)/usr/lib/libts.* -$(MAKE) -C $(TSLIB_DIR) clean tslib-dirclean: diff --git a/package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.mk b/package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.mk index ec09be62b..5dc0ce965 100644 --- a/package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.mk +++ b/package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.mk @@ -58,8 +58,8 @@ $(XDATA_XCURSOR_THEMES_DIR)/.installed: $(XDATA_XCURSOR_THEMES_DIR)/.built touch $@ xdata_xcursor-themes-clean: - $(MAKE) prefix=$(STAGING_DIR)/usr -C $(XDATA_XCURSOR_THEMES_DIR) uninstall - $(MAKE) prefix=$(TARGET_DIR)/usr -C $(XDATA_XCURSOR_THEMES_DIR) uninstall + -$(MAKE) prefix=$(STAGING_DIR)/usr -C $(XDATA_XCURSOR_THEMES_DIR) uninstall + -$(MAKE) prefix=$(TARGET_DIR)/usr -C $(XDATA_XCURSOR_THEMES_DIR) uninstall -$(MAKE) -C $(XDATA_XCURSOR_THEMES_DIR) clean -rm $(XDATA_XCURSOR_THEMES_DIR)/.installed -rm $(XDATA_XCURSOR_THEMES_DIR)/.built diff --git a/target/u-boot/Makefile.in b/target/u-boot/Makefile.in index 8ae084bdf..fc4745430 100644 --- a/target/u-boot/Makefile.in +++ b/target/u-boot/Makefile.in @@ -25,7 +25,7 @@ define insert_define @echo "#endif" >> $(U_BOOT_INC_CONF_FILE) @echo "#define $(strip $(1)) $(2)" >> $(U_BOOT_INC_CONF_FILE) endef - + $(DL_DIR)/$(U_BOOT_SOURCE): $(WGET) -P $(DL_DIR) $(U_BOOT_SITE)/$(U_BOOT_SOURCE) @@ -113,7 +113,7 @@ $(BINARIES_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/$(U_BOOT_BIN) u-boot: gcc $(BINARIES_DIR)/$(U_BOOT_BIN) u-boot-clean: - $(MAKE) -C $(U_BOOT_DIR) clean + -$(MAKE) -C $(U_BOOT_DIR) clean u-boot-dirclean: rm -rf $(U_BOOT_DIR) |