diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 | 
1 files changed, 3 insertions, 0 deletions
| @@ -388,6 +388,9 @@ else  	find $(TARGET_DIR)/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f  	find $(TARGET_DIR)/usr/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f  endif +ifneq ($(BR2_PACKAGE_GDB),y) +	rm -rf $(TARGET_DIR)/usr/share/gdb +endif  ifneq ($(BR2_HAVE_DOCUMENTATION),y)  	rm -rf $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/man  	rm -rf $(TARGET_DIR)/usr/info $(TARGET_DIR)/usr/share/info | 
