There is no need to have a separate 'Makefile.in' file in the
authorEric Andersen <andersen@codepoet.org>
Thu, 10 Feb 2005 03:06:39 +0000 (03:06 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 10 Feb 2005 03:06:39 +0000 (03:06 -0000)
general case, therefore, combine the toplevel Makefile options
such as setting TARGETS into the per-package *.mk file

208 files changed:
Makefile
docs/buildroot-documentation.html
package/autoconf/Makefile.in [deleted file]
package/autoconf/autoconf.mk
package/automake/Makefile.in [deleted file]
package/automake/automake.mk
package/bash/Makefile.in [deleted file]
package/bash/bash.mk
package/berkeleydb/Makefile.in [deleted file]
package/berkeleydb/berkeleydb.mk
package/bison/Makefile.in [deleted file]
package/bison/bison.mk
package/boa/Makefile.in [deleted file]
package/boa/boa.mk
package/bridge/Makefile.in [deleted file]
package/bridge/bridge.mk
package/busybox/Makefile.in [deleted file]
package/busybox/busybox.mk
package/bzip2/Makefile.in [deleted file]
package/bzip2/bzip2.mk
package/config/Config.in [deleted file]
package/config/Makefile.in [deleted file]
package/coreutils/Makefile.in [deleted file]
package/coreutils/coreutils.mk
package/customize/Makefile.in [deleted file]
package/customize/customize.mk
package/dhcp_relay/Makefile.in [deleted file]
package/dhcp_relay/dhcp_relay.mk
package/diffutils/Makefile.in [deleted file]
package/diffutils/diffutils.mk
package/distcc/Makefile.in [deleted file]
package/distcc/distcc.mk
package/dnsmasq/Makefile.in [deleted file]
package/dnsmasq/dnsmasq.mk
package/dropbear_sshd/Makefile.in [deleted file]
package/dropbear_sshd/dropbear_sshd.mk
package/ed/Makefile.in [deleted file]
package/ed/ed.mk
package/fakeroot/Makefile.in [deleted file]
package/fakeroot/fakeroot.mk
package/file/Makefile.in [deleted file]
package/file/file.mk
package/findutils/Makefile.in [deleted file]
package/findutils/findutils.mk
package/flex/Makefile.in [deleted file]
package/flex/flex.mk
package/gawk/Makefile.in [deleted file]
package/gawk/gawk.mk
package/gettext/Makefile.in [deleted file]
package/gettext/gettext.mk
package/grep/Makefile.in [deleted file]
package/grep/grep.mk
package/gzip/Makefile.in [deleted file]
package/gzip/gzip.mk
package/hostap/Makefile.in [deleted file]
package/hostap/hostap.mk
package/hotplug/Makefile.in [deleted file]
package/hotplug/hotplug.mk
package/iproute2/Makefile.in [deleted file]
package/iproute2/iproute2.mk
package/iptables/Makefile.in [deleted file]
package/iptables/iptables.mk
package/jpeg/Makefile.in [deleted file]
package/jpeg/jpeg.mk
package/less/Makefile.in [deleted file]
package/less/less.mk
package/libfloat/Makefile.in [deleted file]
package/libfloat/libfloat.mk
package/libglib12/Makefile.in [deleted file]
package/libglib12/libglib12.mk
package/libmad/Makefile.in [deleted file]
package/libmad/libmad.mk
package/libpcap/Makefile.in [deleted file]
package/libpcap/libpcap.mk
package/libpng/Makefile.in [deleted file]
package/libpng/libpng.mk
package/libtool/Makefile.in [deleted file]
package/libtool/libtool.mk
package/links/Makefile.in [deleted file]
package/links/links.mk
package/linux/Makefile.in [deleted file]
package/linux/linux.mk
package/lrzsz/Makefile.in [deleted file]
package/lrzsz/lrzsz.mk
package/ltp-testsuite/Makefile.in [deleted file]
package/ltp-testsuite/ltp-testsuite.mk
package/ltrace/Makefile.in [deleted file]
package/ltrace/ltrace.mk
package/lzo/Makefile.in [deleted file]
package/lzo/lzo.mk
package/m4/Makefile.in [deleted file]
package/m4/m4.mk
package/make/Makefile.in [deleted file]
package/make/make.mk
package/microcom/Makefile.in [deleted file]
package/microcom/microcom.mk
package/microwin/Makefile.in [deleted file]
package/microwin/microwin.mk
package/mkdosfs/Makefile.in [deleted file]
package/mkdosfs/mkdosfs.mk
package/mke2fs/Makefile.in [deleted file]
package/mke2fs/mke2fs.mk
package/mpg123/Makefile.in [deleted file]
package/mpg123/mpg123.mk
package/mrouted/Makefile.in [deleted file]
package/mrouted/mrouted.mk
package/mtd/Makefile.in [deleted file]
package/mtd/mtd.mk
package/nano/Makefile.in [deleted file]
package/nano/nano.mk
package/ncurses/Makefile.in [deleted file]
package/ncurses/ncurses.mk
package/netkitbase/Makefile.in [deleted file]
package/netkitbase/netkitbase.mk
package/netkittelnet/Makefile.in [deleted file]
package/netkittelnet/netkittelnet.mk
package/netsnmp/Makefile.in [deleted file]
package/netsnmp/netsnmp.mk
package/newt/Makefile.in [deleted file]
package/newt/newt.mk
package/ntp/Makefile.in [deleted file]
package/ntp/ntp.mk
package/openssh/Makefile.in [deleted file]
package/openssh/openssh.mk
package/openssl/Makefile.in [deleted file]
package/openssl/openssl.mk
package/openvpn/Makefile.in [deleted file]
package/openvpn/openvpn.mk
package/patch/Makefile.in [deleted file]
package/patch/patch.mk
package/pciutils/Makefile.in [deleted file]
package/pciutils/pciutils.mk
package/pcmcia/Makefile.in [deleted file]
package/pcmcia/pcmcia.mk
package/portage/Makefile.in [deleted file]
package/portage/portage.mk
package/portmap/Makefile.in [deleted file]
package/portmap/portmap.mk
package/pppd/Makefile.in [deleted file]
package/pppd/pppd.mk
package/procps/Makefile.in [deleted file]
package/procps/procps.mk
package/python/Makefile.in [deleted file]
package/python/python.mk
package/raidtools/Makefile.in [deleted file]
package/raidtools/raidtools.mk
package/rsync/Makefile.in [deleted file]
package/rsync/rsync.mk
package/rxvt/Makefile.in [deleted file]
package/rxvt/rxvt.mk
package/sed/Makefile.in [deleted file]
package/sed/sed.mk
package/sfdisk/Makefile.in [deleted file]
package/sfdisk/sfdisk.mk
package/slang/Makefile.in [deleted file]
package/slang/slang.mk
package/socat/Makefile.in [deleted file]
package/socat/socat.mk
package/strace/Makefile.in [deleted file]
package/strace/strace.mk
package/tar/Makefile.in [deleted file]
package/tar/tar.mk
package/tcpdump/Makefile.in [deleted file]
package/tcpdump/tcpdump.mk
package/tinylogin/Makefile.in [deleted file]
package/tinylogin/tinylogin.mk
package/tinyx/Makefile.in [deleted file]
package/tinyx/tinyx.mk
package/tn5250/Makefile.in [deleted file]
package/tn5250/tn5250.mk
package/ttcp/Makefile.in [deleted file]
package/ttcp/ttcp.mk
package/udhcp/Makefile.in [deleted file]
package/udhcp/udhcp.mk
package/util-linux/Makefile.in [deleted file]
package/util-linux/util-linux.mk
package/valgrind/Makefile.in [deleted file]
package/valgrind/valgrind.mk
package/vtun/Makefile.in [deleted file]
package/vtun/vtun.mk
package/wget/Makefile.in [deleted file]
package/wget/wget.mk
package/which/Makefile.in [deleted file]
package/which/which.mk
package/wtools/Makefile.in [deleted file]
package/wtools/wtools.mk
package/zlib/Makefile.in [deleted file]
package/zlib/zlib.mk
target/cramfs/Makefile.in [deleted file]
target/cramfs/cramfs.mk
target/ext2/Makefile.in [deleted file]
target/ext2/ext2root.mk
target/jffs2/Makefile.in [deleted file]
target/jffs2/jffs2root.mk
target/squashfs/Makefile.in [deleted file]
target/squashfs/squashfsroot.mk
target/tar/Makefile.in [deleted file]
target/tar/tarroot.mk
toolchain/Makefile.in
toolchain/binutils/Makefile.in [deleted file]
toolchain/binutils/binutils.mk
toolchain/ccache/Makefile.in [deleted file]
toolchain/ccache/ccache.mk
toolchain/gcc/Makefile.in
toolchain/gdb/Makefile.in [deleted file]
toolchain/gdb/gdb.mk
toolchain/kernel-headers/Makefile.in [deleted file]
toolchain/kernel-headers/kernel-headers.mk

index 3b263de3105a31f3cbb100922065b2b7bc1c0e07..e6eb5cca9ab111d36ee6e36dc1b07b5bc700e826 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -51,11 +51,8 @@ ifeq ($(strip $(BR2_HAVE_DOT_CONFIG)),y)
 ##############################################################
 TARGETS:=host-sed kernel-headers uclibc-configured binutils gcc uclibc-target-utils
 include toolchain/Makefile.in
-include toolchain/*/Makefile.in
 include package/Makefile.in
-include package/*/Makefile.in
 include target/Makefile.in
-include target/*/Makefile.in
 
 #############################################################
 #
@@ -71,6 +68,13 @@ all:   world
 # In this section, we need .config
 include .config.cmd
 
+# We also need the various per-package makefiles, which also add
+# each selected package to TARGETS if that package was selected
+# in the .config file.
+include toolchain/*/*.mk
+include package/*/*.mk
+include target/*/*.mk
+
 TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
 TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS))
 TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS))
@@ -81,10 +85,6 @@ world: $(DL_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) $(TARGETS)
        $(TARGETS_CLEAN) $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) \
        $(DL_DIR) $(BUILD_DIR) $(TOOL_BUILD_DIR) $(STAGING_DIR)
 
-include toolchain/*/*.mk
-include package/*/*.mk
-include target/*/*.mk
-
 #############################################################
 #
 # staging and target directories do NOT list these as
index 35b824a7c56faeb3c5e091cab4167b683d5c438c..8897ff67ea3593abaa1905600da052f7a16acbb0 100644 (file)
       skeleton.</li>
     </ul>
 
-    <p>Each directory contains at least 3 files :</p>
+    <p>Each directory contains at least 2 files :</p>
 
     <ul>
       <li><code>something.mk</code> is the Makefile that downloads, configures,
       description file. It describes the option related to the current
       software.</li>
 
-      <li><code>Makefile.in</code> is a part of Makefile that sets various
-      variables according to the configuration given through the configuration
-      tool. For most tools it simply involves adding the name of the tool to
-      the <code>TARGETS</code> variable.</li>
     </ul>
 
     <p>The main Makefile do the job through the following steps (once the
       <code>target/default/target_skeleton</code> and then removes useless
       <code>CVS/</code> directories.</li>
 
-      <li>Make the <code>TARGETS</code> dependency. This is where all the job
-      is done : all <code>Makefile.in</code> files "subscribe" targets into
-      this global variable, so that the needed tools gets compiled.</li>
+      <li>Add the <code>TARGETS</code> dependency. This should generally check
+      if the configuration option for this package is enabled, and if so then
+      "subscribe" this package to be compiled by adding it to the TARGETS
+      global variable.</li>
     </ol>
 
     <h2><a name="using_toolchain" id="using_toolchain"></a>Using the
@@ -441,26 +438,6 @@ config BR2_PACKAGE_FOO
     <p>Of course, you can add other options to configure particular
     things in your software.</p>
 
-    <h3><code>Makefile.in</code> file</h3>
-
-    <p>Then, write a <code>Makefile.in</code> file. Basically, this is
-    a very short <i>Makefile</i> that adds the name of the software to
-    the list of <code>TARGETS</code> that Buildroot will generate. In
-    fact, the name of the software is the the identifier of the target
-    inside the real <i>Makefile</i> that will do everything (download,
-    compile, install), and that we study below. Back to
-    <code>Makefile.in</code>, here is an example :</p>
-
-<pre>
-ifeq ($(strip $(BR2_PACKAGE_FOO)),y)
-TARGETS+=foo
-endif
-</pre>
-
-   <p>As you can see, this short <i>Makefile</i> simply adds the
-   target <code>foo</code> to the list of targets handled by Buildroot
-   if software <i>foo</i> was selected using the configuration tool.</p>
-
    <h3>The real <i>Makefile</i></h3>
 
    <p>Finally, here's the hardest part. Create a file named
@@ -520,6 +497,15 @@ endif
     48  foo-dirclean:
     49          rm -rf $(FOO_DIR)
     50
+    51 #############################################################
+    52 #
+    53 # Toplevel Makefile options
+    54 #
+    55 #############################################################
+    56 ifeq ($(strip $(BR2_PACKAGE_FOO)),y)
+    57 TARGETS+=foo
+    58 endif
+
 </pre>
 
     <p>First of all, this <i>Makefile</i> example works for a single
@@ -602,11 +588,13 @@ endif
     removed to save space.</p>
 
     <p>Line 40 defines the main target of the software, the one
-    referenced in the <code>Makefile.in</code> file. This targets
-    should first of all depends on the dependecies of the software (in
-    our example, <i>uclibc</i> and <i>ncurses</i>), and then to the
+    that will be eventually be used by the top level
+    <code>Makefile</code> to download, compile, and then install
+    this package. This target should first of all depends on all
+    needed dependecies of the software (in our example,
+    <i>uclibc</i> and <i>ncurses</i>), and also depend on the
     final binary. This last dependency will call all previous
-    dependencies in the right order. </p>
+    dependencies in the correct order. </p>
 
     <p>Line 42 defines a simple target that only downloads the code
     source. This is not used during normal operation of Buildroot, but
@@ -619,6 +607,17 @@ endif
     directory in which the software was uncompressed, configured and
     compiled.</p>
 
+    <p>Lines 51-58 adds the target <code>foo</code> to the list
+    of targets to be compiled by Buildroot by first checking if
+    the configuration option for this package has been enabled
+    using the configuration tool, and if so then "subscribes"
+    this package to be compiled by adding it to the TARGETS
+    global variable.  The name added to the TARGETS global
+    variable is the name of this package's target, as defined on
+    line 40, which is used by Buildroot to download, compile, and
+    then install this package.</p>
+
+
     <h3>Conclusion</h3>
 
     <p>As you can see, adding a software to buildroot is simply a
diff --git a/package/autoconf/Makefile.in b/package/autoconf/Makefile.in
deleted file mode 100644 (file)
index 30dbd84..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_AUTOCONF)),y)
-TARGETS+=autoconf
-endif
index ff9251085e9913e8694cfc6c0225baa4652107ea..ce1ba315e9ee44f29c0a2a78f3791d633efc07dd 100644 (file)
@@ -70,3 +70,11 @@ autoconf-clean:
 autoconf-dirclean:
        rm -rf $(AUTOCONF_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_AUTOCONF)),y)
+TARGETS+=autoconf
+endif
diff --git a/package/automake/Makefile.in b/package/automake/Makefile.in
deleted file mode 100644 (file)
index 0dd3de6..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_AUTOMAKE)),y)
-TARGETS+=automake
-endif
index dc4788f0de530b19609050687d552738b3eb877c..31ba69dde5082082f2e37c4f423e81453e4e338c 100644 (file)
@@ -74,3 +74,11 @@ automake-clean:
 automake-dirclean:
        rm -rf $(AUTOMAKE_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_AUTOMAKE)),y)
+TARGETS+=automake
+endif
diff --git a/package/bash/Makefile.in b/package/bash/Makefile.in
deleted file mode 100644 (file)
index aa94d84..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_BASH)),y)
-TARGETS+=bash
-endif
index 64f40d7be298607f38f9cd879f20619ade6e5ac6..d25b1558e8bad18a904153227712605f0b1920ce 100644 (file)
@@ -78,3 +78,11 @@ bash-clean:
 bash-dirclean:
        rm -rf $(BASH_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_BASH)),y)
+TARGETS+=bash
+endif
diff --git a/package/berkeleydb/Makefile.in b/package/berkeleydb/Makefile.in
deleted file mode 100644 (file)
index ca6146c..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_BERKELEYDB)),y)
-TARGETS+=berkeleydb
-endif
index bc9b3472a00932258a86f20879461056d3867fe0..2602079d9c14b87980044c7b093967cbf25e4b61 100644 (file)
@@ -92,3 +92,11 @@ berkeleydb-dirclean:
 
 berkeleydb: uclibc $(TARGET_DIR)/lib/$(DB_SHARLIB)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_BERKELEYDB)),y)
+TARGETS+=berkeleydb
+endif
diff --git a/package/bison/Makefile.in b/package/bison/Makefile.in
deleted file mode 100644 (file)
index d67c078..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_BISON)),y)
-TARGETS+=bison
-endif
index 84d8723f5f4e58fd931a0ef4d96a8685a31bf84c..d9ec72fdea383e7aa3f662fe523f93ecc98e02e9 100644 (file)
@@ -60,3 +60,11 @@ bison-clean:
 bison-dirclean:
        rm -rf $(BISON_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_BISON)),y)
+TARGETS+=bison
+endif
diff --git a/package/boa/Makefile.in b/package/boa/Makefile.in
deleted file mode 100644 (file)
index 74684d7..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_BOA)),y)
-TARGETS+=boa
-endif
index 4fd32c6139b8315fe7c2f31002d1fc7b95ab1893..9ea27b8e2d818ed17fb5336b09edf04e21c06609 100644 (file)
@@ -74,3 +74,11 @@ boa-clean:
 boa-dirclean:
        rm -rf $(BOA_DIR) $(BOA_WORKDIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_BOA)),y)
+TARGETS+=boa
+endif
diff --git a/package/bridge/Makefile.in b/package/bridge/Makefile.in
deleted file mode 100644 (file)
index 5636052..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_BRIDGE)),y)
-TARGETS+=bridge
-endif
index 9cf9f330ae3882fc83f568b3c6f1f2241a7d28dd..32743c26dfa2c8af3b673f1250a3df915e56556f 100644 (file)
@@ -59,3 +59,11 @@ bridge-clean:
 
 bridge-dirclean:
        rm -rf $(BRIDGE_BUILD_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_BRIDGE)),y)
+TARGETS+=bridge
+endif
diff --git a/package/busybox/Makefile.in b/package/busybox/Makefile.in
deleted file mode 100644 (file)
index a8efafb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_BUSYBOX)),y)
-TARGETS+=busybox
-endif
index ae9abf1332f32e7c45d5866cc3b3b7b7c6892aa0..497aa76a049f903981393cc01c2d780a9a8b1219 100644 (file)
@@ -60,3 +60,11 @@ busybox-clean:
 
 busybox-dirclean:
        rm -rf $(BUSYBOX_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_BUSYBOX)),y)
+TARGETS+=busybox
+endif
diff --git a/package/bzip2/Makefile.in b/package/bzip2/Makefile.in
deleted file mode 100644 (file)
index 1672e2d..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_BZIP2)),y)
-TARGETS+=bzip2
-endif
index 6b595e2ed691326a7003abd609609297c20e1153..c6eeb019a003ea976536cc76d43dee310c6c6f96 100644 (file)
@@ -86,3 +86,11 @@ bzip2-clean:
 bzip2-dirclean:
        rm -rf $(BZIP2_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_BZIP2)),y)
+TARGETS+=bzip2
+endif
diff --git a/package/config/Config.in b/package/config/Config.in
deleted file mode 100644 (file)
index 7b114d9..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#
-
-config BR2_PACKAGE_CONFIG
-       bool"config"
-       default n
-       help
-         Add help text here.
-
diff --git a/package/config/Makefile.in b/package/config/Makefile.in
deleted file mode 100644 (file)
index addf1b9..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_CONFIG)),y)
-TARGETS+=config
-endif
diff --git a/package/coreutils/Makefile.in b/package/coreutils/Makefile.in
deleted file mode 100644 (file)
index e087f50..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_COREUTILS)),y)
-TARGETS+=coreutils
-endif
index df07a08850b02803d0a7746114d58468e7d53b9c..a51e37785ea5a801b451d471419dc6ce248da079 100644 (file)
@@ -88,3 +88,11 @@ coreutils-clean:
 coreutils-dirclean:
        rm -rf $(COREUTILS_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_COREUTILS)),y)
+TARGETS+=coreutils
+endif
diff --git a/package/customize/Makefile.in b/package/customize/Makefile.in
deleted file mode 100644 (file)
index 5a07dc7..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_CUSTOMIZE)),y)
-TARGETS+=customize
-endif
index d6c99407ba469ea67b4df872ea09d12242966f74..ed50f8f3a1bc39502cde568d83f8aea492bdfcd3 100644 (file)
@@ -7,3 +7,11 @@ CUST_DIR:=package/customize/source
 
 customize:
        -cp -af $(CUST_DIR)/* $(TARGET_DIR)/
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_CUSTOMIZE)),y)
+TARGETS+=customize
+endif
diff --git a/package/dhcp_relay/Makefile.in b/package/dhcp_relay/Makefile.in
deleted file mode 100644 (file)
index e66a24e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_DHCP_RELAY)),y)
-TARGETS+=dhcp_relay
-endif
index d014bd7dbcda13480e4bdd7965c99b2d2c5ca0e7..b1e10cc1c63c6ec79a479d0380621ef3131d110c 100644 (file)
@@ -45,3 +45,11 @@ dhcp_relay-clean:
 dhcp_relay-dirclean:
        rm -rf $(DHCP_RELAY_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_DHCP_RELAY)),y)
+TARGETS+=dhcp_relay
+endif
diff --git a/package/diffutils/Makefile.in b/package/diffutils/Makefile.in
deleted file mode 100644 (file)
index 37996b9..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_DIFFUTILS)),y)
-TARGETS+=diffutils
-endif
index 6f74b7071a7cc30f341fb9373a3a594be5ed3b1c..b8abde53339e0ee2368a2dc475f75db212d1889e 100644 (file)
@@ -59,3 +59,11 @@ diffutils-clean:
 diffutils-dirclean:
        rm -rf $(DIFFUTILS_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_DIFFUTILS)),y)
+TARGETS+=diffutils
+endif
diff --git a/package/distcc/Makefile.in b/package/distcc/Makefile.in
deleted file mode 100644 (file)
index 179a182..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_DISTCC)),y)
-TARGETS+=distcc
-endif
index c56b69e58b302e8006349023abe9bbf0c2d347ba..0c24de9091b52a74cc2d5f19ad1b5eb7edb558fb 100644 (file)
@@ -56,3 +56,11 @@ distcc-clean:
 
 distcc-dirclean:
        rm -rf $(DISTCC_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_DISTCC)),y)
+TARGETS+=distcc
+endif
diff --git a/package/dnsmasq/Makefile.in b/package/dnsmasq/Makefile.in
deleted file mode 100644 (file)
index 36548bd..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_DNSMASQ)),y)
-TARGETS+=dnsmasq
-endif
index b1848c6aa8e9051d56baebadaa26fcd37e123eaf..7df21fe3b07413c966e26d5969719f8052770fe3 100644 (file)
@@ -48,3 +48,11 @@ dnsmasq-clean:
 
 dnsmasq-dirclean:
        rm -rf $(DNSMASQ_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_DNSMASQ)),y)
+TARGETS+=dnsmasq
+endif
diff --git a/package/dropbear_sshd/Makefile.in b/package/dropbear_sshd/Makefile.in
deleted file mode 100644 (file)
index 87247fc..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_DROPBEAR_SSHD)),y)
-TARGETS+=dropbear_sshd
-endif
index 26c9b17830af3f78a90c1900b4f0775041a62d67..de0fcdeb909b058d9ab9c3ac360f74e689b15f6c 100644 (file)
@@ -77,3 +77,11 @@ dropbear_sshd-clean:
 dropbear_sshd-dirclean:
        rm -rf $(DROPBEAR_SSHD_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_DROPBEAR_SSHD)),y)
+TARGETS+=dropbear_sshd
+endif
diff --git a/package/ed/Makefile.in b/package/ed/Makefile.in
deleted file mode 100644 (file)
index 47005f5..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_ED)),y)
-TARGETS+=ed
-endif
index a028c3d62bf1cdaa03fe75a0b5f8561719143677..3c49e0fb2bd11d1a8d7223d6662be7a005122ede 100644 (file)
@@ -53,3 +53,11 @@ ed-clean:
 ed-dirclean:
        rm -rf $(ED_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_ED)),y)
+TARGETS+=ed
+endif
diff --git a/package/fakeroot/Makefile.in b/package/fakeroot/Makefile.in
deleted file mode 100644 (file)
index 07d8457..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_FAKEROOT)),y)
-TARGETS+=fakeroot
-endif
index dba6dee2d50a88495475a682e7da9fc996c7f0b2..b31b126f06cf70ffe96bf112b70c62e44e8a5fd5 100644 (file)
@@ -62,3 +62,11 @@ fakeroot-dirclean:
        rm -rf $(FAKEROOT_DIR) 
 
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_FAKEROOT)),y)
+TARGETS+=fakeroot
+endif
diff --git a/package/file/Makefile.in b/package/file/Makefile.in
deleted file mode 100644 (file)
index 07776d8..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_FILE)),y)
-TARGETS+=file
-endif
index 8f88ddea35c3e9fc1d1c99b77d61c4d49197a696..70e72bd56be317e3ae368bd750d374e339561b69 100644 (file)
@@ -64,3 +64,11 @@ file-clean:
 file-dirclean:
        rm -rf $(FILE_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_FILE)),y)
+TARGETS+=file
+endif
diff --git a/package/findutils/Makefile.in b/package/findutils/Makefile.in
deleted file mode 100644 (file)
index 62a8cfb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_FINDUTILS)),y)
-TARGETS+=findutils
-endif
index 9819a1ef47714f8c9048509a86d761fd0ac47fc8..a16ce78dcd9483065764925e030d6236c0372247 100644 (file)
@@ -68,3 +68,11 @@ findutils-clean:
 findutils-dirclean:
        rm -rf $(FINDUTILS_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_FINDUTILS)),y)
+TARGETS+=findutils
+endif
diff --git a/package/flex/Makefile.in b/package/flex/Makefile.in
deleted file mode 100644 (file)
index 8e3cb14..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_FLEX)),y)
-TARGETS+=flex
-endif
index 6379fd922e69a3a002a25c5dcce79ad3adc77733..6474b3126ba94c61b5ea9cceb0e6242901eb36d6 100644 (file)
@@ -94,3 +94,11 @@ flex-clean:
 flex-dirclean:
        rm -rf $(FLEX_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_FLEX)),y)
+TARGETS+=flex
+endif
diff --git a/package/gawk/Makefile.in b/package/gawk/Makefile.in
deleted file mode 100644 (file)
index ceb2820..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_GAWK)),y)
-TARGETS+=gawk
-endif
index d209ab1f0bb1d4977e72a83dafc277a7dd7a2e2f..aadba5ec0b92c4954e7b8598059776357e67414d 100644 (file)
@@ -64,3 +64,11 @@ gawk-clean:
 gawk-dirclean:
        rm -rf $(GAWK_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_GAWK)),y)
+TARGETS+=gawk
+endif
diff --git a/package/gettext/Makefile.in b/package/gettext/Makefile.in
deleted file mode 100644 (file)
index 39aa8ae..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_GETTEXT)),y)
-TARGETS+=gettext
-endif
index c9c78ff91d21fe879a386282da3918c9aa8d34af..89b011dd082aee6f2165ff47365903107f190702 100644 (file)
@@ -59,3 +59,11 @@ gettext-clean:
 gettext-dirclean:
        rm -rf $(GETTEXT_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_GETTEXT)),y)
+TARGETS+=gettext
+endif
diff --git a/package/grep/Makefile.in b/package/grep/Makefile.in
deleted file mode 100644 (file)
index 25a134c..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_GREP)),y)
-TARGETS+=grep
-endif
index 6e909c9a8f9625014adf648a609c74234b8ba66e..4b443ac36a40f41f922fe2ec68fa05ab7c7ec538 100644 (file)
@@ -71,3 +71,11 @@ grep-clean:
 grep-dirclean:
        rm -rf $(GNUGREP_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_GREP)),y)
+TARGETS+=grep
+endif
diff --git a/package/gzip/Makefile.in b/package/gzip/Makefile.in
deleted file mode 100644 (file)
index 4c6f3c3..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_GZIP)),y)
-TARGETS+=gzip
-endif
index 0c1b21b9c67515aa5979c2abb784c5be90004773..4646be8a8bd4b4da55c5420396c2e49a907143b4 100644 (file)
@@ -70,3 +70,11 @@ gzip-clean:
 gzip-dirclean:
        rm -rf $(GZIP_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_GZIP)),y)
+TARGETS+=gzip
+endif
diff --git a/package/hostap/Makefile.in b/package/hostap/Makefile.in
deleted file mode 100644 (file)
index 2b65d71..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_HOSTAP)),y)
-TARGETS+=hostap
-endif
index 3583f7eb802b0ee9c77cabfba36ecc906aca6f19..5bb79fe2fb15f3a717e013d925fbfd44be3f2afc 100644 (file)
@@ -51,3 +51,11 @@ hostap-clean:
 hostap-dirclean:
        rm -rf $(HOSTAP_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_HOSTAP)),y)
+TARGETS+=hostap
+endif
diff --git a/package/hotplug/Makefile.in b/package/hotplug/Makefile.in
deleted file mode 100644 (file)
index 69b1f4a..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_HOTPLUG)),y)
-TARGETS+=hotplug
-endif
index 293bf62284bbe06bfc4ed785b01784db19dd3899..74ffc86039bb6c08f498ff994f9dab1cc14ed4b9 100644 (file)
@@ -36,3 +36,11 @@ hotplug-clean:
 hotplug-dirclean:
        rm -rf $(HOTPLUG_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_HOTPLUG)),y)
+TARGETS+=hotplug
+endif
diff --git a/package/iproute2/Makefile.in b/package/iproute2/Makefile.in
deleted file mode 100644 (file)
index e99850f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_IPROUTE2)),y)
-TARGETS+=iproute2
-endif
index daa9b7935333b6335c7e4e8522b64d7d8db23be3..889cef3859647b961a5c2f15b00b907112827fbd 100644 (file)
@@ -47,3 +47,11 @@ iproute2-clean:
 
 iproute2-dirclean:
        rm -rf $(IPROUTE2_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_IPROUTE2)),y)
+TARGETS+=iproute2
+endif
diff --git a/package/iptables/Makefile.in b/package/iptables/Makefile.in
deleted file mode 100644 (file)
index 5be894b..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_IPTABLES)),y)
-TARGETS+=iptables
-endif
index f053f1e33df71d3f63144380817ef2de8164022c..2b7e8072c5f0a841cc864d0d8c23232e26900d82 100644 (file)
@@ -49,3 +49,11 @@ iptables-clean:
 
 iptables-dirclean:
        rm -rf $(IPTABLES_BUILD_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_IPTABLES)),y)
+TARGETS+=iptables
+endif
diff --git a/package/jpeg/Makefile.in b/package/jpeg/Makefile.in
deleted file mode 100644 (file)
index 87705f7..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_JPEG)),y)
-TARGETS+=jpeg
-endif
index 9b4f5ff482b75b0dce3db4cc2f13cadda6e8f36b..8f0a0dbf874826ee7ef5ca60fb6fd0629993f1bd 100644 (file)
@@ -72,3 +72,11 @@ jpeg: uclibc $(TARGET_DIR)/usr/lib/libjpeg.so.62.0.0
 
 jpeg-clean:
        -$(MAKE) -C $(JPEG_DIR) clean
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_JPEG)),y)
+TARGETS+=jpeg
+endif
diff --git a/package/less/Makefile.in b/package/less/Makefile.in
deleted file mode 100644 (file)
index f6145d7..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_LESS)),y)
-TARGETS+=less
-endif
index af36c1ee63446a9d5e11e3ef39457e8f81894ee6..858c82fc218ab5b9ad2eb336edf18b501f5ebfab 100644 (file)
@@ -48,3 +48,11 @@ less-clean:
 less-dirclean:
        rm -rf $(LESS_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_LESS)),y)
+TARGETS+=less
+endif
diff --git a/package/libfloat/Makefile.in b/package/libfloat/Makefile.in
deleted file mode 100644 (file)
index d8fcc37..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#ifeq ($(strip $(BR2_PACKAGE_LIBFLOAT)),y)
-#TARGETS+=libfloat
-#endif
index 4cea02bb8e88a73efd081c82b0db57ced182b2a5..ed666344db6934517c320541cc7a13a1566559c0 100644 (file)
@@ -55,3 +55,11 @@ libfloat-clean:
 libfloat-dirclean:
        rm -rf $(LIBFLOAT_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+#ifeq ($(strip $(BR2_PACKAGE_LIBFLOAT)),y)
+#TARGETS+=libfloat
+#endif
diff --git a/package/libglib12/Makefile.in b/package/libglib12/Makefile.in
deleted file mode 100644 (file)
index 81cb47c..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_LIBGLIB12)),y)
-TARGETS+=libglib12
-endif
index 587399cf98f207301c1d6c6a3ba563feb4762c8f..34041cba02ea41687f98439c78643ce0cf6bf8bd 100644 (file)
@@ -76,3 +76,11 @@ libglib12-clean:
 libglib12-dirclean:
        rm -rf $(LIBGLIB12_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_LIBGLIB12)),y)
+TARGETS+=libglib12
+endif
diff --git a/package/libmad/Makefile.in b/package/libmad/Makefile.in
deleted file mode 100644 (file)
index 400f2c9..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_LIBMAD)),y)
-TARGETS+=libmad
-endif
index 1504512e1f9cdcf7b60b92ac2ba391f4525f3236..758f7c5469e7bf7cb27b39e3d600657d7dcf8698 100644 (file)
@@ -50,3 +50,11 @@ libmad-clean:
 
 libmad-dirclean:
        rm -rf $(LIBMAD_DIR) $(LIBMAD_WORKDIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_LIBMAD)),y)
+TARGETS+=libmad
+endif
diff --git a/package/libpcap/Makefile.in b/package/libpcap/Makefile.in
deleted file mode 100644 (file)
index f158d9d..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_LIBPCAP)),y)
-TARGETS+=libpcap
-endif
index 53ec7f09fb6907d5ae0489380dbcfae5c45a9b05..104fbad1c79178277c25ab049f6d072b59c6072a 100644 (file)
@@ -77,3 +77,11 @@ libpcap-clean:
 
 libpcap-dirclean:
        rm -rf $(LIBPCAP_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_LIBPCAP)),y)
+TARGETS+=libpcap
+endif
diff --git a/package/libpng/Makefile.in b/package/libpng/Makefile.in
deleted file mode 100644 (file)
index f4dfc9f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_LIBPNG)),y)
-TARGETS+=libpng
-endif
index 4e3bb8e9fca74a17ea130bdd5a70dd4bbb3486ae..55862e17bb26bfccae77dcf704c460b3294e6b3f 100644 (file)
@@ -69,3 +69,11 @@ libpng: uclibc zlib $(TARGET_DIR)/usr/lib/libpng.so
 
 libpng-clean:
        -$(MAKE) -C $(LIBPNG_DIR) clean
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_LIBPNG)),y)
+TARGETS+=libpng
+endif
diff --git a/package/libtool/Makefile.in b/package/libtool/Makefile.in
deleted file mode 100644 (file)
index 37f7754..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_LIBTOOL)),y)
-TARGETS+=libtool
-endif
index 2978ac09bda43ca84446743f7d8ea232d0687b00..1758268c4113fce4d019ccdee6d89e603c8bb191 100644 (file)
@@ -75,3 +75,11 @@ libtool-clean:
 libtool-dirclean:
        rm -rf $(LIBTOOL_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_LIBTOOL)),y)
+TARGETS+=libtool
+endif
diff --git a/package/links/Makefile.in b/package/links/Makefile.in
deleted file mode 100644 (file)
index 98670ee..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_LINKS)),y)
-TARGETS+=links
-endif
index a5875d1660a7430ce0cea7a81206dde41d51e82e..c13812ab50533f80348e9ced0a8a3fa3cebae57e 100644 (file)
@@ -53,3 +53,11 @@ links-dirclean:
 
 links: uclibc $(TARGET_DIR)/usr/bin/links
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_LINKS)),y)
+TARGETS+=links
+endif
diff --git a/package/linux/Makefile.in b/package/linux/Makefile.in
deleted file mode 100644 (file)
index 3b62d24..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_LINUX)),y)
-TARGETS+=linux
-endif
index 72de336c01061649146565a42061cc911316b1d2..a22a3b9ebc16a66f904c7c70a4968c4471dd1e7d 100644 (file)
@@ -111,3 +111,11 @@ linux-dirclean:
        rm -rf $(LINUX_DIR)
 
 endif
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_LINUX)),y)
+TARGETS+=linux
+endif
diff --git a/package/lrzsz/Makefile.in b/package/lrzsz/Makefile.in
deleted file mode 100644 (file)
index 42109c0..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_LRZSZ)),y)
-TARGETS+=lrzsz
-endif
index dfbfbe78aad161f1890ee42682e5ea73d50b6689..6f10900e06bda536c4296e81269b48252b35402d 100644 (file)
@@ -74,3 +74,11 @@ lrzsz-clean:
 
 lrzsz-dirclean:
        rm -rf $(LRZSZ_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_LRZSZ)),y)
+TARGETS+=lrzsz
+endif
diff --git a/package/ltp-testsuite/Makefile.in b/package/ltp-testsuite/Makefile.in
deleted file mode 100644 (file)
index 10dbd1c..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_LTP-TESTSUITE)),y)
-TARGETS+=ltp-testsuite
-endif
index 8aeef838f4319f70e4ff338e101e1d0d58030722..a7e6a63cc0de20132f5b09c4204ce3930864d91f 100644 (file)
@@ -36,3 +36,11 @@ ltp-testsuite-dirclean:
        rm -rf $(LTP_TESTSUITE_DIR)
 
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_LTP-TESTSUITE)),y)
+TARGETS+=ltp-testsuite
+endif
diff --git a/package/ltrace/Makefile.in b/package/ltrace/Makefile.in
deleted file mode 100644 (file)
index 04610a9..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_LTRACE)),y)
-TARGETS+=ltrace
-endif
index 6aa93f61a96b2a91e7174e0356fc5161b86589ed..31db73ba6ff795473fb370500b65604c4655bfcb 100644 (file)
@@ -53,3 +53,11 @@ ltrace-clean:
 ltrace-dirclean:
        rm -rf $(LTRACE_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_LTRACE)),y)
+TARGETS+=ltrace
+endif
diff --git a/package/lzo/Makefile.in b/package/lzo/Makefile.in
deleted file mode 100644 (file)
index 1647526..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_LZO)),y)
-TARGETS+=lzo
-endif
index cb5de1d0cbb5e3bdcd63116f69041f183a289a69..9c99e50207812a129955cfc3a7e136fc187b96c5 100644 (file)
@@ -57,3 +57,11 @@ lzo-clean:
 lzo-dirclean:
        rm -rf $(LZO_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_LZO)),y)
+TARGETS+=lzo
+endif
diff --git a/package/m4/Makefile.in b/package/m4/Makefile.in
deleted file mode 100644 (file)
index c7c2eed..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_M4)),y)
-TARGETS+=m4
-endif
index 229e8ca541bfc0f123d1a646fa38af1b526ee8eb..8e28f9b6fa79f911a2e908bc5ef7b4220614d0a4 100644 (file)
@@ -64,3 +64,11 @@ m4-clean:
 m4-dirclean:
        rm -rf $(M4_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_M4)),y)
+TARGETS+=m4
+endif
diff --git a/package/make/Makefile.in b/package/make/Makefile.in
deleted file mode 100644 (file)
index 3331589..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_MAKE)),y)
-TARGETS+=make
-endif
index b50c456c174cc7275eaf9f1e15e7c4cf5a7a6e5d..a65ae819561772f8a25f884a9905346316f9f6b6 100644 (file)
@@ -59,3 +59,11 @@ make-clean:
 make-dirclean:
        rm -rf $(GNUMAKE_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_MAKE)),y)
+TARGETS+=make
+endif
diff --git a/package/microcom/Makefile.in b/package/microcom/Makefile.in
deleted file mode 100644 (file)
index b7653dc..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_MICROCOM)),y)
-TARGETS+=microcom
-endif
index 4878ba9a3e50189438c4812a474715a8e8aa53f8..0de393c831f11f3ed4100def7002b3f4212d7140 100644 (file)
@@ -57,3 +57,11 @@ microcom-dirclean:
 
 microcom: uclibc $(TARGET_DIR)/usr/bin/microcom 
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_MICROCOM)),y)
+TARGETS+=microcom
+endif
diff --git a/package/microwin/Makefile.in b/package/microwin/Makefile.in
deleted file mode 100644 (file)
index 298e9ee..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#ifeq ($(strip $(BR2_PACKAGE_MICROWIN)),y)
-#TARGETS+=microwin
-#endif
index 3702ef429a49188e3cc8fc38faa39bd8e39c2d95..6496e1a44726bf858599cf21a13615a3ee39b088 100644 (file)
@@ -44,3 +44,11 @@ microwin-clean:
 microwin-dirclean:
        rm -rf $(MICROWIN_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+#ifeq ($(strip $(BR2_PACKAGE_MICROWIN)),y)
+#TARGETS+=microwin
+#endif
diff --git a/package/mkdosfs/Makefile.in b/package/mkdosfs/Makefile.in
deleted file mode 100644 (file)
index 9d32c62..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_MKDOSFS)),y)
-TARGETS+=mkdosfs
-endif
index 7ecb1f9e5ca9fc960fccc5bad3ccd93043059ee2..c4a53e20cf2cc1a8aa778a2d3549ecb7d175beaa 100644 (file)
@@ -42,3 +42,11 @@ mkdosfs-clean:
 mkdosfs-dirclean:
        rm -rf $(MKDOSFS_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_MKDOSFS)),y)
+TARGETS+=mkdosfs
+endif
diff --git a/package/mke2fs/Makefile.in b/package/mke2fs/Makefile.in
deleted file mode 100644 (file)
index 8266482..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_MKE2FS)),y)
-TARGETS+=mke2fs
-endif
index 906407a35179a625455efca5b99d65965a7cd495..af0621448fb57b1c97e938b306fb195ddfd03c86 100644 (file)
@@ -72,3 +72,11 @@ mke2fs-clean:
 mke2fs-dirclean:
        rm -rf $(MKE2FS_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_MKE2FS)),y)
+TARGETS+=mke2fs
+endif
diff --git a/package/mpg123/Makefile.in b/package/mpg123/Makefile.in
deleted file mode 100644 (file)
index 1e3af27..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_MPG123)),y)
-TARGETS+=mpg123
-endif
index f64e51be054053192f46bd0031aec9144782d25a..c03125b39b7f1f1465c08f045237cfad1d2edc13 100644 (file)
@@ -43,3 +43,11 @@ mpg123-clean:
 mpg123-dirclean:
        rm -rf $(MPG123_DIR) $(MPG123_WORKDIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_MPG123)),y)
+TARGETS+=mpg123
+endif
diff --git a/package/mrouted/Makefile.in b/package/mrouted/Makefile.in
deleted file mode 100644 (file)
index e3410ec..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_MROUTED)),y)
-TARGETS+=mrouted
-endif
index 1ffea81489ab332c2aa72bf5f46c283d47996e9d..26df7537d48027c1241ea8c5999f11dc3d5b9777 100644 (file)
@@ -42,3 +42,11 @@ mrouted-clean:
 mrouted-dirclean:
        rm -rf $(MROUTED_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_MROUTED)),y)
+TARGETS+=mrouted
+endif
diff --git a/package/mtd/Makefile.in b/package/mtd/Makefile.in
deleted file mode 100644 (file)
index d8c9cd7..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_MTD)),y)
-TARGETS+=mtd
-endif
index ea1cf31f15a57b8a26b9031d618c115b96c69ec0..f0a2302404bcb1f60cbe59f1b961eb28923f8972 100644 (file)
@@ -96,3 +96,11 @@ mtd-dirclean:
        rm -rf $(MTD_DIR)
 
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_MTD)),y)
+TARGETS+=mtd
+endif
diff --git a/package/nano/Makefile.in b/package/nano/Makefile.in
deleted file mode 100644 (file)
index 90d1e18..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_NANO)),y)
-TARGETS+=nano
-endif
index 66f17fe2e2ee08658126bc87a8dbaa277e054c10..c6e5f67b5a870178d242610a8eaedad02898d27e 100644 (file)
@@ -46,3 +46,11 @@ nano-clean:
 
 nano-dirclean:
        rm -rf $(NANO_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_NANO)),y)
+TARGETS+=nano
+endif
diff --git a/package/ncurses/Makefile.in b/package/ncurses/Makefile.in
deleted file mode 100644 (file)
index 3e8f718..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_NCURSES)),y)
-TARGETS+=ncurses
-endif
index 6a4d43c43f78615a845d5b9bb8a51c129b01cb26..b2b1f2f866d8fc12a3edbedfaa9f1009d01f3c0e 100644 (file)
@@ -133,3 +133,11 @@ ncurses-clean:
 
 ncurses-dirclean:
        rm -rf $(NCURSES_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_NCURSES)),y)
+TARGETS+=ncurses
+endif
diff --git a/package/netkitbase/Makefile.in b/package/netkitbase/Makefile.in
deleted file mode 100644 (file)
index 5184660..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_NETKITBASE)),y)
-TARGETS+=netkitbase
-endif
index daeaa5e56cd4689475415458dfbe0672d095917d..78565f6c63a303660dcc1ca15fb737a66cf2aeb8 100644 (file)
@@ -55,3 +55,11 @@ netkitbase-clean:
 netkitbase-dirclean:
        rm -rf $(NETKITBASE_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_NETKITBASE)),y)
+TARGETS+=netkitbase
+endif
diff --git a/package/netkittelnet/Makefile.in b/package/netkittelnet/Makefile.in
deleted file mode 100644 (file)
index 9ee5564..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_NETKITTELNET)),y)
-TARGETS+=netkittelnet
-endif
index cf58edb48351812a49eb0328e5180f2399c974ee..07f82739b6308d07429ac4a6bb352e16a765b982 100644 (file)
@@ -56,3 +56,11 @@ netkittelnet-clean:
 netkittelnet-dirclean:
        rm -rf $(NETKITTELNET_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_NETKITTELNET)),y)
+TARGETS+=netkittelnet
+endif
diff --git a/package/netsnmp/Makefile.in b/package/netsnmp/Makefile.in
deleted file mode 100644 (file)
index e749f71..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_NETSNMP)),y)
-TARGETS+=netsnmp
-endif
index 68470dc34219396ed8bfca906797e8396c316384..494d58a413544c4b0cbe0109c4565dd0967f207a 100644 (file)
@@ -102,3 +102,11 @@ netsnmp-clean:
 netsnmp-dirclean: 
        rm -rf $(NETSNMP_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_NETSNMP)),y)
+TARGETS+=netsnmp
+endif
diff --git a/package/newt/Makefile.in b/package/newt/Makefile.in
deleted file mode 100644 (file)
index 34eb301..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_NEWT)),y)
-TARGETS+=newt
-endif
index 6efc12900c7f21c01512c51770671e2c1109af5a..7f72f3381253b579b94e591511ba3d35f64a955f 100644 (file)
@@ -70,3 +70,11 @@ newt-clean:
 newt-dirclean: slang-dirclean
        rm -rf $(NEWT_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_NEWT)),y)
+TARGETS+=newt
+endif
diff --git a/package/ntp/Makefile.in b/package/ntp/Makefile.in
deleted file mode 100644 (file)
index 8b04e06..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_NTP)),y)
-TARGETS+=ntp
-endif
index 30bea0026402367b959a5abd2e03064e8c2a413e..8ad5b8047ec3b9fef0ef2e09bbf0d5e3bd075fe8 100644 (file)
@@ -63,3 +63,11 @@ ntp-clean:
 ntp-dirclean:
        rm -rf $(NTP_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_NTP)),y)
+TARGETS+=ntp
+endif
diff --git a/package/openssh/Makefile.in b/package/openssh/Makefile.in
deleted file mode 100644 (file)
index 6dbcdd1..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_OPENSSH)),y)
-TARGETS+=openssh
-endif
index fc1d001a3077105ab6a1979b25252b1447401d01..54ad325d7b93c7bb2d0f4d7592d6c4eb032fbd27 100644 (file)
@@ -74,3 +74,11 @@ openssh-clean:
 
 openssh-dirclean: 
        rm -rf $(OPENSSH_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_OPENSSH)),y)
+TARGETS+=openssh
+endif
diff --git a/package/openssl/Makefile.in b/package/openssl/Makefile.in
deleted file mode 100644 (file)
index 4082635..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_OPENSSL)),y)
-TARGETS+=openssl
-endif
index 52ef28ba028ceb011606543d97777a818740f765..0b2dee6a0a686f14f387849a958809a3773e8d83 100644 (file)
@@ -77,3 +77,11 @@ openssl-clean:
 
 openssl-dirclean: 
        rm -rf $(OPENSSL_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_OPENSSL)),y)
+TARGETS+=openssl
+endif
diff --git a/package/openvpn/Makefile.in b/package/openvpn/Makefile.in
deleted file mode 100644 (file)
index e989321..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_OPENVPN)),y)
-TARGETS+=openvpn
-endif
index 1dcdb8b46e8ecefe3c57fff863d3e59ac4934246..3f3f7d5889257c6bd8fe44e93605df685b9ea55e 100644 (file)
@@ -64,3 +64,11 @@ openvpn-clean:
 openvpn-dirclean:
        rm -rf $(OPENVPN_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_OPENVPN)),y)
+TARGETS+=openvpn
+endif
diff --git a/package/patch/Makefile.in b/package/patch/Makefile.in
deleted file mode 100644 (file)
index 4f4fd79..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_PATCH)),y)
-TARGETS+=patch
-endif
index b7501bb1c348eb0ffc321ebca5e773cbe8f4c3d0..0c66999f12f1af60ea973769d9922fd528941e22 100644 (file)
@@ -58,3 +58,11 @@ patch-clean:
 patch-dirclean:
        rm -rf $(GNUPATCH_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_PATCH)),y)
+TARGETS+=patch
+endif
diff --git a/package/pciutils/Makefile.in b/package/pciutils/Makefile.in
deleted file mode 100644 (file)
index f080d8c..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_PCIUTILS)),y)
-TARGETS+=pciutils
-endif
index 40ffb119b6ecfd98d5fcf0fb3f0753c31574af22..86017e19753a7ff1571c402f1cb38c06407a6740 100644 (file)
@@ -50,3 +50,11 @@ pciutils-clean:
 pciutils-dirclean:
        rm -rf $(PCIUTILS_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_PCIUTILS)),y)
+TARGETS+=pciutils
+endif
diff --git a/package/pcmcia/Makefile.in b/package/pcmcia/Makefile.in
deleted file mode 100644 (file)
index eb501d6..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_PCMCIA)),y)
-TARGETS+=pcmcia
-endif
index 8ffaaf68b35fd507bb6f2d8f4d8f76321e56e790..31efd5c9bb95da7b22309efaacfccc931de889ec 100644 (file)
@@ -105,3 +105,11 @@ pcmcia-clean:
 
 pcmcia-dirclean:
        rm -rf $(PCMCIA_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_PCMCIA)),y)
+TARGETS+=pcmcia
+endif
diff --git a/package/portage/Makefile.in b/package/portage/Makefile.in
deleted file mode 100644 (file)
index c9f03e5..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_PORTAGE)),y)
-TARGETS+=portage
-endif
index 7634832b95c5e4f702acb1bcfa746ac2190a6244..7677920adb2d79685d8ba9d0f1cedc7be100bd22 100644 (file)
@@ -104,3 +104,11 @@ portage-clean:
 
 portage-dirclean:
        rm -rf $(PORTAGE_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_PORTAGE)),y)
+TARGETS+=portage
+endif
diff --git a/package/portmap/Makefile.in b/package/portmap/Makefile.in
deleted file mode 100644 (file)
index 5628cb9..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_PORTMAP)),y)
-TARGETS+=portmap
-endif
index 6a2e7d56b0a41237397a1935c71acde1675e0169..2fc70d74a4849ca540835b143901eb14e3985552 100644 (file)
@@ -33,3 +33,11 @@ portmap-clean:
 
 portmap-dirclean:
        rm -rf $(PORTMAP_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_PORTMAP)),y)
+TARGETS+=portmap
+endif
diff --git a/package/pppd/Makefile.in b/package/pppd/Makefile.in
deleted file mode 100644 (file)
index 0335e3f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_PPPD)),y)
-TARGETS+=pppd
-endif
index 36d4a64ff0cd9fdf73b02649dfb93d85f0a923b7..ea772dd83c88727ac6beecdc12a5946a2e4c6b92 100644 (file)
@@ -66,3 +66,11 @@ pppd-dirclean:
        rm -rf $(PPPD_DIR)
 
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_PPPD)),y)
+TARGETS+=pppd
+endif
diff --git a/package/procps/Makefile.in b/package/procps/Makefile.in
deleted file mode 100644 (file)
index 4d35051..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_PROCPS)),y)
-TARGETS+=procps
-endif
index bc399412152543214d04e02c34553b3252b92e95..0309d57134a3ab7407b6fb5cb118715c0dd74db4 100644 (file)
@@ -45,3 +45,11 @@ procps-clean:
 procps-dirclean:
        rm -rf $(PROCPS_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_PROCPS)),y)
+TARGETS+=procps
+endif
diff --git a/package/python/Makefile.in b/package/python/Makefile.in
deleted file mode 100644 (file)
index ded82d8..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_PYTHON)),y)
-TARGETS+=python
-endif
index 32222198961abba3fdd554ec05f6c72731e1b818..995c6aa9a930266636605d1aba08d664a1eabb0b 100644 (file)
@@ -81,3 +81,11 @@ python-clean:
 
 python-dirclean:
        rm -rf $(PYTHON_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_PYTHON)),y)
+TARGETS+=python
+endif
diff --git a/package/raidtools/Makefile.in b/package/raidtools/Makefile.in
deleted file mode 100644 (file)
index 7e4d53b..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_RAIDTOOLS)),y)
-TARGETS+=raidtools
-endif
index 183cad421fae45eeaa22ea26f63b183af25cc009..cbf27dea787956aa019e1384c480b8fd0f931b0f 100644 (file)
@@ -57,3 +57,11 @@ raidtools2-clean:
 
 raidtools2-dirclean:
        rm -rf $(RAIDTOOLS2_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_RAIDTOOLS)),y)
+TARGETS+=raidtools
+endif
diff --git a/package/rsync/Makefile.in b/package/rsync/Makefile.in
deleted file mode 100644 (file)
index 63e9acf..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_RSYNC)),y)
-TARGETS+=rsync
-endif
index b66125e9440f44d4be1967a690fc6dd46abab030..735ce3a0e2945e0daafbe5c674f39161c94c27b8 100644 (file)
@@ -46,3 +46,11 @@ rsync-clean:
 
 rsync-dirclean:
        rm -rf $(RSYNC_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_RSYNC)),y)
+TARGETS+=rsync
+endif
diff --git a/package/rxvt/Makefile.in b/package/rxvt/Makefile.in
deleted file mode 100644 (file)
index bb6ff66..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_RXVT)),y)
-TARGETS+=rxvt
-endif
index df324ddfef0b6c0a73fa1e32a665cbd244eceba6..47afb6756f72571c67a4dffd5c78016319be3038 100644 (file)
@@ -67,3 +67,11 @@ rxvt-clean:
 rxvt-dirclean:
        rm -rf $(RXVT_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_RXVT)),y)
+TARGETS+=rxvt
+endif
diff --git a/package/sed/Makefile.in b/package/sed/Makefile.in
deleted file mode 100644 (file)
index 6738e4f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_SED)),y)
-TARGETS+=sed
-endif
index 5154c1f795d5f2429d4da1cb7418183e65cf7e4b..615628c7adc7722713e337b7aa7704cf845c1a34 100644 (file)
@@ -134,3 +134,11 @@ sed-dirclean:
        rm -rf $(SED_DIR2)
 
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_SED)),y)
+TARGETS+=sed
+endif
diff --git a/package/sfdisk/Makefile.in b/package/sfdisk/Makefile.in
deleted file mode 100644 (file)
index f89f608..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_SFDISK)),y)
-TARGETS+=sfdisk
-endif
index 01261393a3d78ae27bf94813a0df7d1678ddd046..aa098dfdd978aa110ce1a14d709265b3ba5f3d36 100644 (file)
@@ -34,3 +34,11 @@ sfdisk-clean:
 
 sfdisk-dirclean:
        rm -rf $(SFDISK_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_SFDISK)),y)
+TARGETS+=sfdisk
+endif
diff --git a/package/slang/Makefile.in b/package/slang/Makefile.in
deleted file mode 100644 (file)
index a478a18..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_SLANG)),y)
-TARGETS+=slang
-endif
index 43c4bcaaa63b186e6204a98826d56e5aa9b24e53..92c29b4b169ef92a7b3ecdb7a5814037d3169da1 100644 (file)
@@ -46,3 +46,11 @@ slang-dirclean:
        rm -rf $(SLANG_DIR)
 
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_SLANG)),y)
+TARGETS+=slang
+endif
diff --git a/package/socat/Makefile.in b/package/socat/Makefile.in
deleted file mode 100644 (file)
index 25df8b4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_SOCAT)),y)
-TARGETS+=socat
-endif
index 37df0e7c74485a96176d3a41ec3ffd4335fcd3b0..5dd22ccd5c3fcc8919f3623e435687d4254f68d2 100644 (file)
@@ -67,3 +67,11 @@ socat-clean:
 socat-dirclean:
        rm -rf $(SOCAT_DIR) $(SOCAT_WORKDIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_SOCAT)),y)
+TARGETS+=socat
+endif
diff --git a/package/strace/Makefile.in b/package/strace/Makefile.in
deleted file mode 100644 (file)
index d81fc0c..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_STRACE)),y)
-TARGETS+=strace
-endif
index 3fd4520fa65bde7720e87d60db87e0064aeca6fc..ead0fbcbdc1ba3c78234d97df3cbe5e002bf6697 100644 (file)
@@ -58,3 +58,11 @@ strace-dirclean:
        rm -rf $(STRACE_DIR) 
 
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_STRACE)),y)
+TARGETS+=strace
+endif
diff --git a/package/tar/Makefile.in b/package/tar/Makefile.in
deleted file mode 100644 (file)
index ce5a634..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_TAR)),y)
-TARGETS+=tar
-endif
index 138c5a065e1200bc8ad967d6e7257c92952a7d2b..23f938c5b70191717d9723c3ea256d92835e7f86 100644 (file)
@@ -66,3 +66,11 @@ tar-clean:
 tar-dirclean:
        rm -rf $(GNUTAR_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_TAR)),y)
+TARGETS+=tar
+endif
diff --git a/package/tcpdump/Makefile.in b/package/tcpdump/Makefile.in
deleted file mode 100644 (file)
index eb0a85c..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_TCPDUMP)),y)
-TARGETS+=tcpdump
-endif
index 13d9c44ed2f0bfad9f161d65b2366ff8d8cc1d29..5792515828fda384f7efd73b4e765d0e1e0eda21 100644 (file)
@@ -73,3 +73,11 @@ tcpdump-clean:
 
 tcpdump-dirclean:
        rm -rf $(TCPDUMP_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_TCPDUMP)),y)
+TARGETS+=tcpdump
+endif
diff --git a/package/tinylogin/Makefile.in b/package/tinylogin/Makefile.in
deleted file mode 100644 (file)
index e80c8c0..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_TINYLOGIN)),y)
-TARGETS+=tinylogin
-endif
index 2174888ea798711d972640cea221d3c9858a83c4..29514db036a5f20a3faab93118dcfdefa6e23ee7 100644 (file)
@@ -50,3 +50,11 @@ tinylogin-clean:
 
 tinylogin-dirclean:
        rm -rf $(TINYLOGIN_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_TINYLOGIN)),y)
+TARGETS+=tinylogin
+endif
diff --git a/package/tinyx/Makefile.in b/package/tinyx/Makefile.in
deleted file mode 100644 (file)
index 0b80bd6..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_TINYX)),y)
-TARGETS+=tinyx
-endif
index 24845455d826717b0b1400e697a3e90d04ac1e1d..3f7d5328fd1af0055c1b6e2a6cc00af00c0a78ab 100644 (file)
@@ -125,3 +125,11 @@ tinyx-clean:
 tinyx-dirclean:
        -rm -rf $(TINYX_DIR)
        -rm -rf $(TARGET_DIR)/usr/X11R6
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_TINYX)),y)
+TARGETS+=tinyx
+endif
diff --git a/package/tn5250/Makefile.in b/package/tn5250/Makefile.in
deleted file mode 100644 (file)
index 4e7fedf..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_TN5250)),y)
-TARGETS+=tn5250
-endif
index 611359f54368d1c40432fff64a86be966c22d0d8..5002874b8dda62468f43d2bb0a7394a0a435e9f0 100644 (file)
@@ -49,3 +49,11 @@ tn5250-dirclean:
 
 
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_TN5250)),y)
+TARGETS+=tn5250
+endif
diff --git a/package/ttcp/Makefile.in b/package/ttcp/Makefile.in
deleted file mode 100644 (file)
index 413101c..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_TTCP)),y)
-TARGETS+=ttcp
-endif
index 7ff5f631589d59f840f6610ab5cdd0d5f28dd5da..d6aa0644deeef94212652bc3416b7464707ca817 100644 (file)
@@ -35,3 +35,11 @@ ttcp-clean:
 ttcp-dirclean:
        rm -rf $(TTCP_BUILD_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_TTCP)),y)
+TARGETS+=ttcp
+endif
diff --git a/package/udhcp/Makefile.in b/package/udhcp/Makefile.in
deleted file mode 100644 (file)
index 395004b..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_UDHCP)),y)
-TARGETS+=udhcp
-endif
index 7360b9cfcb9cc6407a79df79e3d1aa9a048dbc4a..33f05fdc8b4ec73ea30ef0fe8fb97f44683e0bcd 100644 (file)
@@ -63,3 +63,11 @@ udhcp-clean:
 
 udhcp-dirclean:
        rm -rf $(UDHCP_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_UDHCP)),y)
+TARGETS+=udhcp
+endif
diff --git a/package/util-linux/Makefile.in b/package/util-linux/Makefile.in
deleted file mode 100644 (file)
index 2d2b3e9..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_UTIL-LINUX)),y)
-TARGETS+=util-linux
-endif
index 8cdce96906a0a791169dfd58baafedb57b869ede..df73c4b2798b78ca19935ee174ed4c636a4ab727 100644 (file)
@@ -80,3 +80,11 @@ util-linux-dirclean:
        rm -rf $(UTIL-LINUX_DIR)
 
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_UTIL-LINUX)),y)
+TARGETS+=util-linux
+endif
diff --git a/package/valgrind/Makefile.in b/package/valgrind/Makefile.in
deleted file mode 100644 (file)
index c0555f7..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_VALGRIND)),y)
-TARGETS+=valgrind
-endif
index 520071a4cf89492b8fe7e01c800384a243474222..8b8ca044b52d34d3f35515999b78d4f45a60ead7 100644 (file)
@@ -85,3 +85,11 @@ valgrind-clean:
 valgrind-dirclean: 
        rm -rf $(VALGRIND_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_VALGRIND)),y)
+TARGETS+=valgrind
+endif
diff --git a/package/vtun/Makefile.in b/package/vtun/Makefile.in
deleted file mode 100644 (file)
index cc944dd..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_VTUN)),y)
-TARGETS+=vtun
-endif
index 128fd70e79598315269e9d4bc1c7ae56025855ea..365b020c03353bf4a8bdc8805620eb1e34a92325 100644 (file)
@@ -64,3 +64,11 @@ vtun-clean:
 vtun-dirclean:
        rm -rf $(VTUN_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_VTUN)),y)
+TARGETS+=vtun
+endif
diff --git a/package/wget/Makefile.in b/package/wget/Makefile.in
deleted file mode 100644 (file)
index 9c8f8fc..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_WGET)),y)
-TARGETS+=wget
-endif
index 915b163b80e79fdbbe6f9fcc2e10930c8b5aa56f..85765c886126b8704369b8393b3f8d8a75d419a8 100644 (file)
@@ -47,3 +47,11 @@ wget-clean:
 
 wget-dirclean:
        rm -rf $(WGET_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_WGET)),y)
+TARGETS+=wget
+endif
diff --git a/package/which/Makefile.in b/package/which/Makefile.in
deleted file mode 100644 (file)
index b115ce3..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_WHICH)),y)
-TARGETS+=which
-endif
index 0450cc11f68b06c08df8733e91eb942224db38f1..5cb05766c0287e351e0586aafeb79652914b1d65 100644 (file)
@@ -44,3 +44,11 @@ which-clean:
 
 which-dirclean:
        rm -rf $(WHICH_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_WHICH)),y)
+TARGETS+=which
+endif
diff --git a/package/wtools/Makefile.in b/package/wtools/Makefile.in
deleted file mode 100644 (file)
index 3979700..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_WTOOLS)),y)
-TARGETS+=wtools
-endif
index 1d1043768a5e596f5c726a0b5845cc9d798ba60c..4644526f4395658a157aa91cd607722651afb091 100644 (file)
@@ -47,3 +47,11 @@ wtools-clean:
 
 wtools-dirclean:
        rm -rf $(WTOOLS_BUILD_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_WTOOLS)),y)
+TARGETS+=wtools
+endif
diff --git a/package/zlib/Makefile.in b/package/zlib/Makefile.in
deleted file mode 100644 (file)
index 8f31a58..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_ZLIB)),y)
-TARGETS+=zlib
-endif
index 627d11bc05295130c15d444d77e1b34ad441710f..bb308e04372bc7b46a169c814dd6045a0ad31f10 100644 (file)
@@ -71,3 +71,11 @@ zlib-clean:
 zlib-dirclean:
        rm -rf $(ZLIB_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_ZLIB)),y)
+TARGETS+=zlib
+endif
diff --git a/target/cramfs/Makefile.in b/target/cramfs/Makefile.in
deleted file mode 100644 (file)
index 45d9b67..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_TARGET_ROOTFS_CRAMFS)),y)
-TARGETS+=cramfsroot
-endif
index a00af6c1755cf3ca533121aa543bf908bbb20bd7..e4766cfad79a74a7c67d10183697b4ff7c171cd3 100644 (file)
@@ -49,3 +49,11 @@ cramfsroot-clean:
 cramfsroot-dirclean:
        rm -rf $(CRAMFS_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_TARGET_ROOTFS_CRAMFS)),y)
+TARGETS+=cramfsroot
+endif
diff --git a/target/ext2/Makefile.in b/target/ext2/Makefile.in
deleted file mode 100644 (file)
index 9904077..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_TARGET_ROOTFS_EXT2)),y)
-TARGETS+=ext2root
-endif
index 8dfa513e14fa38d9a87c46944670f23bd2bedc0a..2d80999fefcffb53dcbf288360ec70db5698c040 100644 (file)
@@ -111,3 +111,11 @@ ext2root-clean:
 ext2root-dirclean:
        rm -rf $(GENEXT2_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_TARGET_ROOTFS_EXT2)),y)
+TARGETS+=ext2root
+endif
diff --git a/target/jffs2/Makefile.in b/target/jffs2/Makefile.in
deleted file mode 100644 (file)
index 31452eb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2)),y)
-TARGETS+=jffs2root
-endif
index 3e64a62d59de8b8fcb22856c2bfdb1a48ef975b7..0dad3f416e423aeeeebb391a289c94d3188b2d2f 100644 (file)
@@ -64,5 +64,11 @@ jffs2root-clean: mtd-host-clean
 jffs2root-dirclean: mtd-host-dirclean
        -rm -f $(JFFS2_TARGET)
 
-
-
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2)),y)
+TARGETS+=jffs2root
+endif
diff --git a/target/squashfs/Makefile.in b/target/squashfs/Makefile.in
deleted file mode 100644 (file)
index 2278d72..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_TARGET_ROOTFS_SQUASHFS)),y)
-TARGETS+=squashfsroot
-endif
index e120172baa3bc3b70bf5c0d7ba3d49488abcbd7c..5a4536fed6e652a8e37c74fe5247ec5b11ea8072 100644 (file)
@@ -49,3 +49,11 @@ squashfsroot-clean:
 squashfsroot-dirclean:
        rm -rf $(SQUASHFS_DIR)
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_TARGET_ROOTFS_SQUASHFS)),y)
+TARGETS+=squashfsroot
+endif
diff --git a/target/tar/Makefile.in b/target/tar/Makefile.in
deleted file mode 100644 (file)
index d5f1308..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_TARGET_ROOTFS_TAR)),y)
-TARGETS+=tarroot
-endif
index a7627bf40f9bdaa50b124ed918e5fef67fd2c683..e85030b979eaf4ac581792db8456553080e2ea61 100644 (file)
@@ -23,3 +23,12 @@ tarroot-source:
 tarroot-clean:
 
 tarroot-dirclean:
+
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_TARGET_ROOTFS_TAR)),y)
+TARGETS+=tarroot
+endif
index 5b2d7f213d059a67132b48ddabff7afb8c95add4..bc2d26dfb2d73da8ee679262f57e587514c3fda5 100644 (file)
@@ -5,3 +5,6 @@ endif
 
 # FIXME -- this is temporary
 OPTIMIZE_FOR_CPU=$(ARCH)
+
+# gcc has a bunch of needed stuff....
+include toolchain/gcc/Makefile.in
diff --git a/toolchain/binutils/Makefile.in b/toolchain/binutils/Makefile.in
deleted file mode 100644 (file)
index c6838bb..0000000
+++ /dev/null
@@ -1 +0,0 @@
-BINUTILS_VERSION:=$(strip $(subst ",, $(BR2_BINUTILS_VERSION)))
index afbb63ac3e2f155dff0d7f762d6f4e655451c9eb..900060d334b27eeda13964ffeeb1d0d090a20f22 100644 (file)
@@ -132,3 +132,9 @@ binutils_target-clean:
 
 binutils_target-dirclean:
        rm -rf $(BINUTILS_DIR2)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+BINUTILS_VERSION:=$(strip $(subst ",, $(BR2_BINUTILS_VERSION)))
diff --git a/toolchain/ccache/Makefile.in b/toolchain/ccache/Makefile.in
deleted file mode 100644 (file)
index fe859da..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-ifeq ($(strip $(BR2_CCACHE)),y)
-TARGETS+=ccache
-endif
-ifeq ($(strip $(BR2_PACKAGE_CCACHE_TARGET)),y)
-TARGETS+=ccache_target
-endif
index e2fdd71cc16eaf732ec9ae49c111f8c61bb6ed17..71dfcde6975192de44e1863bb6af7cb93fe29fa4 100644 (file)
@@ -149,3 +149,14 @@ ccache_target-clean:
 
 ccache_target-dirclean:
        rm -rf $(CCACHE_DIR2)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_CCACHE)),y)
+TARGETS+=ccache
+endif
+ifeq ($(strip $(BR2_PACKAGE_CCACHE_TARGET)),y)
+TARGETS+=ccache_target
+endif
index e1fb6fec38a77b4a50977d3ef1692874e6264a0f..c89eb42273cc6a50e68509309243b7b888336529 100644 (file)
@@ -1,3 +1,9 @@
+# gcc has a bunch of options that need to be shared with
+# both gcc-uclibc-2.95.mk and gcc-uclibc-3.x.mk, and are
+# use by other packages...  So include them in this file
+# and arrange to include it soon after invoking make from
+# the top level.
+
 GCC_VERSION:=$(strip $(subst ",, $(BR2_GCC_VERSION)))
 #"
 GCC_USE_SJLJ_EXCEPTIONS:=$(strip $(subst ",, $(BR2_GCC_USE_SJLJ_EXCEPTIONS)))
diff --git a/toolchain/gdb/Makefile.in b/toolchain/gdb/Makefile.in
deleted file mode 100644 (file)
index 50828d8..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-GDB_VERSION:=$(strip $(subst ",, $(BR2_GDB_VERSION)))
-#"
-
-ifeq ($(strip $(BR2_PACKAGE_GDB)),y)
-TARGETS+=gdb_target
-endif
-
-ifeq ($(strip $(BR2_PACKAGE_GDB_SERVER)),y)
-TARGETS+=gdbserver
-endif
-
-ifeq ($(strip $(BR2_PACKAGE_GDB_CLIENT)),y)
-TARGETS+=gdbclient
-endif
index 7c3c8deaa7126313a6c45b6453d853ced7f9ee8b..e8212e93f58d8c76a849e186e90c13936810bd03 100644 (file)
@@ -187,3 +187,22 @@ gdbclient-dirclean:
 
 
 
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+GDB_VERSION:=$(strip $(subst ",, $(BR2_GDB_VERSION)))
+#"
+
+ifeq ($(strip $(BR2_PACKAGE_GDB)),y)
+TARGETS+=gdb_target
+endif
+
+ifeq ($(strip $(BR2_PACKAGE_GDB_SERVER)),y)
+TARGETS+=gdbserver
+endif
+
+ifeq ($(strip $(BR2_PACKAGE_GDB_CLIENT)),y)
+TARGETS+=gdbclient
+endif
diff --git a/toolchain/kernel-headers/Makefile.in b/toolchain/kernel-headers/Makefile.in
deleted file mode 100644 (file)
index d02613a..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-DEFAULT_KERNEL_HEADERS:=$(strip $(subst ",, $(BR2_DEFAULT_KERNEL_HEADERS)))
-#"
-
index f5640a472135ef3fc0156f60d30d7860bee85d08..abb6e53897cc8e79808f16dc37237750d4f47c69 100644 (file)
@@ -143,3 +143,11 @@ kernel-headers-dirclean:
        rm -rf $(LINUX_HEADERS_DIR)
 
 endif
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+DEFAULT_KERNEL_HEADERS:=$(strip $(subst ",, $(BR2_DEFAULT_KERNEL_HEADERS)))
+#"
+