Browse Source

prevent whining about conflicting targets

Eric Andersen 20 years ago
parent
commit
7c5dbf816a
2 changed files with 7 additions and 3 deletions
  1. 6 1
      package/tinyx/tinyx.mk
  2. 1 2
      package/xorg/xorg.mk

+ 6 - 1
package/tinyx/tinyx.mk

@@ -20,6 +20,11 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 # USA
 #
+
+
+ifneq ($(strip $(BR2_PACKAGE_XORG)),y)
+ifeq ($(strip $(BR2_PACKAGE_TINYX)),y)
+
 #############################################################
 # You may want to change these.
 #############################################################
@@ -137,6 +142,6 @@ tinyx-dirclean:
 # Toplevel Makefile options
 #
 #############################################################
-ifeq ($(strip $(BR2_PACKAGE_TINYX)),y)
 TARGETS+=tinyx
 endif
+endif

+ 1 - 2
package/xorg/xorg.mk

@@ -5,6 +5,7 @@
 #############################################################
 
 ifneq ($(strip $(BR2_PACKAGE_TINYX)),y)
+ifeq ($(strip $(BR2_PACKAGE_XORG)),y)
 
 XORG_APPS:=xlsfonts/xlsfonts xmodmap/xmodmap
 #xset/xset xdpyinfo/xdpyinfo xsetroot/xsetroot \
@@ -90,8 +91,6 @@ xorg-dirclean:
 # Toplevel Makefile options
 #
 #############################################################
-ifeq ($(strip $(BR2_PACKAGE_XORG)),y)
 TARGETS+=xorg
 endif
-
 endif