summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-21 07:41:41 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-21 07:41:41 +0200
commit90f603e2be40d996c421ae8e95464e38911eabaf (patch)
treea3a8aa942a9acf078eed1333404de22aaa106219
parentf9292cf478867567f80ad270d4351e9a48ef4d06 (diff)
s/TOPDIR/ADK_TOPDIR/
to avoid namespace collisions in some packages, rename TOPDIR. Sorry you need to make cleandir && make prereq && make
-rw-r--r--BSDmakefile6
-rw-r--r--GNUmakefile8
-rw-r--r--Makefile4
-rw-r--r--adk/config/Makefile2
-rw-r--r--adk/config/Makefile.in2
-rw-r--r--adk/tests/master.exp.in2
-rw-r--r--adk/tools/Makefile4
-rw-r--r--docs/Makefile2
-rw-r--r--docs/adding-packages-auto.txt6
-rw-r--r--docs/adding-packages-host.txt20
-rw-r--r--docs/adding-packages-manual.txt6
-rw-r--r--mk/build.mk136
-rw-r--r--mk/buildhlp.mk6
-rw-r--r--mk/image.mk8
-rw-r--r--mk/kernel-build.mk10
-rw-r--r--mk/kernel.mk2
-rw-r--r--mk/package.mk2
-rw-r--r--mk/vars.mk4
-rw-r--r--package/.template/Makefile6
-rw-r--r--package/.templatelib/Makefile6
-rw-r--r--package/.templateprog/Makefile6
-rw-r--r--package/6tunnel/Makefile6
-rw-r--r--package/DirectFB/Makefile6
-rw-r--r--package/ImageMagick/Makefile6
-rw-r--r--package/Makefile8
-rw-r--r--package/SDL_gfx/Makefile6
-rw-r--r--package/SDL_ttf/Makefile6
-rw-r--r--package/adk-helper/Makefile10
-rw-r--r--package/adk-test-tools/Makefile6
-rw-r--r--package/adkinstall/Makefile6
-rw-r--r--package/aiccu/Makefile6
-rw-r--r--package/aircrack-ng/Makefile6
-rw-r--r--package/alix-switch/Makefile6
-rw-r--r--package/alix-temperature/Makefile6
-rw-r--r--package/alsa-lib/Makefile10
-rw-r--r--package/alsa-utils/Makefile6
-rw-r--r--package/ant/Makefile10
-rw-r--r--package/apr-util/Makefile6
-rw-r--r--package/apr/Makefile6
-rw-r--r--package/arpd/Makefile6
-rw-r--r--package/arpwatch/Makefile6
-rw-r--r--package/asterisk/Makefile6
-rw-r--r--package/atftp/Makefile14
-rw-r--r--package/atk/Makefile6
-rw-r--r--package/autoconf/Makefile10
-rw-r--r--package/automake/Makefile10
-rw-r--r--package/autossh/Makefile6
-rw-r--r--package/avahi/Makefile6
-rw-r--r--package/axtls/Makefile6
-rw-r--r--package/b43-firmware/Makefile6
-rw-r--r--package/base-files/Makefile8
-rw-r--r--package/bash/Makefile6
-rw-r--r--package/bc/Makefile10
-rw-r--r--package/bcm2835-bootloader/Makefile6
-rw-r--r--package/bcm2835-vc/Makefile6
-rw-r--r--package/bdftopcf/Makefile6
-rw-r--r--package/beecrypt/Makefile6
-rw-r--r--package/bigreqsproto/Makefile6
-rw-r--r--package/bind/Makefile6
-rw-r--r--package/binutils/Makefile8
-rw-r--r--package/bison/Makefile10
-rw-r--r--package/bitlbee/Makefile6
-rw-r--r--package/bkeymaps/Makefile6
-rw-r--r--package/bluez-firmware/Makefile6
-rw-r--r--package/bluez/Makefile6
-rw-r--r--package/bogofilter/Makefile6
-rw-r--r--package/boost/Makefile8
-rw-r--r--package/boot-wrapper-aarch64/Makefile6
-rw-r--r--package/brcm-bluetooth/Makefile6
-rw-r--r--package/brcmfmac-firmware/Makefile6
-rw-r--r--package/bridge-utils/Makefile6
-rw-r--r--package/busybox/Makefile10
-rw-r--r--package/bwm/Makefile6
-rw-r--r--package/bzip2/Makefile10
-rw-r--r--package/bzr/Makefile8
-rw-r--r--package/ca-certificates/Makefile6
-rw-r--r--package/cairo/Makefile10
-rw-r--r--package/ccache/Makefile10
-rw-r--r--package/ccid/Makefile6
-rw-r--r--package/cdrtools/Makefile10
-rw-r--r--package/cfgfs/Makefile6
-rw-r--r--package/cgilib/Makefile6
-rw-r--r--package/check/Makefile6
-rw-r--r--package/cherokee/Makefile6
-rw-r--r--package/cherrypy/Makefile8
-rw-r--r--package/chillispot/Makefile6
-rw-r--r--package/cifs-utils/Makefile6
-rw-r--r--package/classpath/Makefile10
-rw-r--r--package/cmake/Makefile10
-rw-r--r--package/collectd/Makefile6
-rw-r--r--package/comgt/Makefile6
-rw-r--r--package/compositeproto/Makefile6
-rwxr-xr-xpackage/confuse/Makefile6
-rw-r--r--package/conntrack-tools/Makefile6
-rw-r--r--package/coreutils/Makefile6
-rw-r--r--package/cpio/Makefile6
-rw-r--r--package/cpufrequtils/Makefile6
-rw-r--r--package/cryptinit/Makefile6
-rw-r--r--package/cryptodev-linux/Makefile8
-rw-r--r--package/cryptsetup/Makefile6
-rwxr-xr-xpackage/ctorrent/Makefile6
-rw-r--r--package/cups/Makefile10
-rw-r--r--package/curl/Makefile6
-rwxr-xr-xpackage/cutter/Makefile6
-rw-r--r--package/cvs/Makefile6
-rw-r--r--package/cxxtools/Makefile6
-rw-r--r--package/cyrus-sasl/Makefile6
-rw-r--r--package/damageproto/Makefile6
-rw-r--r--package/dansguardian/Makefile6
-rw-r--r--package/daq/Makefile6
-rw-r--r--package/davfs2/Makefile6
-rw-r--r--package/db/Makefile6
-rw-r--r--package/dbus-glib/Makefile6
-rw-r--r--package/dbus-python/Makefile6
-rw-r--r--package/dbus/Makefile6
-rw-r--r--package/deco/Makefile6
-rw-r--r--package/dhcp-forwarder/Makefile6
-rw-r--r--package/dhcp/Makefile6
-rw-r--r--package/dialog/Makefile6
-rw-r--r--package/diffutils/Makefile6
-rw-r--r--package/digitemp/Makefile6
-rw-r--r--package/dillo/Makefile6
-rw-r--r--package/dmidecode/Makefile6
-rw-r--r--package/dnsmasq/Makefile6
-rw-r--r--package/dosfstools/Makefile6
-rw-r--r--package/dovecot/Makefile6
-rw-r--r--package/drbd/Makefile6
-rw-r--r--package/dri2proto/Makefile6
-rw-r--r--package/dri3proto/Makefile6
-rw-r--r--package/dropbear/Makefile6
-rw-r--r--package/dsniff/Makefile6
-rw-r--r--package/e2fsprogs/Makefile6
-rw-r--r--package/easy-rsa/Makefile6
-rw-r--r--package/ebtables/Makefile6
-rw-r--r--package/ecj/Makefile10
-rw-r--r--package/ed/Makefile6
-rw-r--r--package/elinks/Makefile6
-rw-r--r--package/esmtp/Makefile6
-rw-r--r--package/esound/Makefile6
-rw-r--r--package/ether-wake/Makefile6
-rw-r--r--package/ethtool/Makefile6
-rw-r--r--package/eudev/Makefile6
-rw-r--r--package/eventlog/Makefile6
-rw-r--r--package/evieext/Makefile6
-rw-r--r--package/evilwm/Makefile6
-rw-r--r--package/exmap/Makefile8
-rw-r--r--package/expat/Makefile10
-rw-r--r--package/ez-ipupdate/Makefile6
-rw-r--r--package/faac/Makefile6
-rw-r--r--package/faad2/Makefile6
-rw-r--r--package/fakeidentd/Makefile6
-rw-r--r--package/fastjar/Makefile10
-rw-r--r--package/fbset/Makefile6
-rw-r--r--package/fbsplash/Makefile6
-rw-r--r--package/feh/Makefile6
-rw-r--r--package/fetchmail/Makefile6
-rw-r--r--package/ffmpeg/Makefile6
-rw-r--r--package/file/Makefile10
-rw-r--r--package/findutils/Makefile10
-rw-r--r--package/firefox/Makefile8
-rw-r--r--package/fixesproto/Makefile6
-rw-r--r--package/flac/Makefile6
-rw-r--r--package/flex/Makefile10
-rw-r--r--package/fltk/Makefile6
-rw-r--r--package/fluxbox/Makefile6
-rw-r--r--package/font-adobe-100dpi/Makefile6
-rw-r--r--package/font-adobe-75dpi/Makefile6
-rw-r--r--package/font-bh-100dpi/Makefile6
-rw-r--r--package/font-bh-75dpi/Makefile6
-rw-r--r--package/font-bh-lucidatypewriter-100dpi/Makefile6
-rw-r--r--package/font-bh-lucidatypewriter-75dpi/Makefile6
-rw-r--r--package/font-bh-ttf/Makefile6
-rw-r--r--package/font-bh-type1/Makefile6
-rw-r--r--package/font-bitstream-100dpi/Makefile6
-rw-r--r--package/font-bitstream-75dpi/Makefile6
-rw-r--r--package/font-bitstream-type1/Makefile6
-rw-r--r--package/font-misc-misc/Makefile6
-rw-r--r--package/font-util/Makefile6
-rw-r--r--package/font-xfree86-type1/Makefile6
-rw-r--r--package/fontcacheproto/Makefile6
-rw-r--r--package/fontconfig/Makefile10
-rw-r--r--package/fontsproto/Makefile6
-rw-r--r--package/forked-daapd/Makefile6
-rw-r--r--package/fping/Makefile6
-rw-r--r--package/fprobe-ulog/Makefile6
-rw-r--r--package/fprobe/Makefile6
-rw-r--r--package/freeglut/Makefile6
-rw-r--r--package/freeradius-client/Makefile6
-rw-r--r--package/freeradius-server/Makefile6
-rw-r--r--package/freetype/Makefile10
-rw-r--r--package/fribidi/Makefile6
-rw-r--r--package/frickin/Makefile6
-rw-r--r--package/fuse/Makefile6
-rw-r--r--package/gatling/Makefile6
-rw-r--r--package/gawk/Makefile10
-rw-r--r--package/gcc/Makefile8
-rw-r--r--package/gcj/Makefile10
-rw-r--r--package/gconf/Makefile6
-rw-r--r--package/gdb/Makefile8
-rw-r--r--package/gdbm/Makefile6
-rw-r--r--package/gdbserver/Makefile8
-rw-r--r--package/gdk-pixbuf/Makefile10
-rw-r--r--package/genext2fs/Makefile10
-rw-r--r--package/gettext-tiny/Makefile10
-rw-r--r--package/giblib/Makefile6
-rw-r--r--package/giflib/Makefile6
-rw-r--r--package/git/Makefile6
-rw-r--r--package/gkrellm/Makefile6
-rw-r--r--package/glib/Makefile10
-rw-r--r--package/glibc/Makefile12
-rw-r--r--package/glproto/Makefile6
-rw-r--r--package/glu/Makefile6
-rw-r--r--package/gmediaserver/Makefile6
-rw-r--r--package/gmp/Makefile8
-rw-r--r--package/gnupg/Makefile6
-rw-r--r--package/gnutls/Makefile6
-rw-r--r--package/gperf/Makefile10
-rw-r--r--package/gpm/Makefile6
-rw-r--r--package/gpsd/Makefile6
-rw-r--r--package/grep/Makefile6
-rw-r--r--package/grub/Makefile6
-rw-r--r--package/gsm/Makefile6
-rw-r--r--package/gst-plugins-base/Makefile6
-rw-r--r--package/gstreamer/Makefile6
-rw-r--r--package/gtk+/Makefile6
-rw-r--r--package/gzip/Makefile6
-rw-r--r--package/harfbuzz/Makefile10
-rw-r--r--package/haserl/Makefile6
-rw-r--r--package/hdparm/Makefile6
-rw-r--r--package/heimdal/Makefile10
-rw-r--r--package/heirloom-cpio/Makefile10
-rw-r--r--package/heyu/Makefile6
-rw-r--r--package/hicolor-icon-theme/Makefile6
-rw-r--r--package/hostapd/Makefile6
-rw-r--r--package/htop/Makefile6
-rw-r--r--package/htpdate/Makefile6
-rw-r--r--package/httping/Makefile6
-rw-r--r--package/httptunnel/Makefile6
-rw-r--r--package/huawei/Makefile6
-rw-r--r--package/i2c-tools/Makefile6
-rw-r--r--package/icecast/Makefile6
-rw-r--r--package/icu4c/Makefile10
-rw-r--r--package/id3lib/Makefile6
-rw-r--r--package/iftop/Makefile6
-rw-r--r--package/igmpproxy/Makefile6
-rw-r--r--package/imlib2/Makefile6
-rw-r--r--package/inputproto/Makefile10
-rw-r--r--package/intltool/Makefile10
-rw-r--r--package/ipcad/Makefile6
-rw-r--r--package/iperf/Makefile6
-rw-r--r--package/iproute2/Makefile6
-rw-r--r--package/ipsec-tools/Makefile6
-rw-r--r--package/ipset/Makefile6
-rw-r--r--package/iptables-snmp/Makefile6
-rw-r--r--package/iptables/Makefile6
-rw-r--r--package/iptraf/Makefile6
-rw-r--r--package/ipvsadm/Makefile6
-rw-r--r--package/irssi/Makefile6
-rw-r--r--package/iw/Makefile6
-rw-r--r--package/jack2/Makefile6
-rw-r--r--package/jamvm/Makefile10
-rw-r--r--package/jikes/Makefile10
-rw-r--r--package/joe/Makefile6
-rw-r--r--package/json-c/Makefile6
-rw-r--r--package/json-glib/Makefile6
-rw-r--r--package/kbd/Makefile6
-rw-r--r--package/kbproto/Makefile10
-rw-r--r--package/kexec-tools/Makefile6
-rw-r--r--package/kexecinit/Makefile6
-rw-r--r--package/keychain/Makefile6
-rw-r--r--package/keyutils/Makefile6
-rw-r--r--package/kismet/Makefile6
-rw-r--r--package/kmod/Makefile6
-rw-r--r--package/knock/Makefile6
-rw-r--r--package/krb5/Makefile6
-rw-r--r--package/l2tpns/Makefile6
-rw-r--r--package/lame/Makefile6
-rw-r--r--package/less/Makefile6
-rw-r--r--package/lftp/Makefile6
-rw-r--r--package/libICE/Makefile10
-rw-r--r--package/libIDL/Makefile10
-rw-r--r--package/libSM/Makefile10
-rw-r--r--package/libX11/Makefile10
-rw-r--r--package/libXScrnSaver/Makefile6
-rw-r--r--package/libXau/Makefile10
-rw-r--r--package/libXaw/Makefile6
-rw-r--r--package/libXcomposite/Makefile6
-rw-r--r--package/libXcursor/Makefile6
-rw-r--r--package/libXdamage/Makefile6
-rw-r--r--package/libXdmcp/Makefile6
-rw-r--r--package/libXext/Makefile10
-rw-r--r--package/libXfixes/Makefile6
-rw-r--r--package/libXfont/Makefile6
-rw-r--r--package/libXft/Makefile6
-rw-r--r--package/libXi/Makefile10
-rw-r--r--package/libXinerama/Makefile10
-rw-r--r--package/libXmu/Makefile6
-rw-r--r--package/libXp/Makefile6
-rw-r--r--package/libXpm/Makefile6
-rw-r--r--package/libXrandr/Makefile6
-rw-r--r--package/libXrender/Makefile10
-rw-r--r--package/libXt/Makefile10
-rw-r--r--package/libXtst/Makefile10
-rw-r--r--package/libXv/Makefile6
-rw-r--r--package/libXxf86dga/Makefile6
-rw-r--r--package/libXxf86vm/Makefile6
-rwxr-xr-xpackage/libantlr3c/Makefile6
-rw-r--r--package/libao/Makefile6
-rw-r--r--package/libart/Makefile6
-rw-r--r--package/libass/Makefile6
-rw-r--r--package/libatomic_ops/Makefile10
-rw-r--r--package/libaudiofile/Makefile6
-rwxr-xr-xpackage/libavl/Makefile6
-rw-r--r--package/libbluray/Makefile6
-rw-r--r--package/libcap/Makefile6
-rw-r--r--package/libcapi20/Makefile6
-rw-r--r--package/libcdio/Makefile6
-rw-r--r--package/libcec/Makefile6
-rwxr-xr-xpackage/libcli/Makefile6
-rw-r--r--package/libcroco/Makefile10
-rw-r--r--package/libdaemon/Makefile6
-rw-r--r--package/libdnet/Makefile6
-rw-r--r--package/libdrm/Makefile6
-rw-r--r--package/libelf/Makefile8
-rw-r--r--package/libesmtp/Makefile6
-rw-r--r--package/libestr/Makefile6
-rw-r--r--package/libevent/Makefile6
-rw-r--r--package/libffi/Makefile10
-rw-r--r--package/libfontenc/Makefile6
-rw-r--r--package/libgc/Makefile10
-rw-r--r--package/libgcrypt/Makefile6
-rw-r--r--package/libgd/Makefile6
-rw-r--r--package/libglew/Makefile6
-rw-r--r--package/libgpg-error/Makefile6
-rw-r--r--package/libgssglue/Makefile6
-rw-r--r--package/libhugetlbfs/Makefile6
-rw-r--r--package/libiconv-tiny/Makefile10
-rw-r--r--package/libid3tag/Makefile6
-rw-r--r--package/libjansson/Makefile6
-rw-r--r--package/libjasper/Makefile6
-rw-r--r--package/libjpeg-turbo/Makefile6
-rw-r--r--package/libjson/Makefile6
-rw-r--r--package/liblogging/Makefile6
-rw-r--r--package/liblzo/Makefile10
-rw-r--r--package/libmad/Makefile6
-rw-r--r--package/libmicrohttpd/Makefile6
-rw-r--r--package/libmms/Makefile6
-rw-r--r--package/libmnl/Makefile6
-rw-r--r--package/libmodplug/Makefile6
-rw-r--r--package/libmpc/Makefile8
-rw-r--r--package/libmpdclient/Makefile6
-rw-r--r--package/libmpeg2/Makefile6
-rw-r--r--package/libnet/Makefile6
-rw-r--r--package/libnetfilter_acct/Makefile6
-rw-r--r--package/libnetfilter_conntrack/Makefile6
-rw-r--r--package/libnetfilter_cthelper/Makefile6
-rw-r--r--package/libnetfilter_cttimeout/Makefile6
-rw-r--r--package/libnetfilter_log/Makefile6
-rw-r--r--package/libnetfilter_queue/Makefile6
-rw-r--r--package/libnettle/Makefile6
-rw-r--r--package/libnfnetlink/Makefile6
-rw-r--r--package/libnfs/Makefile6
-rw-r--r--package/libnfsidmap/Makefile6
-rw-r--r--package/libnids/Makefile6
-rw-r--r--package/libnl/Makefile6
-rw-r--r--package/libnotify/Makefile6
-rw-r--r--package/libogg/Makefile6
-rw-r--r--package/libosip2/Makefile6
-rw-r--r--package/libowfat/Makefile6
-rw-r--r--package/libp11/Makefile6
-rw-r--r--package/libpcap/Makefile6
-rw-r--r--package/libpciaccess/Makefile6
-rw-r--r--package/libpng/Makefile10
-rw-r--r--package/libpri/Makefile6
-rw-r--r--package/libpthread-stubs/Makefile10
-rw-r--r--package/libpthread/Makefile12
-rw-r--r--package/libqb/Makefile6
-rw-r--r--package/librpcsecgss/Makefile6
-rw-r--r--package/librsvg/Makefile10
-rw-r--r--package/librt/Makefile10
-rw-r--r--package/libsamplerate/Makefile6
-rw-r--r--package/libsecret/Makefile6
-rw-r--r--package/libshout/Makefile6
-rw-r--r--package/libsigc++/Makefile6
-rw-r--r--package/libsndfile/Makefile6
-rw-r--r--package/libsoup/Makefile6
-rw-r--r--package/libssh/Makefile6
-rw-r--r--package/libssh2/Makefile6
-rw-r--r--package/libstdcxx/Makefile12
-rw-r--r--package/libtasn1/Makefile6
-rw-r--r--package/libtheora/Makefile6
-rw-r--r--package/libthread_db/Makefile12
-rw-r--r--package/libtiff/Makefile6
-rw-r--r--package/libtirpc/Makefile6
-rw-r--r--package/libtool/Makefile10
-rw-r--r--package/libtorrent/Makefile6
-rwxr-xr-xpackage/libunistring/Makefile6
-rw-r--r--package/libupnp/Makefile6
-rw-r--r--package/libusb-compat/Makefile6
-rw-r--r--package/libusb/Makefile6
-rw-r--r--package/libvirt/Makefile8
-rw-r--r--package/libvorbis/Makefile6
-rw-r--r--package/libvorbisidec/Makefile6
-rw-r--r--package/libvpx/Makefile6
-rw-r--r--package/libwebp/Makefile6
-rw-r--r--package/libx264/Makefile6
-rw-r--r--package/libxcb/Makefile12
-rw-r--r--package/libxkbfile/Makefile6
-rw-r--r--package/libxml2/Makefile12
-rw-r--r--package/libxshmfence/Makefile6
-rw-r--r--package/libxslt/Makefile10
-rw-r--r--package/lighttpd/Makefile6
-rw-r--r--package/links/Makefile6
-rw-r--r--package/linux-atm/Makefile6
-rw-r--r--package/lirc/Makefile6
-rw-r--r--package/llvm/Makefile6
-rw-r--r--package/lm_sensors/Makefile6
-rw-r--r--package/log4cplus/Makefile6
-rw-r--r--package/log4cxx/Makefile6
-rw-r--r--package/logrotate/Makefile6
-rw-r--r--package/lrzsz/Makefile6
-rw-r--r--package/lsof/Makefile6
-rw-r--r--package/lsscsi/Makefile6
-rw-r--r--package/ltrace/Makefile6
-rw-r--r--package/lua/Makefile6
-rw-r--r--package/lvm/Makefile6
-rw-r--r--package/lynx/Makefile6
-rw-r--r--package/lzma/Makefile10
-rw-r--r--package/lzop/Makefile10
-rw-r--r--package/m4/Makefile10
-rwxr-xr-xpackage/macchanger/Makefile6
-rw-r--r--package/madplay/Makefile6
-rw-r--r--package/mailutils/Makefile6
-rw-r--r--package/make/Makefile6
-rw-r--r--package/maradns/Makefile6
-rw-r--r--package/mc/Makefile6
-rw-r--r--package/mdadm/Makefile6
-rw-r--r--package/mesa-demos/Makefile6
-rw-r--r--package/mesalib/Makefile8
-rw-r--r--package/mgetty/Makefile6
-rw-r--r--package/miau/Makefile6
-rw-r--r--package/midori/Makefile6
-rw-r--r--package/mini_httpd/Makefile6
-rw-r--r--package/mini_sendmail/Makefile6
-rw-r--r--package/miredo/Makefile6
-rw-r--r--package/mkfontdir/Makefile6
-rw-r--r--package/mkfontscale/Makefile6
-rw-r--r--package/mkimage/Makefile10
-rw-r--r--package/mksh/Makefile10
-rw-r--r--package/moc/Makefile6
-rw-r--r--package/monit/Makefile6
-rw-r--r--package/motion/Makefile6
-rw-r--r--package/mpc/Makefile6
-rw-r--r--package/mpd/Makefile6
-rw-r--r--package/mpdbox/Makefile6
-rw-r--r--package/mpfr/Makefile8
-rw-r--r--package/mpg123/Makefile6
-rw-r--r--package/mplayer/Makefile6
-rw-r--r--package/mrd6/Makefile6
-rw-r--r--package/mt-daapd/Makefile6
-rw-r--r--package/mtd-utils/Makefile10
-rw-r--r--package/mtd/Makefile6
-rw-r--r--package/mtr/Makefile6
-rw-r--r--package/musl/Makefile12
-rw-r--r--package/mutt/Makefile6
-rwxr-xr-xpackage/mxml/Makefile6
-rw-r--r--package/mysql/Makefile10
-rw-r--r--package/nand/Makefile6
-rw-r--r--package/nano/Makefile6
-rw-r--r--package/nasm/Makefile10
-rw-r--r--package/ncurses/Makefile10
-rw-r--r--package/ndisc/Makefile6
-rw-r--r--package/neon/Makefile6
-rw-r--r--package/net-snmp/Makefile6
-rw-r--r--package/net-tools/Makefile6
-rw-r--r--package/netcat/Makefile6
-rw-r--r--package/netperf/Makefile6
-rw-r--r--package/netstat-nat/Makefile6
-rw-r--r--package/nfs-utils/Makefile6
-rw-r--r--package/nginx/Makefile6
-rw-r--r--package/nmap/Makefile6
-rw-r--r--package/nspr/Makefile6
-rw-r--r--package/nss/Makefile6
-rw-r--r--package/ntfs-3g/Makefile6
-rw-r--r--package/ntpclient/Makefile6
-rw-r--r--package/nut/Makefile6
-rw-r--r--package/obexftp/Makefile6
-rw-r--r--package/olsrd/Makefile6
-rw-r--r--package/omxplayer/Makefile6
-rw-r--r--package/open-iscsi/Makefile6
-rw-r--r--package/openafs/Makefile6
-rw-r--r--package/openct/Makefile6
-rw-r--r--package/openjdk7/Makefile12
-rw-r--r--package/openldap/Makefile6
-rw-r--r--package/openntpd/Makefile6
-rw-r--r--package/openobex/Makefile6
-rw-r--r--package/opensc/Makefile6
-rw-r--r--package/opensips/Makefile6
-rw-r--r--package/openssh/Makefile6
-rw-r--r--package/openssl-pkcs11/Makefile6
-rw-r--r--package/openssl/Makefile6
-rw-r--r--package/openswan/Makefile6
-rw-r--r--package/openvpn/Makefile6
-rw-r--r--package/oprofile/Makefile6
-rw-r--r--package/opus/Makefile6
-rw-r--r--package/orbit2/Makefile10
-rw-r--r--package/owfs/Makefile6
-rw-r--r--package/p5-xml-parser/Makefile8
-rw-r--r--package/p54-firmware/Makefile6
-rw-r--r--package/p910nd/Makefile6
-rw-r--r--package/pam/Makefile6
-rw-r--r--package/pango/Makefile10
-rw-r--r--package/parprouted/Makefile6
-rw-r--r--package/parted/Makefile6
-rw-r--r--package/patch/Makefile10
-rw-r--r--package/pcc-libs/Makefile6
-rw-r--r--package/pcc/Makefile6
-rw-r--r--package/pciutils/Makefile6
-rw-r--r--package/pcmciautils/Makefile6
-rw-r--r--package/pcre/Makefile10
-rw-r--r--package/pcrepp/Makefile6
-rw-r--r--package/pcsc-lite/Makefile6
-rw-r--r--package/pdnsd/Makefile6
-rw-r--r--package/perl/Makefile10
-rw-r--r--package/php/Makefile6
-rw-r--r--package/picocom/Makefile6
-rw-r--r--package/pipacs/Makefile6
-rw-r--r--package/pixman/Makefile10
-rw-r--r--package/pkgconf/Makefile10
-rw-r--r--package/pm-utils/Makefile6
-rw-r--r--package/pmacct/Makefile6
-rw-r--r--package/polarssl/Makefile6
-rw-r--r--package/polipo/Makefile6
-rw-r--r--package/poppler/Makefile6
-rw-r--r--package/popt/Makefile6
-rw-r--r--package/portsentry/Makefile6
-rw-r--r--package/postfix/Makefile6
-rw-r--r--package/postgresql/Makefile6
-rw-r--r--package/ppp/Makefile6
-rw-r--r--package/pptp/Makefile6
-rw-r--r--package/pptpd/Makefile6
-rw-r--r--package/presentproto/Makefile6
-rw-r--r--package/printproto/Makefile6
-rw-r--r--package/privoxy/Makefile6
-rw-r--r--package/procmail/Makefile6
-rw-r--r--package/procps/Makefile6
-rw-r--r--package/ptunnel/Makefile6
-rw-r--r--package/pulseaudio/Makefile6
-rw-r--r--package/pycurl/Makefile8
-rw-r--r--package/pyrex/Makefile8
-rw-r--r--package/python2/Makefile16
-rw-r--r--package/python3/Makefile10
-rw-r--r--package/qemu/Makefile10
-rw-r--r--package/qingy/Makefile6
-rw-r--r--package/quagga/Makefile6
-rwxr-xr-xpackage/raddump/Makefile6
-rw-r--r--package/radvd/Makefile6
-rw-r--r--package/randrproto/Makefile6
-rw-r--r--package/rarpd/Makefile6
-rw-r--r--package/rdate/Makefile6
-rw-r--r--package/rdesktop/Makefile6
-rw-r--r--package/readline/Makefile10
-rw-r--r--package/reaim/Makefile6
-rw-r--r--package/realtek-firmware/Makefile6
-rw-r--r--package/recordproto/Makefile10
-rw-r--r--package/renderproto/Makefile10
-rw-r--r--package/resourceproto/Makefile6
-rw-r--r--package/rfkill/Makefile6
-rw-r--r--package/rng-tools/Makefile6
-rw-r--r--package/rp-pppoe/Makefile6
-rw-r--r--package/rpcbind/Makefile6
-rw-r--r--package/rrdcollect/Makefile6
-rw-r--r--package/rrdtool/Makefile6
-rw-r--r--package/rsync/Makefile6
-rw-r--r--package/rsyslog/Makefile6
-rw-r--r--package/rt61-firmware/Makefile6
-rw-r--r--package/rtmpdump/Makefile6
-rw-r--r--package/rtorrent/Makefile6
-rw-r--r--package/ruby-ldap/Makefile6
-rw-r--r--package/ruby/Makefile10
-rw-r--r--package/rxvt-unicode/Makefile6
-rw-r--r--package/samba/Makefile6
-rw-r--r--package/sane-backends/Makefile6
-rw-r--r--package/scanlogd/Makefile6
-rw-r--r--package/scons/Makefile10
-rw-r--r--package/screen/Makefile6
-rw-r--r--package/scrnsaverproto/Makefile6
-rw-r--r--package/scsi-spin/Makefile6
-rw-r--r--package/sdl-image/Makefile10
-rw-r--r--package/sdl/Makefile10
-rw-r--r--package/sed/Makefile10
-rw-r--r--package/ser2net/Makefile6
-rw-r--r--package/serdisplib/Makefile6
-rw-r--r--package/setpwc/Makefile6
-rw-r--r--package/setserial/Makefile6
-rw-r--r--package/setxkbmap/Makefile6
-rw-r--r--package/shat/Makefile6
-rw-r--r--package/shorewall-common/Makefile6
-rw-r--r--package/shorewall-shell/Makefile6
-rw-r--r--package/siproxd/Makefile6
-rw-r--r--package/sipsak/Makefile6
-rw-r--r--package/sispmctl/Makefile6
-rw-r--r--package/snort/Makefile6
-rw-r--r--package/socat/Makefile6
-rw-r--r--package/sox/Makefile6
-rw-r--r--package/speex/Makefile6
-rw-r--r--package/sqlite/Makefile6
-rw-r--r--package/squashfs/Makefile10
-rw-r--r--package/squeezelite/Makefile6
-rw-r--r--package/squid/Makefile6
-rw-r--r--package/srelay/Makefile6
-rw-r--r--package/ssltunnel/Makefile6
-rw-r--r--package/ssmtp/Makefile6
-rw-r--r--package/strace/Makefile6
-rw-r--r--package/stress/Makefile6
-rw-r--r--package/strongswan/Makefile6
-rw-r--r--package/stunnel/Makefile6
-rw-r--r--package/subversion/Makefile6
-rw-r--r--package/sudo/Makefile6
-rw-r--r--package/swconfig/Makefile6
-rw-r--r--package/swig/Makefile10
-rw-r--r--package/sysfsutils/Makefile6
-rw-r--r--package/syslinux/Makefile10
-rw-r--r--package/syslog-ng/Makefile6
-rw-r--r--package/sysstat/Makefile6
-rw-r--r--package/taglib/Makefile6
-rw-r--r--package/tar/Makefile6
-rw-r--r--package/tcl/Makefile6
-rw-r--r--package/tcp_wrappers/Makefile6
-rw-r--r--package/tcpdump/Makefile6
-rw-r--r--package/tcsh/Makefile6
-rw-r--r--package/tinc/Makefile6
-rw-r--r--package/tinycdb/Makefile6
-rw-r--r--package/tinyproxy/Makefile6
-rw-r--r--package/tinyxml/Makefile6
-rw-r--r--package/tmsnc/Makefile6
-rw-r--r--package/tntnet/Makefile6
-rw-r--r--package/tor/Makefile6
-rw-r--r--package/totd/Makefile6
-rw-r--r--package/tptest/Makefile6
-rw-r--r--package/traceroute/Makefile6
-rw-r--r--package/trafshow/Makefile6
-rw-r--r--package/transproxy/Makefile6
-rw-r--r--package/tslib/Makefile6
-rw-r--r--package/ttcp/Makefile6
-rw-r--r--package/twm/Makefile6
-rw-r--r--package/tzdata/Makefile6
-rw-r--r--package/u-boot-imx6/Makefile6
-rw-r--r--package/u-boot/Makefile6
-rw-r--r--package/uclibc++/Makefile8
-rw-r--r--package/uclibc/Makefile12
-rw-r--r--package/udp-broadcast-relay/Makefile6
-rw-r--r--package/ulogd/Makefile6
-rw-r--r--package/unzip/Makefile10
-rw-r--r--package/updatedd/Makefile6
-rw-r--r--package/urlgrabber/Makefile8
-rw-r--r--package/usbutils/Makefile6
-rw-r--r--package/util-linux/Makefile6
-rw-r--r--package/util-macros/Makefile10
-rw-r--r--package/uvd/Makefile6
-rw-r--r--package/v4l-utils/Makefile6
-rw-r--r--package/vala/Makefile10
-rw-r--r--package/valgrind/Makefile6
-rwxr-xr-xpackage/vgp/Makefile6
-rw-r--r--package/videoproto/Makefile6
-rw-r--r--package/vilistextum/Makefile6
-rw-r--r--package/vim/Makefile6
-rw-r--r--package/virtinst/Makefile8
-rw-r--r--package/vlc/Makefile6
-rw-r--r--package/vnc-reflector/Makefile6
-rw-r--r--package/vnstat/Makefile6
-rw-r--r--package/vpnc/Makefile6
-rw-r--r--package/vrrpd/Makefile6
-rw-r--r--package/vsftpd/Makefile6
-rw-r--r--package/vtun/Makefile6
-rw-r--r--package/w3m/Makefile6
-rw-r--r--package/watchdog/Makefile6
-rw-r--r--package/wccpd/Makefile6
-rw-r--r--package/wdfs/Makefile6
-rw-r--r--package/webkitgtk/Makefile6
-rw-r--r--package/weechat/Makefile6
-rw-r--r--package/wget/Makefile6
-rw-r--r--package/wifidog/Makefile6
-rw-r--r--package/wireless-tools/Makefile6
-rw-r--r--package/wol/Makefile6
-rw-r--r--package/wondershaper/Makefile6
-rw-r--r--package/wpa_supplicant/Makefile6
-rw-r--r--package/wput/Makefile6
-rw-r--r--package/x11vnc/Makefile6
-rw-r--r--package/xauth/Makefile6
-rw-r--r--package/xawtv/Makefile6
-rw-r--r--package/xbindkeys/Makefile6
-rw-r--r--package/xbitmaps/Makefile6
-rw-r--r--package/xbmc/Makefile6
-rw-r--r--package/xcb-proto/Makefile12
-rw-r--r--package/xcb-util/Makefile6
-rw-r--r--package/xcmiscproto/Makefile6
-rw-r--r--package/xconsole/Makefile6
-rw-r--r--package/xdm/Makefile6
-rw-r--r--package/xdpyinfo/Makefile6
-rw-r--r--package/xextproto/Makefile10
-rw-r--r--package/xf86-input-evdev/Makefile6
-rw-r--r--package/xf86-input-evtouch/Makefile6
-rw-r--r--package/xf86-input-keyboard/Makefile6
-rw-r--r--package/xf86-input-mouse/Makefile6
-rw-r--r--package/xf86-video-ati/Makefile6
-rw-r--r--package/xf86-video-cirrus/Makefile6
-rw-r--r--package/xf86-video-fbdev/Makefile6
-rw-r--r--package/xf86-video-geode/Makefile6
-rw-r--r--package/xf86-video-intel/Makefile6
-rw-r--r--package/xf86-video-modesetting/Makefile6
-rw-r--r--package/xf86-video-siliconmotion/Makefile6
-rw-r--r--package/xf86dga/Makefile6
-rw-r--r--package/xf86dgaproto/Makefile6
-rw-r--r--package/xf86driproto/Makefile6
-rw-r--r--package/xf86vidmodeproto/Makefile6
-rw-r--r--package/xfsprogs/Makefile6
-rw-r--r--package/xineramaproto/Makefile10
-rw-r--r--package/xinetd/Makefile6
-rw-r--r--package/xinit/Makefile6
-rw-r--r--package/xinput/Makefile6
-rw-r--r--package/xinput_calibrator/Makefile6
-rw-r--r--package/xkbcomp/Makefile6
-rw-r--r--package/xkeyboard-config/Makefile6
-rw-r--r--package/xlsfonts/Makefile6
-rw-r--r--package/xorg-server/Makefile6
-rw-r--r--package/xproto/Makefile10
-rw-r--r--package/xrdb/Makefile6
-rw-r--r--package/xset/Makefile6
-rw-r--r--package/xsetroot/Makefile6
-rw-r--r--package/xsm/Makefile6
-rw-r--r--package/xterm/Makefile6
-rw-r--r--package/xtrans/Makefile10
-rw-r--r--package/xvidcore/Makefile6
-rw-r--r--package/xvinfo/Makefile6
-rw-r--r--package/xz/Makefile10
-rw-r--r--package/yajl/Makefile6
-rw-r--r--package/yasm/Makefile10
-rw-r--r--package/zile/Makefile6
-rw-r--r--package/zip/Makefile10
-rw-r--r--package/zlib/Makefile6
-rw-r--r--package/zsh/Makefile6
-rw-r--r--rules.mk6
-rwxr-xr-xscripts/create.sh12
-rwxr-xr-xscripts/install.sh12
-rw-r--r--scripts/make-ipkg-dir.sh2
-rwxr-xr-xscripts/reloc.sh2
-rw-r--r--scripts/scan-tools.sh6
-rw-r--r--scripts/update-patches22
-rw-r--r--target/Makefile14
-rw-r--r--target/aarch64/Makefile14
-rw-r--r--target/arm/Makefile10
-rw-r--r--target/m68k/Makefile14
-rw-r--r--target/microblaze/Makefile10
-rw-r--r--target/mips/Makefile10
-rw-r--r--target/mips64/Makefile10
-rw-r--r--target/ppc/Makefile10
-rw-r--r--target/ppc64/Makefile10
-rw-r--r--target/sh/Makefile10
-rw-r--r--target/sparc/Makefile10
-rw-r--r--target/sparc64/Makefile10
-rw-r--r--target/x86/Makefile10
-rw-r--r--target/x86_64/Makefile10
-rw-r--r--target/xtensa/Makefile10
-rw-r--r--target/xtensa/target.mk2
-rw-r--r--toolchain/Makefile2
-rw-r--r--toolchain/binutils/Makefile8
-rw-r--r--toolchain/gcc/Makefile8
-rw-r--r--toolchain/gdb/Makefile6
-rw-r--r--toolchain/glibc/Makefile6
-rw-r--r--toolchain/gmp/Makefile6
-rw-r--r--toolchain/kernel-headers/Makefile22
-rw-r--r--toolchain/libelf/Makefile6
-rw-r--r--toolchain/mpc/Makefile6
-rw-r--r--toolchain/mpfr/Makefile6
-rw-r--r--toolchain/musl/Makefile6
-rw-r--r--toolchain/uclibc/Makefile8
777 files changed, 2700 insertions, 2700 deletions
diff --git a/BSDmakefile b/BSDmakefile
index 1720ba495..c1a9c08e7 100644
--- a/BSDmakefile
+++ b/BSDmakefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-TOPDIR= ${.CURDIR}
+ADK_TOPDIR= ${.CURDIR}
PWD= ${.CURDIR}
.include "${.CURDIR}/Makefile.inc"
@@ -9,7 +9,7 @@ PWD= ${.CURDIR}
.if defined(package) && !empty(package)
subdir:= package/${package}
. if !make(clean)
-_subdir_dep:= ${TOPDIR}/.config
+_subdir_dep:= ${ADK_TOPDIR}/.config
. endif
.endif
@@ -22,7 +22,7 @@ _subdir: ${_subdir_dep}
echo >&2 Error: you must build with “umask 022”, sorry.; \
exit 1; \
fi
- cd ${.CURDIR}/${subdir} && TOPDIR=${.CURDIR} DEVELOPER=1 \
+ cd ${.CURDIR}/${subdir} && ADK_TOPDIR=${.CURDIR} DEVELOPER=1 \
${GMAKE} VERBOSE=1 ${.MFLAGS} ${_subdir}
. include "${.CURDIR}/prereq.mk"
diff --git a/GNUmakefile b/GNUmakefile
index b5dd3eea3..ab512a2af 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,14 +1,14 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-TOPDIR:= $(shell pwd)
-PWD:= ${TOPDIR}
+ADK_TOPDIR:= $(shell pwd)
+PWD:= ${ADK_TOPDIR}
include Makefile.inc
ifneq (${package},)
subdir:= package/${package}
-_subdir_dep:= ${TOPDIR}/.config
+_subdir_dep:= ${ADK_TOPDIR}/.config
endif
ifneq (${subdir},)
@@ -19,7 +19,7 @@ _subdir: ${_subdir_dep}
echo >&2 Error: you must build with “umask 022”, sorry.; \
exit 1; \
fi
- cd ${subdir} && TOPDIR=${TOPDIR} DEVELOPER=1 \
+ cd ${subdir} && ADK_TOPDIR=${ADK_TOPDIR} DEVELOPER=1 \
make VERBOSE=1 ${MAKEFLAGS} ${MAKECMDGOALS}
include prereq.mk
diff --git a/Makefile b/Makefile
index 8422b8a59..021970245 100644
--- a/Makefile
+++ b/Makefile
@@ -183,7 +183,7 @@ NO_ERROR=0
echo >&2 Error: you must build with umask 022, sorry.; \
exit 1; \
fi
- @echo "TOPDIR:=$$(readlink -nf . 2>/dev/null || pwd -P)" >prereq.mk
+ @echo "ADK_TOPDIR:=$$(readlink -nf . 2>/dev/null || pwd -P)" >prereq.mk
@echo "BASH:=$$(which bash)" >>prereq.mk
@if [ -z "$$(which gmake 2>/dev/null )" ]; then \
echo "GMAKE:=$$(which make)" >>prereq.mk ;\
@@ -208,7 +208,7 @@ NO_ERROR=0
@echo 'MAKE:=$${GMAKE}' >>prereq.mk
@echo "OStype:=$$(env uname)" >>prereq.mk
@echo "_PATH:=$$PATH" >>prereq.mk
- @echo "PATH:=\$${TOPDIR}/scripts:/usr/sbin:$$PATH" >>prereq.mk
+ @echo "PATH:=\$${ADK_TOPDIR}/scripts:/usr/sbin:$$PATH" >>prereq.mk
@echo "SHELL:=$$(which bash)" >>prereq.mk
@echo "GIT:=$$(which git 2>/dev/null)" >>prereq.mk
@env NO_ERROR=${NO_ERROR} BASH="$$(which bash)" \
diff --git a/adk/config/Makefile b/adk/config/Makefile
index 72ea07005..d1d8ac73a 100644
--- a/adk/config/Makefile
+++ b/adk/config/Makefile
@@ -2,7 +2,7 @@
# material, please see the LICENCE file in the top-level directory.
ifneq ($(filter-out clean,${MAKECMDGOALS}),)
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
endif
CP=cp -fpR
diff --git a/adk/config/Makefile.in b/adk/config/Makefile.in
index 0b3ac40a9..506d04cab 100644
--- a/adk/config/Makefile.in
+++ b/adk/config/Makefile.in
@@ -2,4 +2,4 @@ ifeq ($(strip $(ADK_PACKAGE_CONFIG)),y)
TARGETS+=config
endif
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/adk/tests/master.exp.in b/adk/tests/master.exp.in
index 72d8ab9e6..1a73e7852 100644
--- a/adk/tests/master.exp.in
+++ b/adk/tests/master.exp.in
@@ -1,4 +1,4 @@
-lappend boards_dir @TOPDIR@/tests
+lappend boards_dir @ADK_TOPDIR@/tests
lappend boards_dir /usr/share/dejagnu
set myboard adk
set target_list adk
diff --git a/adk/tools/Makefile b/adk/tools/Makefile
index edd559f85..fd0a3c791 100644
--- a/adk/tools/Makefile
+++ b/adk/tools/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
install: ${STAGING_HOST_DIR}/usr/bin/depmaker ${STAGING_HOST_DIR}/usr/bin/pkgrebuild ${STAGING_HOST_DIR}/usr/bin/dkgetsz
@@ -14,4 +14,4 @@ ${STAGING_HOST_DIR}/usr/bin/pkgrebuild: pkgrebuild.c strmap.c
${STAGING_HOST_DIR}/usr/bin/dkgetsz: dkgetsz.c
${CC_FOR_BUILD} ${FLAGS_FOR_BUILD} -o $@ dkgetsz.c
-include $(TOPDIR)/mk/tools.mk
+include $(ADK_TOPDIR)/mk/tools.mk
diff --git a/docs/Makefile b/docs/Makefile
index 1670e0041..f42f7fc83 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -1,4 +1,4 @@
-TOPDIR=$(pwd)
+ADK_TOPDIR=$(pwd)
all: pdf text html
diff --git a/docs/adding-packages-auto.txt b/docs/adding-packages-auto.txt
index ac52c395f..9af8c6ae9 100644
--- a/docs/adding-packages-auto.txt
+++ b/docs/adding-packages-auto.txt
@@ -13,7 +13,7 @@ package, with an example:
01: # This file is part of the OpenADK project. OpenADK is copyrighted
02: # material, please see the LICENCE file in the top-level directory.
03:
-04: include ${TOPDIR}/rules.mk
+04: include ${ADK_TOPDIR}/rules.mk
05:
06: PKG_NAME:= libfoo
07: PKG_VERSION:= 1.0
@@ -26,7 +26,7 @@ package, with an example:
14: PKG_URL:= http://www.libfoo.org/
15: PKG_SITES:= http://downloads.libfoo.org/
16:
-17: include ${TOPDIR}/mk/package.mk
+17: include ${ADK_TOPDIR}/mk/package.mk
18:
19: $(eval $(call PKG_template,LIBFOO,libfoo,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
20:
@@ -34,7 +34,7 @@ package, with an example:
22: ${INSTALL_DIR} ${IDIR_LIBFOO}/usr/lib
23: ${CP} ${WRKINST}/usr/lib/libfoo.so* ${IDIR_LIBFOO}/usr/lib
24:
-25: include ${TOPDIR}/mk/pkg-bottom.mk
+25: include ${ADK_TOPDIR}/mk/pkg-bottom.mk
------------------------
diff --git a/docs/adding-packages-host.txt b/docs/adding-packages-host.txt
index c9eba6d02..bf7ff7158 100644
--- a/docs/adding-packages-host.txt
+++ b/docs/adding-packages-host.txt
@@ -13,7 +13,7 @@ by another target package to build, with an example:
01: # This file is part of the OpenADK project. OpenADK is copyrighted
02: # material, please see the LICENCE file in the top-level directory.
03:
-04: include $(TOPDIR)/rules.mk
+04: include $(ADK_TOPDIR)/rules.mk
05:
06: PKG_NAME:= hostfoo
07: PKG_VERSION:= 1.0
@@ -26,15 +26,15 @@ by another target package to build, with an example:
14:
15: PKG_CFLINE_HOSTFOO:= depends on ADK_HOST_ONLY
16:
-17: include $(TOPDIR)/mk/host.mk
-18: include $(TOPDIR)/mk/package.mk
+17: include $(ADK_TOPDIR)/mk/host.mk
+18: include $(ADK_TOPDIR)/mk/package.mk
19:
20: $(eval $(call HOST_template,HOSTFOO,hostfoo,$(PKG_VERSION)-${PKG_RELEASE}))
21:
22: HOST_STYLE:= auto
23:
-24: include ${TOPDIR}/mk/host-bottom.mk
-25: include ${TOPDIR}/mk/pkg-bottom.mk
+24: include ${ADK_TOPDIR}/mk/host-bottom.mk
+25: include ${ADK_TOPDIR}/mk/pkg-bottom.mk
------------------------
The differences to a target package is the inclusion of +mk/host.mk+ in line 17 and
@@ -47,7 +47,7 @@ Following mix between host and target package is possible, too:
01: # This file is part of the OpenADK project. OpenADK is copyrighted
02: # material, please see the LICENCE file in the top-level directory.
03:
-04: include ${TOPDIR}/rules.mk
+04: include ${ADK_TOPDIR}/rules.mk
05:
06: PKG_NAME:= foo
07: PKG_VERSION:= 1.0
@@ -59,8 +59,8 @@ Following mix between host and target package is possible, too:
13: PKG_URL:= http://www.foo.org/
14: PKG_SITES:= http://download.foo.org/
15:
-16: include ${TOPDIR}/mk/host.mk
-17: include ${TOPDIR}/mk/package.mk
+16: include ${ADK_TOPDIR}/mk/host.mk
+17: include ${ADK_TOPDIR}/mk/package.mk
18:
19: $(eval $(call HOST_template,FOO,foo,${PKG_VERSION}-${PKG_RELEASE}))
20: $(eval $(call PKG_template,FOO,foo,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -71,8 +71,8 @@ Following mix between host and target package is possible, too:
25: ${INSTALL_DIR} ${IDIR_FOO}/usr/bin
26: ${INSTALL_BIN} ${WRKINST}/usr/bin/foo ${IDIR_FOO}/usr/bin
27:
-28: include ${TOPDIR}/mk/host-bottom.mk
-29: include ${TOPDIR}/mk/pkg-bottom.mk
+28: include ${ADK_TOPDIR}/mk/host-bottom.mk
+29: include ${ADK_TOPDIR}/mk/pkg-bottom.mk
------------------------
If you need to rebuild a mixed package, you can do:
diff --git a/docs/adding-packages-manual.txt b/docs/adding-packages-manual.txt
index b231c19fb..8bf6b32a0 100644
--- a/docs/adding-packages-manual.txt
+++ b/docs/adding-packages-manual.txt
@@ -15,7 +15,7 @@ scripts.
01: # This file is part of the OpenADK project. OpenADK is copyrighted
02: # material, please see the LICENCE file in the top-level directory.
03:
-04: include $(TOPDIR)/rules.mk
+04: include $(ADK_TOPDIR)/rules.mk
05:
06: PKG_NAME:= libfoo
07: PKG_VERSION:= 1.0
@@ -28,7 +28,7 @@ scripts.
14: PKG_URL:= http://www.libfoo.org/
15: PKG_SITES:= http://download.libfoo.org/
16:
-17: include $(TOPDIR)/mk/package.mk
+17: include $(ADK_TOPDIR)/mk/package.mk
18:
19: $(eval $(call PKG_template,LIBFOO,libfoo,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
20:
@@ -46,7 +46,7 @@ scripts.
32: ${INSTALL_DIR} ${IDIR_LIBFOO}/usr/lib
33: ${CP} ${WRKBUILD}/libfoo.so* ${IDIR_LIBFOO}/usr/lib
34:
-35: include ${TOPDIR}/mk/pkg-bottom.mk
+35: include ${ADK_TOPDIR}/mk/pkg-bottom.mk
--------------------------------
The Makefile begins with line 4 with the inclusion of the top level rules.mk
diff --git a/mk/build.mk b/mk/build.mk
index 51d35cd86..ec4561c7f 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -1,8 +1,8 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-TOPDIR=$(shell pwd)
-export TOPDIR
+ADK_TOPDIR=$(shell pwd)
+export ADK_TOPDIR
ifneq ($(shell umask 2>/dev/null | sed 's/0*022/OK/'),OK)
$(error your umask is not 022)
@@ -101,7 +101,7 @@ POSTCONFIG= -@\
if [ -f .adkinit ];then rm .adkinit;\
else \
if [ -f .config.old ];then \
- $(TOPDIR)/adk/tools/pkgrebuild;\
+ $(ADK_TOPDIR)/adk/tools/pkgrebuild;\
rebuild=0; \
if [ "$$(grep ^BUSYBOX .config|md5sum)" != "$$(grep ^BUSYBOX .config.old|md5sum)" ];then \
touch .rebuild.busybox;\
@@ -140,17 +140,17 @@ POSTCONFIG= -@\
# Pull in the user's configuration file
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
--include $(TOPDIR)/.config
+-include $(ADK_TOPDIR)/.config
endif
ifeq ($(strip $(ADK_HAVE_DOT_CONFIG)),y)
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
all: world
-${TOPDIR}/package/Depends.mk: ${TOPDIR}/.config $(wildcard ${TOPDIR}/package/*/Makefile) $(TOPDIR)/adk/tools/depmaker
+${ADK_TOPDIR}/package/Depends.mk: ${ADK_TOPDIR}/.config $(wildcard ${ADK_TOPDIR}/package/*/Makefile) $(ADK_TOPDIR)/adk/tools/depmaker
@echo "Generating dependencies ..."
- $(TOPDIR)/adk/tools/depmaker > ${TOPDIR}/package/Depends.mk
+ $(ADK_TOPDIR)/adk/tools/depmaker > ${ADK_TOPDIR}/package/Depends.mk
.NOTPARALLEL:
.PHONY: all world clean cleandir cleansystem distclean image_clean
@@ -158,7 +158,7 @@ ${TOPDIR}/package/Depends.mk: ${TOPDIR}/.config $(wildcard ${TOPDIR}/package/*/M
world:
@mkdir -p $(DL_DIR) $(HOST_BUILD_DIR) $(BUILD_DIR) $(TARGET_DIR) $(FW_DIR) \
$(STAGING_HOST_DIR) $(TOOLCHAIN_BUILD_DIR) $(STAGING_PKG_DIR)/stamps
- ${BASH} ${TOPDIR}/scripts/scan-pkgs.sh
+ ${BASH} ${ADK_TOPDIR}/scripts/scan-pkgs.sh
ifeq ($(ADK_TARGET_TOOLCHAIN),y)
ifeq ($(ADK_TOOLCHAIN_ONLY),y)
$(MAKE) -f mk/build.mk package/hostcompile toolchain/fixup package/compile
@@ -172,7 +172,7 @@ endif
package_index:
ifeq ($(ADK_TARGET_PACKAGE_IPKG),y)
-cd ${PACKAGE_DIR} && \
- ${BASH} ${TOPDIR}/scripts/ipkg-make-index.sh . >Packages
+ ${BASH} ${ADK_TOPDIR}/scripts/ipkg-make-index.sh . >Packages
endif
${STAGING_TARGET_DIR} ${STAGING_TARGET_DIR}/etc ${STAGING_HOST_DIR}:
@@ -189,7 +189,7 @@ ifeq ($(ADK_TARGET_PACKAGE_IPKG),y)
echo "option offline_root ${TARGET_DIR}" >>$(STAGING_TARGET_DIR)/etc/ipkg.conf
endif
-package/%: ${STAGING_TARGET_DIR}/etc/ipkg.conf ${TOPDIR}/package/Depends.mk
+package/%: ${STAGING_TARGET_DIR}/etc/ipkg.conf ${ADK_TOPDIR}/package/Depends.mk
$(MAKE) -C package $(patsubst package/%,%,$@)
target/%:
@@ -213,11 +213,11 @@ kernelconfig:
# create a new package from package/.template
newpackage:
@echo "Creating new package $(PKG)"
- $(CP) $(TOPDIR)/package/.template$(TYPE) $(TOPDIR)/package/$(PKG)
+ $(CP) $(ADK_TOPDIR)/package/.template$(TYPE) $(ADK_TOPDIR)/package/$(PKG)
pkg=$$(echo $(PKG)|tr '[:lower:]-' '[:upper:]_'); \
- $(SED) "s#@UPKG@#$$pkg#" $(TOPDIR)/package/$(PKG)/Makefile
- $(SED) 's#@PKG@#$(PKG)#' $(TOPDIR)/package/$(PKG)/Makefile
- $(SED) 's#@VER@#$(VER)#' $(TOPDIR)/package/$(PKG)/Makefile
+ $(SED) "s#@UPKG@#$$pkg#" $(ADK_TOPDIR)/package/$(PKG)/Makefile
+ $(SED) 's#@PKG@#$(PKG)#' $(ADK_TOPDIR)/package/$(PKG)/Makefile
+ $(SED) 's#@VER@#$(VER)#' $(ADK_TOPDIR)/package/$(PKG)/Makefile
@echo "Edit package/$(PKG)/Makefile to complete"
root_clean:
@@ -241,8 +241,8 @@ clean:
rm ${STAGING_PKG_DIR}/$$f ; \
done
rm -rf $(BUILD_DIR) $(FW_DIR) $(TARGET_DIR) \
- ${TOPDIR}/package/pkglist.d
- rm -f ${TOPDIR}/package/Depends.mk
+ ${ADK_TOPDIR}/package/pkglist.d
+ rm -f ${ADK_TOPDIR}/package/Depends.mk
cleankernel:
@$(TRACE) cleankernel
@@ -252,36 +252,36 @@ cleandir:
@$(TRACE) cleandir
@$(MAKE) -C $(CONFIG) clean $(MAKE_TRACE)
@rm -rf $(BUILD_DIR_PFX) $(FW_DIR_PFX) $(TARGET_DIR_PFX) \
- ${TOPDIR}/package/pkglist.d ${TOPDIR}/package/pkgconfigs.d
+ ${ADK_TOPDIR}/package/pkglist.d ${ADK_TOPDIR}/package/pkgconfigs.d
@rm -rf $(TOOLCHAIN_DIR_PFX) $(STAGING_HOST_DIR_PFX)
@rm -rf $(STAGING_TARGET_DIR_PFX) $(STAGING_PKG_DIR_PFX)
- @rm -f .menu .tmpconfig.h .rebuild* ${TOPDIR}/package/Depends.mk ${TOPDIR}/prereq.mk
+ @rm -f .menu .tmpconfig.h .rebuild* ${ADK_TOPDIR}/package/Depends.mk ${ADK_TOPDIR}/prereq.mk
cleansystem:
@$(TRACE) cleansystem
@$(MAKE) -C $(CONFIG) clean $(MAKE_TRACE)
@rm -rf $(BUILD_DIR) $(FW_DIR) $(TARGET_DIR) \
- ${TOPDIR}/package/pkglist.d ${TOPDIR}/package/pkgconfigs.d
+ ${ADK_TOPDIR}/package/pkglist.d ${ADK_TOPDIR}/package/pkgconfigs.d
@rm -rf $(TOOLCHAIN_DIR) $(STAGING_TARGET_DIR) $(STAGING_PKG_DIR) $(TOOLCHAIN_BUILD_DIR)
- @rm -f .menu .tmpconfig.h .rebuild* ${TOPDIR}/package/Depends.mk ${TOPDIR}/prereq.mk
+ @rm -f .menu .tmpconfig.h .rebuild* ${ADK_TOPDIR}/package/Depends.mk ${ADK_TOPDIR}/prereq.mk
distclean:
@$(TRACE) distclean
@$(MAKE) -C $(CONFIG) clean $(MAKE_TRACE)
@rm -rf $(BUILD_DIR_PFX) $(FW_DIR_PFX) $(TARGET_DIR_PFX) $(DL_DIR) \
- ${TOPDIR}/package/pkglist.d ${TOPDIR}/package/pkgconfigs.d
+ ${ADK_TOPDIR}/package/pkglist.d ${ADK_TOPDIR}/package/pkgconfigs.d
@rm -rf $(TOOLCHAIN_DIR_PFX) $(STAGING_HOST_DIR_PFX)
@rm -rf $(STAGING_TARGET_DIR_PFX) $(STAGING_PKG_DIR_PFX)
- @rm -f .adkinit .config* .defconfig .tmpconfig.h all.config ${TOPDIR}/prereq.mk \
- .menu ${TOPDIR}/package/Depends.mk .ADK_HAVE_DOT_CONFIG .rebuild.* \
- ${TOPDIR}/target/*/Config.in.{arch*,system*} ${TOPDIR}/package/Config.in.auto*
+ @rm -f .adkinit .config* .defconfig .tmpconfig.h all.config ${ADK_TOPDIR}/prereq.mk \
+ .menu ${ADK_TOPDIR}/package/Depends.mk .ADK_HAVE_DOT_CONFIG .rebuild.* \
+ ${ADK_TOPDIR}/target/*/Config.in.{arch*,system*} ${ADK_TOPDIR}/package/Config.in.auto*
else # ! ifeq ($(strip $(ADK_HAVE_DOT_CONFIG)),y)
ifeq ($(filter-out distclean,${MAKECMDGOALS}),)
-include ${TOPDIR}/mk/vars.mk
+include ${ADK_TOPDIR}/mk/vars.mk
else
-include $(TOPDIR)/prereq.mk
+include $(ADK_TOPDIR)/prereq.mk
export HOST_CC BASH MAKE LANGUAGE LC_ALL OStype PATH QEMU SHELL
endif
@@ -302,59 +302,59 @@ $(CONFIG)/mconf:
defconfig: .menu $(CONFIG)/conf
ifeq (${OStype},Linux)
- @echo ADK_HOST_LINUX=y > $(TOPDIR)/.defconfig
+ @echo ADK_HOST_LINUX=y > $(ADK_TOPDIR)/.defconfig
endif
ifeq (${OStype},FreeBSD)
- @echo ADK_HOST_FREEBSD=y > $(TOPDIR)/.defconfig
+ @echo ADK_HOST_FREEBSD=y > $(ADK_TOPDIR)/.defconfig
endif
ifeq (${OStype},MirBSD)
- @echo ADK_HOST_MIRBSD=y > $(TOPDIR)/.defconfig
+ @echo ADK_HOST_MIRBSD=y > $(ADK_TOPDIR)/.defconfig
endif
ifeq (${OStype},OpenBSD)
- @echo ADK_HOST_OPENBSD=y > $(TOPDIR)/.defconfig
+ @echo ADK_HOST_OPENBSD=y > $(ADK_TOPDIR)/.defconfig
endif
ifeq (${OStype},NetBSD)
- @echo ADK_HOST_NETBSD=y > $(TOPDIR)/.defconfig
+ @echo ADK_HOST_NETBSD=y > $(ADK_TOPDIR)/.defconfig
endif
ifeq (${OStype},Darwin)
- @echo ADK_HOST_DARWIN=y > $(TOPDIR)/.defconfig
+ @echo ADK_HOST_DARWIN=y > $(ADK_TOPDIR)/.defconfig
endif
ifneq (,$(filter CYGWIN%,${OStype}))
- @echo ADK_HOST_CYGWIN=y > $(TOPDIR)/.defconfig
+ @echo ADK_HOST_CYGWIN=y > $(ADK_TOPDIR)/.defconfig
endif
@if [ ! -z "$(ADK_TARGET_ARCH)" ];then \
grep "^config" target/config/Config.in.arch.choice \
|grep -i "$(ADK_TARGET_ARCH)"\$$ \
|sed -e "s#^config \(.*\)#\1=y#" \
- >> $(TOPDIR)/.defconfig; \
+ >> $(ADK_TOPDIR)/.defconfig; \
fi
@for symbol in ${DEFCONFIG}; do \
- echo $$symbol >> $(TOPDIR)/.defconfig; \
+ echo $$symbol >> $(ADK_TOPDIR)/.defconfig; \
done
@if [ ! -z "$(ADK_TARGET_FS)" ];then \
grep "^config" target/config/Config.in.target \
|grep -i "$(ADK_TARGET_FS)" \
|sed -e "s#^config \(.*\)#\1=y#" \
- >> $(TOPDIR)/.defconfig; \
+ >> $(ADK_TOPDIR)/.defconfig; \
fi
@if [ ! -z "$(ADK_TARGET_COLLECTION)" ];then \
grep -h "^config" target/packages/pkg-available/* \
|grep -i "$(ADK_TARGET_COLLECTION)" \
|sed -e "s#^config \(.*\)#\1=y#" \
- >> $(TOPDIR)/.defconfig; \
+ >> $(ADK_TOPDIR)/.defconfig; \
fi
@if [ ! -z "$(ADK_TARGET_LIBC)" ];then \
grep "^config" target/config/Config.in.libc.choice \
|grep -i "$(ADK_TARGET_LIBC)" \
|sed -e "s#^config \(.*\)#\1=y#" \
- >> $(TOPDIR)/.defconfig; \
+ >> $(ADK_TOPDIR)/.defconfig; \
fi
@if [ ! -z "$(ADK_TARGET_SYSTEM)" ];then \
system=$$(echo "$(ADK_TARGET_SYSTEM)" |sed -e "s/-/_/g"); \
grep -h "^config" target/*/Config.in.systems \
|grep -i "$$system$$" \
|sed -e "s#^config \(.*\)#\1=y#" \
- >> $(TOPDIR)/.defconfig; \
+ >> $(ADK_TOPDIR)/.defconfig; \
fi
@if [ ! -z "$(ADK_TARGET_SYSTEM)" ];then \
$(CONFIG)/conf -D .defconfig $(CONFIG_CONFIG_IN); \
@@ -362,53 +362,53 @@ endif
modconfig:
ifeq (${OStype},Linux)
- @echo ADK_HOST_LINUX=y > $(TOPDIR)/all.config
+ @echo ADK_HOST_LINUX=y > $(ADK_TOPDIR)/all.config
endif
ifeq (${OStype},FreeBSD)
- @echo ADK_HOST_FREEBSD=y > $(TOPDIR)/all.config
+ @echo ADK_HOST_FREEBSD=y > $(ADK_TOPDIR)/all.config
endif
ifeq (${OStype},MirBSD)
- @echo ADK_HOST_MIRBSD=y > $(TOPDIR)/all.config
+ @echo ADK_HOST_MIRBSD=y > $(ADK_TOPDIR)/all.config
endif
ifeq (${OStype},OpenBSD)
- @echo ADK_HOST_OPENBSD=y > $(TOPDIR)/all.config
+ @echo ADK_HOST_OPENBSD=y > $(ADK_TOPDIR)/all.config
endif
ifeq (${OStype},NetBSD)
- @echo ADK_HOST_NETBSD=y > $(TOPDIR)/all.config
+ @echo ADK_HOST_NETBSD=y > $(ADK_TOPDIR)/all.config
endif
ifeq (${OStype},Darwin)
- @echo ADK_HOST_DARWIN=y > $(TOPDIR)/all.config
+ @echo ADK_HOST_DARWIN=y > $(ADK_TOPDIR)/all.config
endif
ifneq (,$(filter CYGWIN%,${OStype}))
- @echo ADK_HOST_CYGWIN=y > $(TOPDIR)/all.config
+ @echo ADK_HOST_CYGWIN=y > $(ADK_TOPDIR)/all.config
endif
@if [ ! -z "$(ADK_TARGET_ARCH)" ];then \
grep "^config" target/config/Config.in.arch.choice \
|grep -i "$(ADK_TARGET_ARCH)"\$$ \
|sed -e "s#^config \(.*\)#\1=y#" \
- >> $(TOPDIR)/all.config; \
+ >> $(ADK_TOPDIR)/all.config; \
fi
@for symbol in ${DEFCONFIG}; do \
- echo $$symbol >> $(TOPDIR)/all.config; \
+ echo $$symbol >> $(ADK_TOPDIR)/all.config; \
done
@if [ ! -z "$(ADK_TARGET_FS)" ];then \
grep "^config" target/config/Config.in.target \
|grep -i "$(ADK_TARGET_FS)" \
|sed -e "s#^config \(.*\)#\1=y#" \
- >> $(TOPDIR)/all.config; \
+ >> $(ADK_TOPDIR)/all.config; \
fi
@if [ ! -z "$(ADK_TARGET_LIBC)" ];then \
grep "^config" target/config/Config.in.libc.choice \
|grep -i "$(ADK_TARGET_LIBC)" \
|sed -e "s#^config \(.*\)#\1=y#" \
- >> $(TOPDIR)/all.config; \
+ >> $(ADK_TOPDIR)/all.config; \
fi
@if [ ! -z "$(ADK_TARGET_SYSTEM)" ];then \
system=$$(echo "$(ADK_TARGET_SYSTEM)" |sed -e "s/-/_/g"); \
grep -h "^config" target/*/Config.in.systems \
|grep -i "$$system" \
|sed -e "s#^config \(.*\)#\1=y#" \
- >> $(TOPDIR)/all.config; \
+ >> $(ADK_TOPDIR)/all.config; \
fi
menuconfig: $(CONFIG)/mconf defconfig .menu
@@ -431,12 +431,12 @@ _mconfig2: ${CONFIG}/conf modconfig .menu
distclean:
@$(MAKE) -C $(CONFIG) clean
@rm -rf $(BUILD_DIR_PFX) $(FW_DIR_PFX) $(TARGET_DIR_PFX) $(DL_DIR) \
- ${TOPDIR}/package/pkglist.d ${TOPDIR}/package/pkgconfigs.d
+ ${ADK_TOPDIR}/package/pkglist.d ${ADK_TOPDIR}/package/pkgconfigs.d
@rm -rf $(TOOLCHAIN_DIR_PFX) $(STAGING_TARGET_DIR_PFX)
@rm -rf $(STAGING_HOST_DIR_PFX) $(STAGING_TARGET_DIR_PFX) $(STAGING_PKG_DIR_PFX)
- @rm -f .adkinit .config* .defconfig .tmpconfig.h all.config ${TOPDIR}/prereq.mk \
- .menu .rebuild.* ${TOPDIR}/package/Depends.mk .ADK_HAVE_DOT_CONFIG \
- ${TOPDIR}/target/*/Config.in.{arch*,system*} ${TOPDIR}/package/Config.in.auto*
+ @rm -f .adkinit .config* .defconfig .tmpconfig.h all.config ${ADK_TOPDIR}/prereq.mk \
+ .menu .rebuild.* ${ADK_TOPDIR}/package/Depends.mk .ADK_HAVE_DOT_CONFIG \
+ ${ADK_TOPDIR}/target/*/Config.in.{arch*,system*} ${ADK_TOPDIR}/package/Config.in.auto*
endif # ! ifeq ($(strip $(ADK_HAVE_DOT_CONFIG)),y)
@@ -446,43 +446,43 @@ buildall:
$(GMAKE) ADK_TARGET_ARCH=$(ADK_TARGET_ARCH) ADK_TARGET_SYSTEM=$(ADK_TARGET_SYSTEM) ADK_TARGET_LIBC=$(ADK_TARGET_LIBC) allmodconfig
$(GMAKE) VERBOSE=1 all 2>&1 | tee firmware/buildall.log
-$(TOPDIR)/adk/tools/pkgmaker: $(TOPDIR)/adk/tools/pkgmaker.c $(TOPDIR)/adk/tools/sortfile.c $(TOPDIR)/adk/tools/strmap.c
+$(ADK_TOPDIR)/adk/tools/pkgmaker: $(ADK_TOPDIR)/adk/tools/pkgmaker.c $(ADK_TOPDIR)/adk/tools/sortfile.c $(ADK_TOPDIR)/adk/tools/strmap.c
@$(HOST_CC) $(HOST_CFLAGS) -o $@ adk/tools/pkgmaker.c adk/tools/sortfile.c adk/tools/strmap.c
-$(TOPDIR)/adk/tools/pkgrebuild: $(TOPDIR)/adk/tools/pkgrebuild.c $(TOPDIR)/adk/tools/strmap.c
+$(ADK_TOPDIR)/adk/tools/pkgrebuild: $(ADK_TOPDIR)/adk/tools/pkgrebuild.c $(ADK_TOPDIR)/adk/tools/strmap.c
@$(HOST_CC) $(HOST_CFLAGS) -o $@ adk/tools/pkgrebuild.c adk/tools/strmap.c
-$(TOPDIR)/adk/tools/depmaker: $(TOPDIR)/adk/tools/depmaker.c
- @$(HOST_CC) $(HOST_CFLAGS) -o $@ $(TOPDIR)/adk/tools/depmaker.c
+$(ADK_TOPDIR)/adk/tools/depmaker: $(ADK_TOPDIR)/adk/tools/depmaker.c
+ @$(HOST_CC) $(HOST_CFLAGS) -o $@ $(ADK_TOPDIR)/adk/tools/depmaker.c
-menu .menu: $(wildcard package/*/Makefile) $(wildcard target/*/systems) $(wildcard target/*/systems/*) $(TOPDIR)/adk/tools/pkgmaker $(TOPDIR)/adk/tools/pkgrebuild
+menu .menu: $(wildcard package/*/Makefile) $(wildcard target/*/systems) $(wildcard target/*/systems/*) $(ADK_TOPDIR)/adk/tools/pkgmaker $(ADK_TOPDIR)/adk/tools/pkgrebuild
@echo "Generating menu structure ..."
- @$(BASH) $(TOPDIR)/scripts/create-menu
- @$(TOPDIR)/adk/tools/pkgmaker
+ @$(BASH) $(ADK_TOPDIR)/scripts/create-menu
+ @$(ADK_TOPDIR)/adk/tools/pkgmaker
@:>.menu
-dep: $(TOPDIR)/adk/tools/depmaker
+dep: $(ADK_TOPDIR)/adk/tools/depmaker
@echo "Generating dependencies ..."
- @$(TOPDIR)/adk/tools/depmaker > ${TOPDIR}/package/Depends.mk
+ @$(ADK_TOPDIR)/adk/tools/depmaker > ${ADK_TOPDIR}/package/Depends.mk
.PHONY: menu dep
-include $(TOPDIR)/toolchain/gcc/Makefile.inc
+include $(ADK_TOPDIR)/toolchain/gcc/Makefile.inc
check-dejagnu:
@-rm adk/tests/adk.exp adk/tests/master.exp >/dev/null 2>&1
@sed -e "s#@ADK_TARGET_IP@#$(ADK_TARGET_IP)#" \
-e "s#@ADK_TARGET_PORT@#$(ADK_TARGET_PORT)#" \
adk/tests/adk.exp.in > adk/tests/adk.exp
- @sed -e "s#@TOPDIR@#$(TOPDIR)#" adk/tests/master.exp.in > \
+ @sed -e "s#@ADK_TOPDIR@#$(ADK_TOPDIR)#" adk/tests/master.exp.in > \
adk/tests/master.exp
check-gcc: check-dejagnu
- env DEJAGNU=$(TOPDIR)/adk/tests/master.exp \
+ env DEJAGNU=$(ADK_TOPDIR)/adk/tests/master.exp \
$(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/$(PKG_NAME)-$(PKG_VERSION)-final/gcc check-gcc
check-g++: check-dejagnu
- env DEJAGNU=$(TOPDIR)/adk/tests/master.exp \
+ env DEJAGNU=$(ADK_TOPDIR)/adk/tests/master.exp \
$(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/$(PKG_NAME)-$(PKG_VERSION)-final/gcc check-g++
check: check-gcc check-g++
diff --git a/mk/buildhlp.mk b/mk/buildhlp.mk
index 6724faf0a..45620e6ac 100644
--- a/mk/buildhlp.mk
+++ b/mk/buildhlp.mk
@@ -40,7 +40,7 @@ fetch refetch checksum do-extract:
__use_generic_patch_target:=42
else ifneq ($(strip ${DISTFILES}),)
-include ${TOPDIR}/mk/fetch.mk
+include ${ADK_TOPDIR}/mk/fetch.mk
${WRKDIST}/.extract_done: ${_CHECKSUM_COOKIE}
ifeq (${_CHECKSUM_COOKIE},)
@@ -56,7 +56,7 @@ endif
__use_generic_patch_target:=42
else
-include ${TOPDIR}/mk/fetch.mk
+include ${ADK_TOPDIR}/mk/fetch.mk
${WRKDIST}/.extract_done: ${_CHECKSUM_COOKIE}
$(MAKE) fetch
ifeq (${_CHECKSUM_COOKIE},)
@@ -102,6 +102,6 @@ endif
WRKDIR1=$(call shellescape,${WRKDIR}) \
PATH=$(call shellescape,${HOST_PATH}) \
$(call shellexport,DIFF_IGNOREFILES) \
- mksh ${TOPDIR}/scripts/update-patches2
+ mksh ${ADK_TOPDIR}/scripts/update-patches2
.PHONY: update-patches host-update-patches
diff --git a/mk/image.mk b/mk/image.mk
index 7fc46f6b2..cfd50f475 100644
--- a/mk/image.mk
+++ b/mk/image.mk
@@ -31,13 +31,13 @@ endif
imageprepare: image-prepare-post extra-install
-# if an extra directory exist in TOPDIR, copy all content over the
+# if an extra directory exist in ADK_TOPDIR, copy all content over the
# root directory, do the same if make extra=/dir/to/extra is used
extra-install:
- @-if [ -h ${TARGET_DIR}/etc/resolv.conf -a -f $(TOPDIR)/extra/etc/resolv.conf ];then \
+ @-if [ -h ${TARGET_DIR}/etc/resolv.conf -a -f $(ADK_TOPDIR)/extra/etc/resolv.conf ];then \
rm ${TARGET_DIR}/etc/resolv.conf;\
fi
- @if [ -d $(TOPDIR)/extra ];then $(CP) $(TOPDIR)/extra/* ${TARGET_DIR};fi
+ @if [ -d $(ADK_TOPDIR)/extra ];then $(CP) $(ADK_TOPDIR)/extra/* ${TARGET_DIR};fi
@if [ ! -z $(extra) ];then $(CP) $(extra)/* ${TARGET_DIR};fi
image-prepare-post:
@@ -57,7 +57,7 @@ image-prepare-post:
> $(TARGET_DIR)/etc/.adkversion
echo $(ADK_TARGET_SYSTEM) > $(TARGET_DIR)/etc/.adktarget
ifneq (${ADK_PACKAGE_CONFIG_IN_ETC},)
- gzip -9c ${TOPDIR}/.config > $(TARGET_DIR)/etc/adkconfig.gz
+ gzip -9c ${ADK_TOPDIR}/.config > $(TARGET_DIR)/etc/adkconfig.gz
chmod 600 $(TARGET_DIR)/etc/adkconfig.gz
endif
ifneq ($(ADK_LINUX_X86_64)$(ADK_LINUX_PPC64)$(ADK_LINUX_SPARC64)$(ADK_TARGET_ABI_N32)$(ADK_TARGET_ABI_N64),)
diff --git a/mk/kernel-build.mk b/mk/kernel-build.mk
index 29117f3b7..b66f71132 100644
--- a/mk/kernel-build.mk
+++ b/mk/kernel-build.mk
@@ -1,10 +1,10 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include ${TOPDIR}/mk/kernel-ver.mk
-include $(TOPDIR)/mk/linux.mk
-include ${TOPDIR}/mk/kernel-vars.mk
+include $(ADK_TOPDIR)/rules.mk
+include ${ADK_TOPDIR}/mk/kernel-ver.mk
+include $(ADK_TOPDIR)/mk/linux.mk
+include ${ADK_TOPDIR}/mk/kernel-vars.mk
KERNEL_FILE:=$(ADK_TARGET_KERNEL)
KERNEL_TARGET:=$(ADK_TARGET_KERNEL)
@@ -31,7 +31,7 @@ $(LINUX_DIR)/.prepared: $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PK
mkdir -p $(LINUX_BUILD_DIR)/kmod-control
touch $@
-$(LINUX_DIR)/.config: $(LINUX_DIR)/.prepared $(BUILD_DIR)/.kernelconfig $(TOPDIR)/mk/modules.mk
+$(LINUX_DIR)/.config: $(LINUX_DIR)/.prepared $(BUILD_DIR)/.kernelconfig $(ADK_TOPDIR)/mk/modules.mk
$(TRACE) target/$(ADK_TARGET_ARCH)-kernel-configure
-for f in $(TARGETS);do if [ -f $$f ];then rm $$f;fi;done
$(CP) $(BUILD_DIR)/.kernelconfig $(LINUX_DIR)/mini.config
diff --git a/mk/kernel.mk b/mk/kernel.mk
index 97f944108..0bc29b217 100644
--- a/mk/kernel.mk
+++ b/mk/kernel.mk
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/mk/kernel-ver.mk
+include $(ADK_TOPDIR)/mk/kernel-ver.mk
LINUX_KMOD_SUFFIX=ko
MODULES_SUBDIR := lib/modules/$(KERNEL_MOD_VERSION)
diff --git a/mk/package.mk b/mk/package.mk
index 3968ca60c..5ee7f7e54 100644
--- a/mk/package.mk
+++ b/mk/package.mk
@@ -62,7 +62,7 @@ _FAKE_COOKIE= ${WRKINST}/.fake_done
_IPKGS_COOKIE= ${STAGING_PKG_DIR}/stamps/${PKG_NAME}${PKG_VERSION}-${PKG_RELEASE}
_IN_PACKAGE:= 1
-include ${TOPDIR}/mk/buildhlp.mk
+include ${ADK_TOPDIR}/mk/buildhlp.mk
# defined in buildhlp.mk ('extract' can fail, use 'patch' then)
extract: ${_EXTRACT_COOKIE}
diff --git a/mk/vars.mk b/mk/vars.mk
index 67cbcc319..7f09a9c3a 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -12,7 +12,7 @@ BUILD_GROUP= $(shell id -gn)
ADK_SUFFIX:= _${ADK_TARGET_SYSTEM}_${ADK_TARGET_LIBC}
# some global dirs
-BASE_DIR:= $(TOPDIR)
+BASE_DIR:= $(ADK_TOPDIR)
ifeq ($(ADK_DL_DIR),)
DL_DIR?= $(BASE_DIR)/dl
else
@@ -287,4 +287,4 @@ ifeq ($(ADK_HOST_CYGWIN),y)
EXEEXT:= .exe
endif
-include $(TOPDIR)/mk/mirrors.mk
+include $(ADK_TOPDIR)/mk/mirrors.mk
diff --git a/package/.template/Makefile b/package/.template/Makefile
index 123731dc3..67c80079d 100644
--- a/package/.template/Makefile
+++ b/package/.template/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
# always use tab spaces as separator, no spaces
PKG_NAME:= @PKG@
@@ -55,7 +55,7 @@ PKG_SITES:= add download url without package name
# if downloaded package is not ending with .tar.xz use following
#DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,@UPKG@,@PKG@,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -74,4 +74,4 @@ $(eval $(call PKG_template,@UPKG@,@PKG@,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPE
$(IDIR_@UPKG@)/usr/bin
# please remove ALL above comments, before commiting
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/.templatelib/Makefile b/package/.templatelib/Makefile
index 959042761..eeeaff17f 100644
--- a/package/.templatelib/Makefile
+++ b/package/.templatelib/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= @PKG@
PKG_VERSION:= @VER@
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
# if downloaded package is not ending with .tar.xz use following
#DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,@UPKG@,@PKG@,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -25,4 +25,4 @@ $(eval $(call PKG_template,@UPKG@,@PKG@,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPE
$(CP) $(WRKINST)/usr/lib/@PKG@*.so* \
$(IDIR_@UPKG@)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/.templateprog/Makefile b/package/.templateprog/Makefile
index a0538bc31..2500b63c7 100644
--- a/package/.templateprog/Makefile
+++ b/package/.templateprog/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= @PKG@
PKG_VERSION:= @VER@
@@ -17,7 +17,7 @@ PKG_SITES:= add download url without package name
# if downloaded package is not ending with .tar.xz use following
#DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,@UPKG@,@PKG@,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ $(eval $(call PKG_template,@UPKG@,@PKG@,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPE
$(INSTALL_BIN) $(WRKINST)/usr/bin/@PKG@ \
$(IDIR_@UPKG@)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/6tunnel/Makefile b/package/6tunnel/Makefile
index 49695d052..c0dd7c2ed 100644
--- a/package/6tunnel/Makefile
+++ b/package/6tunnel/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= 6tunnel
PKG_VERSION:= 0.11rc2
@@ -14,7 +14,7 @@ PKG_SITES:= http://toxygen.net/6tunnel/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,6TUNNEL,6tunnel,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ AUTOTOOL_STYLE:= autoconf
$(INSTALL_DIR) $(IDIR_6TUNNEL)/usr/sbin
$(INSTALL_BIN) $(WRKBUILD)/6tunnel $(IDIR_6TUNNEL)/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/DirectFB/Makefile b/package/DirectFB/Makefile
index 11d5d86f0..9fe20abab 100644
--- a/package/DirectFB/Makefile
+++ b/package/DirectFB/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= DirectFB
PKG_VERSION:= 1.6.3
@@ -19,7 +19,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,DIRECTFB,directfb,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -65,4 +65,4 @@ directfb-install:
${CP} ${WRKINST}/usr/lib/directfb-${PKG_EXTRAVER}/interfaces/IDirectFBVideoProvider/*.so \
${IDIR_DIRECTFB}/usr/lib/directfb-${PKG_EXTRAVER}/interfaces/IDirectFBVideoProvider
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ImageMagick/Makefile b/package/ImageMagick/Makefile
index 024ef0b8b..975fda5d9 100644
--- a/package/ImageMagick/Makefile
+++ b/package/ImageMagick/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= ImageMagick
PKG_VERSION:= 6.7.6
@@ -36,7 +36,7 @@ PKGSB_DISPLAY:= libX11
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-${PKG_EXTRAVER}.tar.gz
WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}-${PKG_EXTRAVER}
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBIMAGEMAGICK,libimagemagick,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBIMAGEMAGICK},${PKGSC_LIBIMAGEMAGICK},${PKG_OPTS}))
$(eval $(call PKG_template,CONVERT,convert,$(PKG_VERSION)-${PKG_RELEASE},${PKGSS_CONVERT},${PKGSD_CONVERT},${PKGSC_CONVERT}))
@@ -79,4 +79,4 @@ display-install:
$(INSTALL_DIR) $(IDIR_DISPLAY)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/display $(IDIR_DISPLAY)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/Makefile b/package/Makefile
index c1c2cd241..5b7b471c0 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -3,7 +3,7 @@
# Main makefile for the packages
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
ifeq (${ADK_TARGET_LIB_GLIBC},y)
package-$(ADK_PACKAGE_GLIBC) += glibc
@@ -23,7 +23,7 @@ endif
package-$(ADK_PACKAGE_LIBPTHREAD) += libpthread
-include $(TOPDIR)/package/Depends.mk
+include $(ADK_TOPDIR)/package/Depends.mk
COMPILE_PACKAGES:=$(patsubst %,%-compile,$(package-y))
HOST_COMPILE_PACKAGES:=$(patsubst %,%-host-compile,$(hostpackage-y))
@@ -55,9 +55,9 @@ endif
%-compile:
$(START_TRACE) "package/$(patsubst %-compile,%,$@)-compile: "
- @if test -f $(TOPDIR)/.rebuild.$(patsubst %-compile,%,$@); then \
+ @if test -f $(ADK_TOPDIR)/.rebuild.$(patsubst %-compile,%,$@); then \
$(MAKE) -C $(patsubst %-compile,%,$@) clean ; \
- rm $(TOPDIR)/.rebuild.$(patsubst %-compile,%,$@) ; \
+ rm $(ADK_TOPDIR)/.rebuild.$(patsubst %-compile,%,$@) ; \
fi
$(MAKE) -C $(patsubst %-compile,%,$@) fake build-all-pkgs
$(CMD_TRACE) " done"
diff --git a/package/SDL_gfx/Makefile b/package/SDL_gfx/Makefile
index c7d3fc579..e943561b3 100644
--- a/package/SDL_gfx/Makefile
+++ b/package/SDL_gfx/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= SDL_gfx
PKG_VERSION:= 2.0.22
@@ -18,7 +18,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBSDL_GFX,libsdl-gfx,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -28,4 +28,4 @@ libsdl-gfx-install:
$(INSTALL_DIR) $(IDIR_LIBSDL_GFX)/usr/lib
$(CP) $(WRKINST)/usr/lib/libSDL_gfx.so* $(IDIR_LIBSDL_GFX)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/SDL_ttf/Makefile b/package/SDL_ttf/Makefile
index 66233e3ad..5dfa449b9 100644
--- a/package/SDL_ttf/Makefile
+++ b/package/SDL_ttf/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= SDL_ttf
PKG_VERSION:= 2.0.10
@@ -18,7 +18,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBSDL_TTF,libsdl-ttf,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libsdl-ttf-install:
$(INSTALL_DIR) $(IDIR_LIBSDL_TTF)/usr/lib
$(CP) $(WRKINST)/usr/lib/libSDL_ttf*so* $(IDIR_LIBSDL_TTF)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/adk-helper/Makefile b/package/adk-helper/Makefile
index 9ed57e401..a38d183f2 100644
--- a/package/adk-helper/Makefile
+++ b/package/adk-helper/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= adk-helper
PKG_VERSION:= 1.0
@@ -13,8 +13,8 @@ PKG_CFLINE_ADK_HELPER:= depends on ADK_HOST_ONLY
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,ADK_HELPER,adk-helper,${PKG_VERSION}-${PKG_RELEASE}))
@@ -29,5 +29,5 @@ adk-helper-hostinstall:
${INSTALL_BIN} ${WRKBUILD}/mkcrypt ${STAGING_HOST_DIR}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/dkgetsz ${STAGING_HOST_DIR}/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/adk-test-tools/Makefile b/package/adk-test-tools/Makefile
index 211fd25ff..f24a14378 100644
--- a/package/adk-test-tools/Makefile
+++ b/package/adk-test-tools/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= adk-test-tools
PKG_VERSION:= 0.1
@@ -12,7 +12,7 @@ PKG_URL:= http://openadk.org/
NO_DISTFILES:= 1
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,ADK_TEST_TOOLS,adk-test-tools,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ adk-test-tools-install:
$(INSTALL_BIN) $(WRKBUILD)/{qmp,quit} \
$(IDIR_ADK_TEST_TOOLS)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/adkinstall/Makefile b/package/adkinstall/Makefile
index d9f5029d8..bf47d76ff 100644
--- a/package/adkinstall/Makefile
+++ b/package/adkinstall/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= adkinstall
PKG_VERSION:= 2.0
@@ -13,7 +13,7 @@ PKG_DEPENDS:= mke2fs parted sfdisk dosfstools mksh
PKG_SYSTEM_DEPENDS:= mikrotik-rb532 lemote-yeelong
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ADKINSTALL,adkinstall,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ do-install:
$(INSTALL_DIR) $(IDIR_ADKINSTALL)/sbin
$(INSTALL_BIN) ./src/adkinstall $(IDIR_ADKINSTALL)/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/aiccu/Makefile b/package/aiccu/Makefile
index a98a22b90..33563aa5b 100644
--- a/package/aiccu/Makefile
+++ b/package/aiccu/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= aiccu
PKG_VERSION:= 20070115
@@ -18,7 +18,7 @@ PKG_LIBC_DEPENDS:= uclibc glibc
DISTFILES:= $(PKG_NAME)_$(PKG_VERSION).tar.gz
WRKDIST= ${WRKDIR}/$(PKG_NAME)
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,AICCU,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -35,4 +35,4 @@ do-install:
$(INSTALL_BIN) $(WRKBUILD)/unix-console/aiccu $(IDIR_AICCU)/usr/sbin/
$(INSTALL_DATA) $(WRKBUILD)/doc/aiccu.conf $(IDIR_AICCU)/etc/aiccu.conf
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/aircrack-ng/Makefile b/package/aircrack-ng/Makefile
index 43c7ee8e5..ddbdeca8b 100644
--- a/package/aircrack-ng/Makefile
+++ b/package/aircrack-ng/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= aircrack-ng
PKG_VERSION:= 1.1
@@ -18,7 +18,7 @@ PKG_NOPARALLEL:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,AIRCRACK_NG,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -44,4 +44,4 @@ post-install:
$(INSTALL_BIN) $(WRKINST)/usr/sbin/airtun-ng \
$(IDIR_AIRCRACK_NG)/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/alix-switch/Makefile b/package/alix-switch/Makefile
index 6bbfabcb3..4e3a280eb 100644
--- a/package/alix-switch/Makefile
+++ b/package/alix-switch/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= alix-switch
PKG_VERSION:= 1.0
@@ -14,7 +14,7 @@ PKG_SYSTEM_DEPENDS:= pcengines-alix2d2 pcengines-alix2d13
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ALIX_SWITCH,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -31,4 +31,4 @@ do-install:
${INSTALL_BIN} ${WRKBUILD}/alix-switchd ${IDIR_ALIX_SWITCH}/usr/sbin
${INSTALL_BIN} ./files/alix-switch ${IDIR_ALIX_SWITCH}/etc
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/alix-temperature/Makefile b/package/alix-temperature/Makefile
index 16a666d67..cb1643626 100644
--- a/package/alix-temperature/Makefile
+++ b/package/alix-temperature/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= alix-temperature
PKG_VERSION:= 1.0
@@ -14,7 +14,7 @@ PKG_SYSTEM_DEPENDS:= pcengines-alix2d2 pcengines-alix2d13
NO_DISTFILES:= 1
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,ALIX_TEMPERATURE,alix-temperature,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ alix-temperature-install:
$(INSTALL_DIR) $(IDIR_ALIX_TEMPERATURE)/usr/sbin
$(INSTALL_BIN) ./files/alix-temperature $(IDIR_ALIX_TEMPERATURE)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/alsa-lib/Makefile b/package/alsa-lib/Makefile
index e9658f5e0..29b50f18a 100644
--- a/package/alsa-lib/Makefile
+++ b/package/alsa-lib/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= alsa-lib
PKG_VERSION:= 1.0.27.2
@@ -16,8 +16,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,ALSA_LIB,alsa-lib,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,ALSA_LIB,alsa-lib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -35,5 +35,5 @@ alsa-lib-install:
${CP} ${WRKINST}/usr/lib/libasound.so* ${IDIR_ALSA_LIB}/usr/lib
${CP} ${WRKINST}/usr/share/alsa/* ${IDIR_ALSA_LIB}/usr/share/alsa
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/alsa-utils/Makefile b/package/alsa-utils/Makefile
index 6a88dff91..1a2ea4cdc 100644
--- a/package/alsa-utils/Makefile
+++ b/package/alsa-utils/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= alsa-utils
PKG_VERSION:= 1.0.27.2
@@ -21,7 +21,7 @@ PKGFB_WITH_ALSAMIXER:= ncurses
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ALSA_UTILS,alsa-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -41,4 +41,4 @@ ifeq (${ADK_PACKAGE_ALSA_UTILS_WITH_ALSAMIXER},y)
${IDIR_ALSA_UTILS}/usr/bin
endif
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ant/Makefile b/package/ant/Makefile
index 3c83c94b3..e198124fb 100644
--- a/package/ant/Makefile
+++ b/package/ant/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= ant
PKG_VERSION:= 1.8.4
@@ -17,8 +17,8 @@ PKG_CFLINE_ANT:= depends on ADK_HOST_ONLY
DISTFILES:= apache-$(PKG_NAME)-$(PKG_VERSION)-src.tar.bz2
WRKDIST= $(WRKDIR)/apache-$(PKG_NAME)-$(PKG_VERSION)
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,ANT,ant,$(PKG_VERSION)-${PKG_RELEASE}))
@@ -39,5 +39,5 @@ ant-hostinstall:
$(CP) bin/* $(STAGING_HOST_DIR)/usr/bin ; \
$(CP) lib/* $(STAGING_HOST_DIR)/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/apr-util/Makefile b/package/apr-util/Makefile
index 395d16dda..4db335d99 100644
--- a/package/apr-util/Makefile
+++ b/package/apr-util/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= apr-util
PKG_VERSION:= 1.4.1
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,APR_UTIL,apr-util,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -31,4 +31,4 @@ apr-util-install:
${INSTALL_DIR} ${IDIR_APR_UTIL}/usr/lib
${CP} ${WRKINST}/usr/lib/libaprutil-1.so* ${IDIR_APR_UTIL}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/apr/Makefile b/package/apr/Makefile
index 34e7536f4..f942e8ec4 100644
--- a/package/apr/Makefile
+++ b/package/apr/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= apr
PKG_VERSION:= 1.4.6
@@ -19,7 +19,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_FLAVOURS_APR:= WITH_IPV6
PKGFD_WITH_IPV6:= enable IPv6 support
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,APR,apr,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -53,4 +53,4 @@ apr-install:
${INSTALL_DIR} ${STAGING_TARGET_DIR}/usr/share/build-1
${CP} ${WRKINST}/usr/share/build-1/* ${STAGING_TARGET_DIR}/usr/share/build-1/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/arpd/Makefile b/package/arpd/Makefile
index bb0901382..c72bf7cbc 100644
--- a/package/arpd/Makefile
+++ b/package/arpd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= arpd
PKG_VERSION:= 0.2
@@ -17,7 +17,7 @@ PKG_SITES:= http://niels.xtdnet.nl/honeyd/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/${PKG_NAME}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ARPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -32,4 +32,4 @@ post-install:
${INSTALL_DIR} ${IDIR_ARPD}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/arpd ${IDIR_ARPD}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/arpwatch/Makefile b/package/arpwatch/Makefile
index 95d23483f..f82b3c929 100644
--- a/package/arpwatch/Makefile
+++ b/package/arpwatch/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= arpwatch
PKG_VERSION:= 2.1a15
@@ -16,7 +16,7 @@ PKG_SITES:= ftp://ftp.ee.lbl.gov/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,ARPWATCH,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -33,4 +33,4 @@ do-install:
$(INSTALL_BIN) $(WRKBUILD)/arpsnmp $(IDIR_ARPWATCH)/usr/sbin/
$(INSTALL_DATA) $(WRKBUILD)/arp.dat $(IDIR_ARPWATCH)/etc/arpwatch/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/asterisk/Makefile b/package/asterisk/Makefile
index 66c203ed2..62538f00c 100644
--- a/package/asterisk/Makefile
+++ b/package/asterisk/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= asterisk
PKG_VERSION:= 12.3.0
@@ -46,7 +46,7 @@ PKGSD_ASTERISK_SOUNDS:= various soundfiles in GSM format
PKGSN_ASTERISK_SOUNDS:= asterisk
PKGSS_ASTERISK_SOUNDS:= asterisk-codec-gsm
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,ASTERISK,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,ASTERISK_PGSQL,asterisk-pgsql,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_ASTERISK_PGSQL},${PKG_SECTION}))
@@ -205,4 +205,4 @@ asterisk-meetme-install:
${INSTALL_BIN} ${WRKBUILD}/apps/app_meetme.so \
${IDIR_ASTERISK_MEETME}/usr/lib/asterisk/modules
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/atftp/Makefile b/package/atftp/Makefile
index 866878158..c53bbd6ea 100644
--- a/package/atftp/Makefile
+++ b/package/atftp/Makefile
@@ -1,18 +1,18 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= atftp
-PKG_VERSION:= 0.7
-PKG_RELEASE:= 2
+PKG_VERSION:= 0.7.1
+PKG_RELEASE:= 1
PKG_MD5SUM:= 3b27365772d918050b2251d98a9c7c82
PKG_DESCR:= tftp client
PKG_SECTION:= net/misc
PKG_DEPENDS:= libreadline libncurses
PKG_BUILDDEP:= readline ncurses
-PKG_URL:= http://freshmeat.net/projects/atftp/
-PKG_SITES:= ftp://ftp.mamalinux.com/pub/atftp/
+PKG_URL:= http://sourceforge.net/projects/atftp/
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=atftp/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
@@ -22,7 +22,7 @@ PKG_SUBPKGS:= ATFTP ATFTPD
PKGSD_ATFTPD:= tftp server
PKGSS_ATFTPD:= libreadline libncurses
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,ATFTP,atftp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,ATFTPD,atftpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_ATFTPD},${PKG_SECTION}))
@@ -38,4 +38,4 @@ atftpd-install:
$(INSTALL_DIR) $(IDIR_ATFTPD)/usr/sbin
$(INSTALL_BIN) $(WRKBUILD)/atftpd $(IDIR_ATFTPD)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/atk/Makefile b/package/atk/Makefile
index 2c9d8ae88..6466e8571 100644
--- a/package/atk/Makefile
+++ b/package/atk/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= atk
PKG_VERSION:= 2.11.3
@@ -15,7 +15,7 @@ PKG_SITES:= ${MASTER_SITE_GNOME:=/atk/2.11/}
PKG_LIBNAME:= libatk
PKG_OPTS:= dev
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBATK,libatk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -23,4 +23,4 @@ libatk-install:
${INSTALL_DIR} ${IDIR_LIBATK}/usr/lib
${CP} ${WRKINST}/usr/lib/libatk-*.so* ${IDIR_LIBATK}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/autoconf/Makefile b/package/autoconf/Makefile
index 0823c134c..35079c0d3 100644
--- a/package/autoconf/Makefile
+++ b/package/autoconf/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= autoconf
PKG_VERSION:= 2.69
@@ -14,8 +14,8 @@ PKG_URL:= http://www.gnu.org/software/autoconf/
PKG_SITES:= ${MASTER_SITE_GNU:=autoconf/}
PKG_OPTS:= noscripts
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,AUTOCONF,autoconf,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,AUTOCONF,autoconf,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -29,5 +29,5 @@ autoconf-install:
${CP} ${WRKINST}/usr/share/autoconf/* \
${IDIR_AUTOCONF}/usr/share/autoconf
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/automake/Makefile b/package/automake/Makefile
index dccdc8453..60f26f55b 100644
--- a/package/automake/Makefile
+++ b/package/automake/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= automake
PKG_VERSION:= 1.14.1
@@ -16,8 +16,8 @@ PKG_URL:= http://www.gnu.org/software/automake/
PKG_SITES:= ${MASTER_SITE_GNU:=automake/}
PKG_OPTS:= noscripts
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,AUTOMAKE,automake,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,AUTOMAKE,automake,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -35,5 +35,5 @@ automake-install:
${CP} ${WRKINST}/usr/share/automake-${PKG_EXTRAVER} \
${IDIR_AUTOMAKE}/usr/share
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/autossh/Makefile b/package/autossh/Makefile
index f9b1df527..43906cf0c 100644
--- a/package/autossh/Makefile
+++ b/package/autossh/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= autossh
PKG_VERSION:= 1.4b
@@ -15,7 +15,7 @@ PKG_SITES:= http://www.harding.motd.ca/autossh/
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tgz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,AUTOSSH,autossh,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,4 +23,4 @@ autossh-install:
$(INSTALL_DIR) $(IDIR_AUTOSSH)/usr/bin
$(INSTALL_BIN) $(WRKBUILD)/autossh $(IDIR_AUTOSSH)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/avahi/Makefile b/package/avahi/Makefile
index a6a081b51..bf686b65b 100644
--- a/package/avahi/Makefile
+++ b/package/avahi/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= avahi
PKG_VERSION:= 0.6.31
@@ -26,7 +26,7 @@ PKGSD_AVAHI_DNSCONFD:= DNS server from mDNS configuration daemon
PKGSD_LIBAVAHI:= DNS-SD over mDNS library
PKGSC_LIBAVAHI:= libs/misc
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,AVAHI_DAEMON,avahi-daemon,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_AVAHI_DAEMON},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,AVAHI_DNSCONFD,avahi-dnsconfd,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_AVAHI_DNSCONFD},${PKGSD_AVAHI_DNSCONFD},${PKG_SECTION}))
@@ -101,4 +101,4 @@ libavahi-install:
${CP} ${WRKINST}/usr/lib/libavahi-glib.so* \
${IDIR_LIBAVAHI}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/axtls/Makefile b/package/axtls/Makefile
index 456b0a51c..883bf27f8 100644
--- a/package/axtls/Makefile
+++ b/package/axtls/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= axtls
PKG_VERSION:= 1.4.9
@@ -22,7 +22,7 @@ PKGSC_LIBAXTLS:= libs/crypto
DISTFILES:= axTLS-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/axTLS
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,AXHTTPD,axhttpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBAXTLS,libaxtls,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBAXTLS},${PKGSC_LIBAXTLS},${PKG_OPTS}))
@@ -47,4 +47,4 @@ do-install:
${INSTALL_DIR} ${IDIR_AXHTTPD}/usr/sbin
${INSTALL_BIN} $(WRKBUILD)/_stage/axhttpd $(IDIR_AXHTTPD)/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/b43-firmware/Makefile b/package/b43-firmware/Makefile
index e4ee5c4ac..0b7ff3cd3 100644
--- a/package/b43-firmware/Makefile
+++ b/package/b43-firmware/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= b43-firmware
PKG_VERSION:= 1.0
@@ -13,7 +13,7 @@ PKG_SITES:= http://openadk.org/distfiles/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,B43_FIRMWARE,b43-firmware,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ do-install:
${INSTALL_DIR} ${IDIR_B43_FIRMWARE}/lib/firmware
${CP} ${WRKBUILD}/* ${IDIR_B43_FIRMWARE}/lib/firmware/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 394071d40..73246e9e6 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -1,8 +1,8 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/rootfs.mk
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/rootfs.mk
PKG_NAME:= base-files
PKG_VERSION:= 1.0
@@ -13,7 +13,7 @@ PKG_DESCR:= basic files and scripts
WRKDIST= ${WRKDIR}/base-files
NO_DISTFILES:= 1
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,BASE_FILES,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},force_etc))
@@ -136,4 +136,4 @@ endif
printf "nameserver ${ADK_SIMPLE_NETWORK_CONFIG_NS}\n" > ${IDIR_BASE_FILES}/etc/resolv.conf
endif
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bash/Makefile b/package/bash/Makefile
index 3e2e3994c..e97323ada 100644
--- a/package/bash/Makefile
+++ b/package/bash/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= bash
PKG_VERSION:= 4.3
@@ -20,7 +20,7 @@ PKGCS_WITH_CURSES:= libncurses
PKGCB_WITH_CURSES:= ncurses
PKGCD_WITH_TERMCAP:= use termcap library instead of curses
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,BASH,bash,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -39,4 +39,4 @@ bash-install:
$(INSTALL_DIR) $(IDIR_BASH)/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/bash $(IDIR_BASH)/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bc/Makefile b/package/bc/Makefile
index 89fdaa330..ce8dd3128 100644
--- a/package/bc/Makefile
+++ b/package/bc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= bc
PKG_VERSION:= 1.06
@@ -18,8 +18,8 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_SUBPKGS:= BC DC
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,BC,bc,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,BC,bc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -33,5 +33,5 @@ dc-install:
${INSTALL_DIR} ${IDIR_DC}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/dc/dc ${IDIR_DC}/usr/bin/dc
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bcm2835-bootloader/Makefile b/package/bcm2835-bootloader/Makefile
index a86d36f6c..dfd300614 100644
--- a/package/bcm2835-bootloader/Makefile
+++ b/package/bcm2835-bootloader/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= bcm2835-bootloader
# actually git checkout from 03.06.2014
@@ -15,7 +15,7 @@ PKG_SITES:= http://openadk.org/distfiles/
PKG_SYSTEM_DEPENDS:= raspberry-pi
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BCM2835_BOOTLOADER,bcm2835-bootloader,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ do-install:
printf "gpu_mem=$(ADK_TARGET_GPU_MEM)\n" >> \
${IDIR_BCM2835_BOOTLOADER}/boot/config.txt
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bcm2835-vc/Makefile b/package/bcm2835-vc/Makefile
index c85daaed2..25187a7ae 100644
--- a/package/bcm2835-vc/Makefile
+++ b/package/bcm2835-vc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= bcm2835-vc
# actually git checkout from 03.06.2014
@@ -17,7 +17,7 @@ PKG_SITES:= http://openadk.org/distfiles/
PKG_SYSTEM_DEPENDS:= raspberry-pi
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BCM2835_VC,bcm2835-vc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -37,4 +37,4 @@ bcm2835-vc-install:
${CP} ${WRKINST}/opt/vc/lib ${STAGING_TARGET_DIR}/opt/vc
${CP} ${WRKINST}/opt/vc/include ${STAGING_TARGET_DIR}/opt/vc
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bdftopcf/Makefile b/package/bdftopcf/Makefile
index 64c65be95..3ebb8b6d8 100644
--- a/package/bdftopcf/Makefile
+++ b/package/bdftopcf/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= bdftopcf
PKG_VERSION:= 1.0.3
@@ -14,7 +14,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,BDFTOPCF,bdftopcf,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,4 +23,4 @@ bdftopcf-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/bdftopcf \
$(IDIR_BDFTOPCF)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/beecrypt/Makefile b/package/beecrypt/Makefile
index 51b68ca12..2b1a2cf48 100644
--- a/package/beecrypt/Makefile
+++ b/package/beecrypt/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= beecrypt
PKG_VERSION:= 4.2.1
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,BEECRYPT,beecrypt,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -29,4 +29,4 @@ beecrypt-install:
$(CP) $(WRKINST)/usr/lib/libbeecrypt*.so* \
$(IDIR_BEECRYPT)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bigreqsproto/Makefile b/package/bigreqsproto/Makefile
index a945a8e32..02003620c 100644
--- a/package/bigreqsproto/Makefile
+++ b/package/bigreqsproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= bigreqsproto
PKG_VERSION:= 1.1.2
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,BIGREQSPROTO,bigreqsproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bind/Makefile b/package/bind/Makefile
index 776308abb..0bb90297d 100644
--- a/package/bind/Makefile
+++ b/package/bind/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= bind
PKG_VERSION:= 9.9.5
@@ -43,7 +43,7 @@ PKGSC_LIBBIND:= libs/net
PKG_FLAVOURS_BIND_SERVER:= WITH_IPV6
PKGFD_WITH_IPV6:= enable IPv6 support
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BIND_SERVER,bind-server,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,BIND_NSUPDATE,bind-nsupdate,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_BIND_NSUPDATE},${PKGSD_BIND_NSUPDATE},${PKGSC_BIND_NSUPDATE}))
@@ -117,4 +117,4 @@ libbind-install:
${CP} ${WRKINST}/usr/lib/libisc.so.* ${IDIR_LIBBIND}/usr/lib
${CP} ${WRKINST}/usr/lib/liblwres.so.* ${IDIR_LIBBIND}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/binutils/Makefile b/package/binutils/Makefile
index f37400138..9e40c2e97 100644
--- a/package/binutils/Makefile
+++ b/package/binutils/Makefile
@@ -1,8 +1,8 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
-include ${TOPDIR}/toolchain/binutils/Makefile.inc
+include ${ADK_TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/toolchain/binutils/Makefile.inc
PKG_NAME:= binutils
PKG_DESCR:= binary utilities (nm, objdump, as, ..)
@@ -17,7 +17,7 @@ PKGSC_LIBBFD:= libs/misc
PKG_HOST_DEPENDS:= !cygwin
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BINUTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBBFD,libbfd,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBBFD},${PKGSD_LIBBFD},${PKGSC_LIBBFD},${PKG_OPTS}))
@@ -51,4 +51,4 @@ binutils-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/{objcopy,ranlib,readelf,objdump} \
${IDIR_BINUTILS}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bison/Makefile b/package/bison/Makefile
index f12850a0b..0a8addfdb 100644
--- a/package/bison/Makefile
+++ b/package/bison/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= bison
PKG_VERSION:= 3.0.2
@@ -14,8 +14,8 @@ HOST_BUILDDEP:= m4-host flex-host
PKG_URL:= http://www.gnu.org/software/bison/
PKG_SITES:= ${MASTER_SITE_GNU:=${PKG_NAME}/}
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,BISON,bison,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,BISON,bison,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,5 +29,5 @@ bison-install:
${CP} ${WRKINST}/usr/share/bison/* ${IDIR_BISON}/usr/share/bison
$(CP) ./files/yacc ${IDIR_BISON}/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bitlbee/Makefile b/package/bitlbee/Makefile
index f92ca3215..5c2573c43 100644
--- a/package/bitlbee/Makefile
+++ b/package/bitlbee/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= bitlbee
PKG_VERSION:= 3.0.1
@@ -17,7 +17,7 @@ PKG_SITES:= http://get.bitlbee.org/src/
PKG_BUILDDEP_UCLIBC:= libiconv-tiny
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BITLBEE,bitlbee,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -48,4 +48,4 @@ bitlbee-install:
${INSTALL_DATA} ${WRKINST}/etc/bitlbee/* ${IDIR_BITLBEE}/etc/bitlbee
${INSTALL_BIN} ${WRKINST}/usr/sbin/bitlbee ${IDIR_BITLBEE}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bkeymaps/Makefile b/package/bkeymaps/Makefile
index e797f0a41..55c89266b 100644
--- a/package/bkeymaps/Makefile
+++ b/package/bkeymaps/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= bkeymaps
PKG_VERSION:= 1.13
@@ -16,7 +16,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_DFLT_BKEYMAPS:= y if ADK_TARGET_WITH_INPUT
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,BKEYMAPS,bkeymaps,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -33,4 +33,4 @@ do-install:
$(INSTALL_DATA) $(WRKBUILD)/bkeymaps/$(KBD_DIR)/$(KBD_LAYOUT).bmap \
$(IDIR_BKEYMAPS)/usr/share/keymaps/keymap.bmap );
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bluez-firmware/Makefile b/package/bluez-firmware/Makefile
index 16f0c0221..a584e9350 100644
--- a/package/bluez-firmware/Makefile
+++ b/package/bluez-firmware/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= bluez-firmware
PKG_VERSION:= 1.2
@@ -15,7 +15,7 @@ PKG_SITES:= http://bluez.sourceforge.net/download/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BLUEZ_FIRMWARE,bluez-firmware,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ post-install:
${CP} ${WRKINST}/lib/firmware/BCM* \
${IDIR_BLUEZ_FIRMWARE}/lib/firmware
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bluez/Makefile b/package/bluez/Makefile
index 6166c1f50..7fe0a8568 100644
--- a/package/bluez/Makefile
+++ b/package/bluez/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= bluez
PKG_VERSION:= 5.19
@@ -14,7 +14,7 @@ PKG_BUILDDEP:= glib dbus readline
PKG_URL:= http://www.bluez.org/
PKG_SITES:= http://mirror.anl.gov/pub/linux/bluetooth/
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BLUEZ,bluez,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -48,4 +48,4 @@ bluez-install:
$(INSTALL_DATA) ./files/bluetooth.conf \
$(IDIR_BLUEZ)/etc/dbus-1/system.d
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bogofilter/Makefile b/package/bogofilter/Makefile
index 086ae533e..c9c75cdba 100644
--- a/package/bogofilter/Makefile
+++ b/package/bogofilter/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= bogofilter
PKG_VERSION:= 1.2.4
@@ -17,7 +17,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=bogofilter/}
PKG_BUILDDEP_UCLIBC:= libiconv-tiny
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BOGOFILTER,bogofilter,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -36,4 +36,4 @@ bogofilter-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/bogofilter \
${IDIR_BOGOFILTER}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/boost/Makefile b/package/boost/Makefile
index 7b0845b08..75f07c252 100644
--- a/package/boost/Makefile
+++ b/package/boost/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= boost
PKG_VERSION:= 1.55.0
@@ -38,11 +38,11 @@ PKGFD_TEST:= with test
PKGFD_THREAD:= with thread
PKGFD_WAVE:= with wave
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BOOST,boost,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/python.mk
+include ${ADK_TOPDIR}/mk/python.mk
CONFIG_STYLE:= manual
BUILD_STYLE:= manual
@@ -149,4 +149,4 @@ boost-install:
${INSTALL_DIR} ${IDIR_BOOST}/usr/lib
${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_BOOST}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/boot-wrapper-aarch64/Makefile b/package/boot-wrapper-aarch64/Makefile
index 5f80e1a9f..40e452666 100644
--- a/package/boot-wrapper-aarch64/Makefile
+++ b/package/boot-wrapper-aarch64/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= boot-wrapper-aarch64
PKG_VERSION:= 0.1
@@ -15,7 +15,7 @@ PKG_SYSTEM_DEPENDS:= arm-fm
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,BOOT_WRAPPER_AARCH64,boot-wrapper-aarch64,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ CONFIGURE_ARGS+= --with-kernel-dir=${LINUX_DIR}
boot-wrapper-aarch64-install:
${CP} ${WRKBUILD}/linux-system.axf ${LINUX_DIR}
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/brcm-bluetooth/Makefile b/package/brcm-bluetooth/Makefile
index 7c600669c..df201fe1e 100644
--- a/package/brcm-bluetooth/Makefile
+++ b/package/brcm-bluetooth/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= brcm-bluetooth
PKG_VERSION:= 1.0
@@ -12,7 +12,7 @@ PKG_SECTION:= sys/firmware
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BRCM_BLUETOOTH,brcm-bluetooth,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -31,4 +31,4 @@ do-install:
${INSTALL_BIN} ${WRKBUILD}/brcm_patchram \
${IDIR_BRCM_BLUETOOTH}/sbin/brcm_patchram
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/brcmfmac-firmware/Makefile b/package/brcmfmac-firmware/Makefile
index 06d7fb509..a7120d3c6 100644
--- a/package/brcmfmac-firmware/Makefile
+++ b/package/brcmfmac-firmware/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= brcmfmac-firmware
PKG_VERSION:= 1.0
@@ -12,7 +12,7 @@ PKG_SECTION:= sys/firmware
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BRCMFMAC_FIRMWARE,brcmfmac-firmware,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ do-install:
${INSTALL_DIR} ${IDIR_BRCMFMAC_FIRMWARE}/lib/firmware/brcm
${CP} ${WRKBUILD}/* ${IDIR_BRCMFMAC_FIRMWARE}/lib/firmware/brcm
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bridge-utils/Makefile b/package/bridge-utils/Makefile
index 3f303e3aa..2afc30709 100644
--- a/package/bridge-utils/Makefile
+++ b/package/bridge-utils/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= bridge-utils
PKG_VERSION:= 1.5
@@ -15,7 +15,7 @@ PKG_BB:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BRIDGE_UTILS,bridge-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ bridge-utils-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/brctl \
${IDIR_BRIDGE_UTILS}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index f5c852fb2..fe3d313a5 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= busybox
PKG_VERSION:= 1.22.1
@@ -15,7 +15,7 @@ PKG_SITES:= http://www.busybox.net/downloads/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,BUSYBOX,busybox,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -32,10 +32,10 @@ BB_MAKE_FLAGS:= V=1 \
do-configure:
# get all symbols from top level config
- grep BUSYBOX_ $(TOPDIR)/.config|sed -e 's/BUSYBOX_/CONFIG_/' > \
+ grep BUSYBOX_ $(ADK_TOPDIR)/.config|sed -e 's/BUSYBOX_/CONFIG_/' > \
${WRKBUILD}/.config
# remove all disabled symbols
- for i in $$(grep "BUSYBOX_DISABLE" $(TOPDIR)/.config);do \
+ for i in $$(grep "BUSYBOX_DISABLE" $(ADK_TOPDIR)/.config);do \
test -s "$$i" || continue; \
grep -v $${i#BUSYBOX_DISABLE} ${WRKBUILD}/.config > \
${WRKBUILD}/.config.tmp; \
@@ -74,4 +74,4 @@ ifneq ($(strip ${ADK_PACKAGE_CFGFS}),)
cd ${IDIR_BUSYBOX}/sbin && rm -f halt poweroff reboot
endif
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bwm/Makefile b/package/bwm/Makefile
index 56cc41aa9..f34c10ffb 100644
--- a/package/bwm/Makefile
+++ b/package/bwm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= bwm
PKG_VERSION:= 1.1.0
@@ -14,7 +14,7 @@ PKG_SITES:= http://ftp.debian.org/debian/pool/main/b/bwm/
DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.orig.tar.gz
WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}.orig
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BWM,bwm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ do-install:
${INSTALL_DIR} ${IDIR_BWM}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/bwm ${IDIR_BWM}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bzip2/Makefile b/package/bzip2/Makefile
index 304329d55..4c5a01333 100644
--- a/package/bzip2/Makefile
+++ b/package/bzip2/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= bzip2
PKG_VERSION:= 1.0.6
@@ -23,8 +23,8 @@ PKG_SUBPKGS:= BZIP2 LIBBZ2
PKGSD_LIBBZ2:= bzip2 compression library
PKGSC_LIBBZ2:= libs/misc
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,BZIP2,bzip2,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,BZIP2,bzip2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -67,5 +67,5 @@ bzip2-install:
${INSTALL_DIR} ${IDIR_BZIP2}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/$(BIN_FILE) ${IDIR_BZIP2}/usr/bin/bzip2
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/bzr/Makefile b/package/bzr/Makefile
index 8e9843ecc..6ef094948 100644
--- a/package/bzr/Makefile
+++ b/package/bzr/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= bzr
PKG_VERSION:= 2.6.0
@@ -18,7 +18,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_HOST_DEPENDS:= !darwin
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,BZR,bzr,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,7 +26,7 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
-include $(TOPDIR)/mk/python.mk
+include $(ADK_TOPDIR)/mk/python.mk
do-build:
cd $(WRKBUILD); env PYTHONPATH=$(PYTHON_LIBDIR) $(PYTHON) ./setup.py install --prefix=$(WRKINST)/usr build_ext --allow-python-fallback
@@ -38,4 +38,4 @@ do-install:
$(INSTALL_DIR) $(IDIR_BZR)/usr/bin
$(INSTALL_BIN) $(WRKBUILD)/bzr $(IDIR_BZR)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ca-certificates/Makefile b/package/ca-certificates/Makefile
index 7994bea2c..47e5da9c2 100644
--- a/package/ca-certificates/Makefile
+++ b/package/ca-certificates/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= ca-certificates
PKG_VERSION:= 20090814
@@ -18,7 +18,7 @@ DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
PKG_FLAVOURS_CA_CERTS:= SMALL
PKGFD_SMALL:= minimal set of CA certificates
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,CA_CERTIFICATES,ca-certificates,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},force_etc))
@@ -38,4 +38,4 @@ else
-DESTDIR=${IDIR_CA_CERTIFICATES} ${BASH} ./extra/update-ca-certificates
endif
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cairo/Makefile b/package/cairo/Makefile
index 0eb325f18..d16fcd00a 100644
--- a/package/cairo/Makefile
+++ b/package/cairo/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= cairo
PKG_VERSION:= 1.12.16
@@ -18,8 +18,8 @@ PKG_URL:= http://cairographics.org/
PKG_SITES:= http://cairographics.org/releases/
PKG_OPTS:= dev
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,CAIRO,cairo,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,CAIRO,cairo,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -52,5 +52,5 @@ cairo-install:
${CP} ${WRKINST}/usr/lib/libcairo*.so* ${IDIR_CAIRO}/usr/lib
${CP} ${WRKINST}/usr/lib/cairo/*.so* ${IDIR_CAIRO}/usr/lib/cairo
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ccache/Makefile b/package/ccache/Makefile
index b730479ff..4381d7a66 100644
--- a/package/ccache/Makefile
+++ b/package/ccache/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= ccache
PKG_VERSION:= 3.1.9
@@ -13,10 +13,10 @@ PKG_SITES:= http://samba.org/ftp/ccache/
PKG_CFLINE_CCACHE:= depends on ADK_HOST_ONLY
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,CCACHE,ccache,$(PKG_VERSION)-${PKG_RELEASE}))
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ccid/Makefile b/package/ccid/Makefile
index e4dfca7f0..8d07b8fdc 100644
--- a/package/ccid/Makefile
+++ b/package/ccid/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= ccid
PKG_VERSION:= 1.4.4
@@ -15,7 +15,7 @@ PKG_SITES:= http://openadk.org/distfiles/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,CCID,ccid,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ ccid-install:
$(CP) $(WRKINST)/usr/lib/pcsc/drivers/* \
$(IDIR_CCID)/usr/lib/pcsc/drivers
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cdrtools/Makefile b/package/cdrtools/Makefile
index d42369233..290984720 100644
--- a/package/cdrtools/Makefile
+++ b/package/cdrtools/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= cdrtools
PKG_VERSION:= 3.01
@@ -14,8 +14,8 @@ PKG_SITES:= ftp://ftp.berlios.de/pub/cdrecord/
PKG_CFLINE_CDRTOOLS:= depends on ADK_HOST_ONLY
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,CDRTOOLS,cdrtools,$(PKG_VERSION)-${PKG_RELEASE}))
@@ -30,5 +30,5 @@ cdrtools-hostinstall:
$(INSTALL_BIN) $(WRKBUILD)/mkisofs/OBJ/*/mkisofs \
$(STAGING_HOST_DIR)/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cfgfs/Makefile b/package/cfgfs/Makefile
index 9ad0bdef6..b48fcb661 100644
--- a/package/cfgfs/Makefile
+++ b/package/cfgfs/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= cfgfs
PKG_VERSION:= 1.0.10
@@ -21,7 +21,7 @@ PKG_DFLT_CFGFS:= y if !(ADK_TOOLCHAIN_ONLY || ADK_TOOLCHAIN_ARCHIVE || ADK_PKG_T
WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,CFGFS,cfgfs,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -37,4 +37,4 @@ do-install:
ln cfgfs $$tgt; \
done
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cgilib/Makefile b/package/cgilib/Makefile
index ebe883d7c..617b0a15b 100644
--- a/package/cgilib/Makefile
+++ b/package/cgilib/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= cgilib
PKG_VERSION:= 0.7
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,CGILIB,cgilib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -28,4 +28,4 @@ cgilib-install:
${INSTALL_DIR} ${IDIR_CGILIB}/usr/lib
${CP} ${WRKINST}/usr/lib/libcgi.so* ${IDIR_CGILIB}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/check/Makefile b/package/check/Makefile
index 63a8e9d34..ae9ca7800 100644
--- a/package/check/Makefile
+++ b/package/check/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= check
PKG_VERSION:= 0.9.12
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBCHECK,libcheck,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -25,4 +25,4 @@ libcheck-install:
$(CP) $(WRKINST)/usr/lib/libcheck*.so* \
$(IDIR_LIBCHECK)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cherokee/Makefile b/package/cherokee/Makefile
index 194e733ee..bb72a5228 100644
--- a/package/cherokee/Makefile
+++ b/package/cherokee/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= cherokee
PKG_VERSION:= 1.2.101
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.cherokee-project.de/mirrors/cherokee/1.2/${PKG_VERSION}/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,CHEROKEE,cherokee,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -38,4 +38,4 @@ cherokee-install:
$(CP) $(WRKINST)/usr/share/cherokee/themes/default/* \
$(IDIR_CHEROKEE)/usr/share/cherokee/themes/default
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cherrypy/Makefile b/package/cherrypy/Makefile
index f904be4af..9cf8957b0 100644
--- a/package/cherrypy/Makefile
+++ b/package/cherrypy/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= CherryPy
PKG_VERSION:= 3.3.0
@@ -16,7 +16,7 @@ PKG_SITES:= https://pypi.python.org/packages/source/C/CherryPy/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,CHERRYPY,cherrypy,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,7 +24,7 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
-include $(TOPDIR)/mk/python.mk
+include $(ADK_TOPDIR)/mk/python.mk
do-build:
cd $(WRKBUILD); env PYTHONPATH=$(PYTHON_LIBDIR) $(PYTHON) ./setup.py build
@@ -36,4 +36,4 @@ do-install:
$(CP) $(WRKINST)/usr/lib/python$(PYTHON_VERSION)/* $(IDIR_CHERRYPY)/usr/lib/python$(PYTHON_VERSION)
$(CP) $(WRKINST)/usr/lib/python$(PYTHON_VERSION)/site-packages/cherrypy/cherryd $(IDIR_CHERRYPY)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/chillispot/Makefile b/package/chillispot/Makefile
index e27bcd634..a031a1c5d 100644
--- a/package/chillispot/Makefile
+++ b/package/chillispot/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= chillispot
PKG_VERSION:= 1.1.0
@@ -14,7 +14,7 @@ PKG_SITES= http://www.chillispot.info/download/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,CHILLISPOT,chillispot,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ chillispot-install:
${IDIR_CHILLISPOT}/etc/
${INSTALL_BIN} ${WRKINST}/usr/sbin/chilli ${IDIR_CHILLISPOT}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cifs-utils/Makefile b/package/cifs-utils/Makefile
index 6298acd5f..8440d8f5e 100644
--- a/package/cifs-utils/Makefile
+++ b/package/cifs-utils/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= cifs-utils
PKG_VERSION:= 6.3
@@ -14,7 +14,7 @@ PKG_SITES:= ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,CIFS_UTILS,cifs-utils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -31,4 +31,4 @@ cifs-utils-install:
$(INSTALL_BIN) $(WRKINST)/sbin/mount.cifs \
$(IDIR_CIFS_UTILS)/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/classpath/Makefile b/package/classpath/Makefile
index 0899ae578..f7652d00e 100644
--- a/package/classpath/Makefile
+++ b/package/classpath/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= classpath
PKG_VERSION:= 0.98
@@ -19,8 +19,8 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_HOST_DEPENDS:= linux
PKG_ARCH_DEPENDS:= !arm
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,CLASSPATH,classpath,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,CLASSPATH,classpath,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -49,5 +49,5 @@ classpath-install:
$(CP) $(WRKINST)/usr/share/classpath/glibj.zip \
$(STAGING_TARGET_DIR)/usr/share/classpath
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cmake/Makefile b/package/cmake/Makefile
index 1a983c30a..6b2347934 100644
--- a/package/cmake/Makefile
+++ b/package/cmake/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= cmake
PKG_VERSION:= 2.8.12
@@ -16,8 +16,8 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_CFLINE_CMAKE:= depends on ADK_HOST_ONLY
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,CMAKE,cmake,$(PKG_VERSION)-${PKG_RELEASE}))
@@ -36,5 +36,5 @@ cmake-hostinstall:
$(INSTALL_BIN) $(WRKBUILD)/bin/cmake \
$(STAGING_HOST_DIR)/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/collectd/Makefile b/package/collectd/Makefile
index c47168d12..ff26c4259 100644
--- a/package/collectd/Makefile
+++ b/package/collectd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= collectd
PKG_VERSION:= 5.4.1
@@ -28,7 +28,7 @@ PKGFD_WITH_PING:= enable ping statistic plugin
PKGFD_WITH_NETWORK:= enable network statistic plugin
PKGFD_WITH_UPTIME:= enable uptime statistic plugin
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,COLLECTD,collectd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -142,4 +142,4 @@ collectd-install:
${INSTALL_DATA} ./files/collectd.conf \
${IDIR_COLLECTD}/etc
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/comgt/Makefile b/package/comgt/Makefile
index f606beef9..f12134a0c 100644
--- a/package/comgt/Makefile
+++ b/package/comgt/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= comgt
PKG_VERSION:= 0.32
@@ -15,7 +15,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=comgt/}
DISTFILES:= ${PKG_NAME}.${PKG_VERSION}.tgz
WRKDIST= ${WRKDIR}/${PKG_NAME}.${PKG_VERSION}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,COMGT,comgt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,4 +28,4 @@ do-install:
${INSTALL_BIN} ${WRKBUILD}/comgt ${IDIR_COMGT}/usr/bin/comgt
${INSTALL_DATA} ./files/*.comgt ${IDIR_COMGT}/etc/comgt/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/compositeproto/Makefile b/package/compositeproto/Makefile
index 21268866e..15fe83cdf 100644
--- a/package/compositeproto/Makefile
+++ b/package/compositeproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= compositeproto
PKG_VERSION:= 0.4.2
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,COMPOSITEPROTO,compositeproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/confuse/Makefile b/package/confuse/Makefile
index 2587c32a6..14e853c57 100755
--- a/package/confuse/Makefile
+++ b/package/confuse/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= confuse
PKG_VERSION:= 2.7
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBCONFUSE,libconfuse,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ libconfuse-install:
${INSTALL_DIR} ${IDIR_LIBCONFUSE}/usr/lib
${CP} ${WRKINST}/usr/lib/libconfuse.so* ${IDIR_LIBCONFUSE}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/conntrack-tools/Makefile b/package/conntrack-tools/Makefile
index f6c81d0a6..41ade682f 100644
--- a/package/conntrack-tools/Makefile
+++ b/package/conntrack-tools/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= conntrack-tools
PKG_VERSION:= 1.4.2
@@ -20,7 +20,7 @@ PKGSD_CONNTRACKD:= connection tracking daemon
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
TARGET_CPPFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include/tirpc -D_GNU_SOURCE
@@ -35,4 +35,4 @@ conntrackd-install:
$(INSTALL_DIR) $(IDIR_CONNTRACKD)/usr/sbin
$(INSTALL_BIN) $(WRKINST)/usr/sbin/conntrackd $(IDIR_CONNTRACKD)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/coreutils/Makefile b/package/coreutils/Makefile
index c8e8813bf..ed631ae56 100644
--- a/package/coreutils/Makefile
+++ b/package/coreutils/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= coreutils
PKG_VERSION:= 8.22
@@ -14,7 +14,7 @@ PKG_URL:= http://www.gnu.org/software/coreutils/
PKG_SITES:= http://ftp.gnu.org/gnu/coreutils/
PKG_BB:= 1
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,COREUTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ coreutils-install:
$(CP) $(WRKINST)/usr/libexec/* \
$(IDIR_COREUTILS)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cpio/Makefile b/package/cpio/Makefile
index abf89017e..1f5c3aa38 100644
--- a/package/cpio/Makefile
+++ b/package/cpio/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= cpio
PKG_VERSION:= 2.11
@@ -15,7 +15,7 @@ PKG_BB:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,CPIO,cpio,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,4 +23,4 @@ cpio-install:
${INSTALL_DIR} ${IDIR_CPIO}/usr/bin
${CP} ${WRKINST}/usr/bin/cpio ${IDIR_CPIO}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cpufrequtils/Makefile b/package/cpufrequtils/Makefile
index 575d96207..21e40f553 100644
--- a/package/cpufrequtils/Makefile
+++ b/package/cpufrequtils/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= cpufrequtils
PKG_VERSION:= 008
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.kernel.org/pub/linux/utils/kernel/cpufreq/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,CPUFREQUTILS,cpufrequtils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -31,4 +31,4 @@ cpufrequtils-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/cpufreq-info \
$(IDIR_CPUFREQUTILS)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cryptinit/Makefile b/package/cryptinit/Makefile
index 11935372a..87a27b257 100644
--- a/package/cryptinit/Makefile
+++ b/package/cryptinit/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= cryptinit
PKG_VERSION:= 2.0
@@ -30,7 +30,7 @@ PKGFC_SWAP:= depends on ADK_PACKAGE_CRYPTINIT_NO_GRUB
WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,CRYPTINIT,cryptinit,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -48,4 +48,4 @@ else
$(INSTALL_BIN) ./src/cryptinit $(IDIR_CRYPTINIT)/
endif
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cryptodev-linux/Makefile b/package/cryptodev-linux/Makefile
index 90de5e594..aa2cf93fc 100644
--- a/package/cryptodev-linux/Makefile
+++ b/package/cryptodev-linux/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= cryptodev-linux
PKG_VERSION:= 1.6
@@ -15,8 +15,8 @@ PKG_SITES:= http://download.gna.org/cryptodev-linux/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
-include ${TOPDIR}/mk/kernel-vars.mk
+include $(ADK_TOPDIR)/mk/package.mk
+include ${ADK_TOPDIR}/mk/kernel-vars.mk
$(eval $(call PKG_template,CRYPTODEV_LINUX,cryptodev-linux,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -49,4 +49,4 @@ do-install:
$(INSTALL_DATA) $(WRKBUILD)/cryptodev.ko \
$(IDIR_CRYPTODEV_LINUX)/lib/modules/${KERNEL_VERSION}/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cryptsetup/Makefile b/package/cryptsetup/Makefile
index 234e0eef0..b48737cf5 100644
--- a/package/cryptsetup/Makefile
+++ b/package/cryptsetup/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= cryptsetup
PKG_VERSION:= 1.6.3
@@ -18,7 +18,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,CRYPTSETUP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -31,4 +31,4 @@ cryptsetup-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/cryptsetup \
${IDIR_CRYPTSETUP}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ctorrent/Makefile b/package/ctorrent/Makefile
index dc76949b4..047be37b0 100755
--- a/package/ctorrent/Makefile
+++ b/package/ctorrent/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ctorrent
PKG_VERSION:= dnh3.3.2
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=dtorrent/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,CTORRENT,ctorrent,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ ctorrent-install:
${INSTALL_DIR} ${IDIR_CTORRENT}/usr/bin
${CP} ${WRKINST}/usr/bin/ctorrent ${IDIR_CTORRENT}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cups/Makefile b/package/cups/Makefile
index f0d8b88fe..271205091 100644
--- a/package/cups/Makefile
+++ b/package/cups/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= cups
PKG_VERSION:= 1.7.1
@@ -18,8 +18,8 @@ PKG_NOPARALLEL:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-source.tar.bz2
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,CUPS,cups,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,CUPS,cups,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -75,5 +75,5 @@ cups-install:
${INSTALL_DIR} ${IDIR_CUPS}/usr/lib
${CP} ${WRKINST}/usr/lib/libcups*.so* ${IDIR_CUPS}/usr/lib/
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/curl/Makefile b/package/curl/Makefile
index eb1d7bf97..100ececb3 100644
--- a/package/curl/Makefile
+++ b/package/curl/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= curl
PKG_VERSION:= 7.37.0
@@ -35,7 +35,7 @@ PKGCD_WITH_GNUTLS:= use gnutls for crypto
PKGCS_WITH_GNUTLS:= libgnutls ca-certificates libgmp
PKGCB_WITH_GNUTLS:= gnutls
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,CURL,curl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBCURL,libcurl,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBCURL},${PKGSD_LIBCURL},${PKGSC_LIBCURL},${PKG_OPTS}))
@@ -97,4 +97,4 @@ libcurl-install:
${INSTALL_DIR} ${IDIR_LIBCURL}/usr/lib
${CP} ${WRKINST}/usr/lib/libcurl.so* ${IDIR_LIBCURL}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cutter/Makefile b/package/cutter/Makefile
index 86ca92584..35f579b50 100755
--- a/package/cutter/Makefile
+++ b/package/cutter/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= cutter
PKG_VERSION:= 1.03
@@ -14,7 +14,7 @@ PKG_SITES:= http://openadk.org/distfiles/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,CUTTER,cutter,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ do-install:
${INSTALL_DIR} ${IDIR_CUTTER}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/cutter ${IDIR_CUTTER}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cvs/Makefile b/package/cvs/Makefile
index f8929f2d9..f6f747a55 100644
--- a/package/cvs/Makefile
+++ b/package/cvs/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= cvs
PKG_VERSION:= 1.11.23
@@ -14,7 +14,7 @@ PKG_SITES:= http://ftp.gnu.org/non-gnu/cvs/source/stable/${PKG_VERSION}/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,CVS,cvs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ cvs-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/cvs \
$(IDIR_CVS)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cxxtools/Makefile b/package/cxxtools/Makefile
index c27df540b..ca5dd5d2d 100644
--- a/package/cxxtools/Makefile
+++ b/package/cxxtools/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= cxxtools
PKG_VERSION:= 2.2.1
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,CXXTOOLS,cxxtools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -30,4 +30,4 @@ cxxtools-install:
${INSTALL_DIR} ${IDIR_CXXTOOLS}/usr/lib
${CP} ${WRKINST}/usr/lib/libcxxtools.so* ${IDIR_CXXTOOLS}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/cyrus-sasl/Makefile b/package/cyrus-sasl/Makefile
index ad11432c9..5342187e2 100644
--- a/package/cyrus-sasl/Makefile
+++ b/package/cyrus-sasl/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= cyrus-sasl
PKG_VERSION:= 2.1.26
@@ -19,7 +19,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBSASL2,libsasl2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -77,4 +77,4 @@ libsasl2-install:
${CP} ${WRKINST}/usr/lib/sasl2/lib*.so* \
${IDIR_LIBSASL2}/usr/lib/sasl2
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/damageproto/Makefile b/package/damageproto/Makefile
index 17a5f170c..2f80738bc 100644
--- a/package/damageproto/Makefile
+++ b/package/damageproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= damageproto
PKG_VERSION:= 1.2.1
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,DAMAGEPROTO,damageproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/dansguardian/Makefile b/package/dansguardian/Makefile
index 55ee3d634..2c6d83e1d 100644
--- a/package/dansguardian/Makefile
+++ b/package/dansguardian/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= dansguardian
PKG_VERSION:= 2.12.0.3
@@ -17,7 +17,7 @@ PKG_CXX:= DANSGUARDIAN
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DANSGUARDIAN,dansguardian,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -51,4 +51,4 @@ post-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/dansguardian \
${IDIR_DANSGUARDIAN}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/daq/Makefile b/package/daq/Makefile
index 0c055b435..0e6be56d0 100644
--- a/package/daq/Makefile
+++ b/package/daq/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= daq
PKG_VERSION:= 2.0.0
@@ -18,7 +18,7 @@ PKG_NOPARALLEL:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,DAQ,daq,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -32,4 +32,4 @@ daq-install:
$(CP) $(WRKINST)/usr/lib/*.so* \
$(IDIR_DAQ)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/davfs2/Makefile b/package/davfs2/Makefile
index 6a8754b76..d03e1f7cf 100644
--- a/package/davfs2/Makefile
+++ b/package/davfs2/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= davfs2
PKG_VERSION:= 1.4.7
@@ -19,7 +19,7 @@ PKG_BUILDDEP_UCLIBC:= libiconv-tiny
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DAVFS2,davfs2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -36,4 +36,4 @@ davfs2-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/umount.davfs \
${IDIR_DAVFS2}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/db/Makefile b/package/db/Makefile
index 4a3ac57a9..eb41f1543 100644
--- a/package/db/Makefile
+++ b/package/db/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= db
PKG_VERSION:= 5.3.21
@@ -18,7 +18,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
WRKBUILD= ${WRKSRC}/build_unix
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBDB,libdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -42,4 +42,4 @@ libdb-install:
${INSTALL_DIR} ${IDIR_LIBDB}/usr/lib
${CP} ${WRKINST}/usr/lib/libdb*.so* ${IDIR_LIBDB}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/dbus-glib/Makefile b/package/dbus-glib/Makefile
index a8bb27405..f774cb243 100644
--- a/package/dbus-glib/Makefile
+++ b/package/dbus-glib/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= dbus-glib
PKG_VERSION:= 0.100.2
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,DBUS_GLIB,dbus-glib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -29,4 +29,4 @@ dbus-glib-install:
$(CP) $(WRKINST)/usr/lib/libdbus-glib-1.so* \
$(IDIR_DBUS_GLIB)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/dbus-python/Makefile b/package/dbus-python/Makefile
index 4392a990c..c33a8eb8a 100644
--- a/package/dbus-python/Makefile
+++ b/package/dbus-python/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= dbus-python
PKG_VERSION:= 1.2.0
@@ -16,7 +16,7 @@ PKG_SITES:= http://dbus.freedesktop.org/releases/dbus-python/
PKG_CFLINE_DBUS_PYTHON:= depends on ADK_BROKEN
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,DBUS_PYTHON,dbus-python,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -31,4 +31,4 @@ dbus-python-install:
$(CP) $(WRKINST)/usr/lib/python2.7/site-packages/dbus/mainloop/*.py \
$(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/dbus/mainloop
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/dbus/Makefile b/package/dbus/Makefile
index 95aae3eae..642fb5586 100644
--- a/package/dbus/Makefile
+++ b/package/dbus/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= dbus
PKG_VERSION:= 1.8.4
@@ -23,7 +23,7 @@ PKGSD_LIBDBUS:= DBUS library
PKGSC_LIBDBUS:= libs/misc
PKGSS_LIBDBUS:= libexpat libuuid
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DBUS,dbus,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBDBUS,libdbus,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBDBUS},${PKGSD_LIBDBUS},${PKGSC_LIBDBUS},${PKG_OPTS}))
@@ -66,4 +66,4 @@ dbus-install:
$(CP) $(WRKBUILD)/dbus/dbus-arch-deps.h \
$(IDIR_DBUS_DEV)/usr/include/dbus-1.0/dbus
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/deco/Makefile b/package/deco/Makefile
index d6a7760b5..42e7f0193 100644
--- a/package/deco/Makefile
+++ b/package/deco/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= deco
PKG_VERSION:= 39
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=deco/}
DISTFILES:= ${PKG_NAME}${PKG_VERSION}.tgz
WRKDIST= ${WRKDIR}/${PKG_NAME}${PKG_VERSION}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DECO,deco,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ do-install:
${INSTALL_DATA} ${WRKBUILD}/profile ${IDIR_DECO}/usr/lib/deco/profile
${INSTALL_DATA} ${WRKBUILD}/menu ${IDIR_DECO}/usr/lib/deco/menu
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/dhcp-forwarder/Makefile b/package/dhcp-forwarder/Makefile
index e50e8edb7..d2ed7cb95 100644
--- a/package/dhcp-forwarder/Makefile
+++ b/package/dhcp-forwarder/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= dhcp-forwarder
PKG_VERSION:= 0.10
@@ -12,7 +12,7 @@ PKG_SECTION:= net/dns
PKG_URL:= http://www.nongnu.org/dhcp-fwd/
PKG_SITES:= http://savannah.nongnu.org/download/dhcp-fwd/
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DHCP_FORWARDER,dhcp-forwarder,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ post-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/dhcp-fwd \
${IDIR_DHCP_FORWARDER}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/dhcp/Makefile b/package/dhcp/Makefile
index 8b7a32493..70aa1d47d 100644
--- a/package/dhcp/Makefile
+++ b/package/dhcp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= dhcp
PKG_VERSION:= 4.1.1
@@ -17,7 +17,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_SUBPKGS:= DHCP_SERVER DHCP_RELAY
PKGSD_DHCP_RELAY:= dhcp relay server
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DHCP_SERVER,dhcp-server,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,DHCP_RELAY,dhcp-relay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_DHCP_RELAY},${PKG_SECTION}))
@@ -36,4 +36,4 @@ dhcp-server-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/dhcpd \
${IDIR_DHCP_SERVER}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/dialog/Makefile b/package/dialog/Makefile
index c73ee6211..49d8437b6 100644
--- a/package/dialog/Makefile
+++ b/package/dialog/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= dialog
PKG_VERSION:= 1.2-20140219
@@ -16,7 +16,7 @@ PKG_SITES:= ftp://invisible-island.net/dialog/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,DIALOG,dialog,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ dialog-install:
$(INSTALL_DIR) $(IDIR_DIALOG)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/dialog $(IDIR_DIALOG)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/diffutils/Makefile b/package/diffutils/Makefile
index 166d39c39..261198f9d 100644
--- a/package/diffutils/Makefile
+++ b/package/diffutils/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= diffutils
PKG_VERSION:= 2.8.1
@@ -15,7 +15,7 @@ PKG_BB:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DIFFUTILS,diffutils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ diffutils-install:
${INSTALL_DIR} ${IDIR_DIFFUTILS}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/diff ${IDIR_DIFFUTILS}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/digitemp/Makefile b/package/digitemp/Makefile
index f4ac13ae2..ec8dd85bf 100644
--- a/package/digitemp/Makefile
+++ b/package/digitemp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= digitemp
PKG_VERSION:= 3.6.0
@@ -18,7 +18,7 @@ PKG_LIBC_DEPENDS:= uclibc glibc
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DIGITEMP,digitemp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -33,4 +33,4 @@ do-install:
${INSTALL_BIN} ${WRKBUILD}/digitemp_DS2490 \
${IDIR_DIGITEMP}/usr/sbin/digitemp_DS2490
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/dillo/Makefile b/package/dillo/Makefile
index 2c3d9c615..d61c32b4f 100644
--- a/package/dillo/Makefile
+++ b/package/dillo/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= dillo
PKG_VERSION:= 3.0.4
@@ -21,7 +21,7 @@ PKG_BUILDDEP_UCLIBC:= libiconv-tiny
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,DILLO,dillo,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -38,4 +38,4 @@ post-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/dpid* $(IDIR_DILLO)/usr/bin
$(CP) $(WRKINST)/usr/lib/dillo/* $(IDIR_DILLO)/usr/lib/dillo
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/dmidecode/Makefile b/package/dmidecode/Makefile
index 8e142ea1b..aca4e5ee1 100644
--- a/package/dmidecode/Makefile
+++ b/package/dmidecode/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= dmidecode
PKG_VERSION:= 2.11
@@ -14,7 +14,7 @@ PKG_SITES:= http://download.savannah.gnu.org/releases/dmidecode/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,DMIDECODE,dmidecode,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ dmidecode-install:
$(INSTALL_BIN) $(WRKINST)/usr/sbin/dmidecode \
$(IDIR_DMIDECODE)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/dnsmasq/Makefile b/package/dnsmasq/Makefile
index 163537645..695177cc5 100644
--- a/package/dnsmasq/Makefile
+++ b/package/dnsmasq/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= dnsmasq
PKG_VERSION:= 2.71
@@ -17,7 +17,7 @@ PKGFD_PXE:= enable pxe network boot
PKGFS_PXE:= pxelinux
PKGFB_PXE:= syslinux
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DNSMASQ,dnsmasq,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,4 +28,4 @@ dnsmasq-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/dnsmasq ${IDIR_DNSMASQ}/usr/sbin
${INSTALL_DATA} ./files/dnsmasq.conf ${IDIR_DNSMASQ}/etc/dnsmasq.conf
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/dosfstools/Makefile b/package/dosfstools/Makefile
index ab7e698d5..f8711b6b1 100644
--- a/package/dosfstools/Makefile
+++ b/package/dosfstools/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= dosfstools
PKG_VERSION:= 3.0.26
@@ -14,7 +14,7 @@ PKG_SITES:= http://daniel-baumann.ch/files/software/dosfstools/
PKG_BUILDDEP_UCLIBC:= libiconv-tiny
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DOSFSTOOLS,dosfstools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,4 +28,4 @@ dosfstools-install:
${INSTALL_BIN} ${WRKINST}/sbin/mkdosfs ${IDIR_DOSFSTOOLS}/usr/sbin
${CP} ${WRKINST}/sbin/mkfs.{msdos,vfat,fat} ${IDIR_DOSFSTOOLS}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/dovecot/Makefile b/package/dovecot/Makefile
index 4f5daaec5..37c8765b0 100644
--- a/package/dovecot/Makefile
+++ b/package/dovecot/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= dovecot
PKG_VERSION:= 2.2.12
@@ -16,7 +16,7 @@ PKG_SITES:= http://www.dovecot.org/releases/2.2/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DOVECOT,dovecot,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -57,4 +57,4 @@ dovecot-install:
$(INSTALL_BIN) ${WRKINST}/usr/sbin/dovecot* \
${IDIR_DOVECOT}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/drbd/Makefile b/package/drbd/Makefile
index e58a33cc8..299d25b90 100644
--- a/package/drbd/Makefile
+++ b/package/drbd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= drbd
PKG_VERSION:= 8.4.4
@@ -16,7 +16,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_LIBC_DEPENDS:= uclibc glibc
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,DRBD,drbd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -38,4 +38,4 @@ drbd-install:
$(INSTALL_BIN) $(WRKINST)/usr/sbin/drbd* \
$(IDIR_DRBD)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/dri2proto/Makefile b/package/dri2proto/Makefile
index 23532800d..9b7d693bb 100644
--- a/package/dri2proto/Makefile
+++ b/package/dri2proto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= dri2proto
PKG_VERSION:= 2.8
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,DRI2PROTO,dri2proto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/dri3proto/Makefile b/package/dri3proto/Makefile
index 957f790f9..bf34a0052 100644
--- a/package/dri3proto/Makefile
+++ b/package/dri3proto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= dri3proto
PKG_VERSION:= 1.0
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,DRI3PROTO,dri3proto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile
index 2de8b0b98..3893eb8c7 100644
--- a/package/dropbear/Makefile
+++ b/package/dropbear/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= dropbear
PKG_VERSION:= 2014.63
@@ -20,7 +20,7 @@ PKGSD_DBCONVERT:= Utility for converting SSH private keys
PKG_FLAVOURS_DROPBEAR:= WITH_UTMP
PKGFD_WITH_UTMP:= support writing /var/run/utmp
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,DROPBEAR,dropbear,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,DBCONVERT,dropbearconvert,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_DBCONVERT},${PKG_SECTION}))
@@ -76,4 +76,4 @@ do-install:
>$(IDIR_DROPBEAR)/etc/dropbear/authorized_keys; \
)
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/dsniff/Makefile b/package/dsniff/Makefile
index 05ae2e680..e9c57a6dd 100644
--- a/package/dsniff/Makefile
+++ b/package/dsniff/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= dsniff
PKG_VERSION:= 2.4b1
@@ -22,7 +22,7 @@ PKG_LIBC_DEPENDS:= uclibc glibc
WRKDIST= ${WRKDIR}/${PKG_NAME}-2.4
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DSNIFF,dsniff,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -40,4 +40,4 @@ dsniff-install:
${CP} ${WRKINST}/usr/sbin/* ${IDIR_DSNIFF}/usr/sbin
${CP} ${WRKINST}/usr/lib/* ${IDIR_DSNIFF}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/e2fsprogs/Makefile b/package/e2fsprogs/Makefile
index 6ee2c5c53..737573732 100644
--- a/package/e2fsprogs/Makefile
+++ b/package/e2fsprogs/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= e2fsprogs
PKG_VERSION:= 1.42.10
@@ -39,7 +39,7 @@ PKGSD_MKE2FS:= ext2/3/4 filesystem creation utility
PKGSC_MKE2FS:= sys/fs
PKGSS_MKE2FS:= libe2fs libcom-err libblkid libuuid libncurses
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBE2FS,libe2fs,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBE2FS},${PKGSC_LIBE2FS}))
$(eval $(call PKG_template,LIBCOM_ERR,libcom-err,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBCOM_ERR},${PKGSC_LIBCOM_ERR}))
@@ -98,4 +98,4 @@ libss-install:
${CP} ${WRKINST}/usr/lib/libss.so* \
${IDIR_LIBSS}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/easy-rsa/Makefile b/package/easy-rsa/Makefile
index 5d17fa0d3..2286e4db8 100644
--- a/package/easy-rsa/Makefile
+++ b/package/easy-rsa/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= easy-rsa
PKG_VERSION:= 2.0.2
@@ -15,7 +15,7 @@ PKG_SITES:= http://openadk.org/distfiles/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,EASY_RSA,easy-rsa,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -35,4 +35,4 @@ easy-rsa-install:
${INSTALL_DATA} $(WRKBUILD)/easy-rsa/2.0/vars \
$(IDIR_EASY_RSA)/etc/easy-rsa/vars
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ebtables/Makefile b/package/ebtables/Makefile
index 2c4ddd774..de0ab612f 100644
--- a/package/ebtables/Makefile
+++ b/package/ebtables/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ebtables
PKG_VERSION:= 2.0.10
@@ -15,7 +15,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ebtables/}
DISTFILES:= ${PKG_NAME}-v${PKG_VERSION}-4.tar.gz
WRKDIST= ${WRKDIR}/${PKG_NAME}-v${PKG_VERSION}-4
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,EBTABLES,ebtables,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,4 +28,4 @@ ebtables-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/ebtables ${IDIR_EBTABLES}/usr/sbin
${CP} ${WRKINST}/usr/lib/*.so ${IDIR_EBTABLES}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ecj/Makefile b/package/ecj/Makefile
index 5f0ad156c..a7b21b411 100644
--- a/package/ecj/Makefile
+++ b/package/ecj/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= ecj
PKG_VERSION:= 4.9
@@ -14,8 +14,8 @@ PKG_SITES:= ftp://sourceware.org/pub/java/
PKG_CFLINE_ECJ:= depends on ADK_HOST_ONLY
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.jar
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,ECJ,ecj,$(PKG_VERSION)-${PKG_RELEASE}))
@@ -39,5 +39,5 @@ ecj-hostinstall:
${STAGING_HOST_DIR}/usr/bin/gij
chmod u+x ${STAGING_HOST_DIR}/usr/bin/gij
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ed/Makefile b/package/ed/Makefile
index 66237517e..eafef5dc5 100644
--- a/package/ed/Makefile
+++ b/package/ed/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= ed
PKG_VERSION:= 1.5
@@ -15,7 +15,7 @@ PKG_BB:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,ED,ed,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ ed-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/ed \
$(IDIR_ED)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/elinks/Makefile b/package/elinks/Makefile
index 55f326e89..efaa6f492 100644
--- a/package/elinks/Makefile
+++ b/package/elinks/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= elinks
PKG_VERSION:= 0.11.7
@@ -20,7 +20,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_FLAVOURS_ELINKS:= WITH_IPV6
PKGFD_WITH_IPV6:= enable IPv6 support
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ELINKS,elinks,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -61,4 +61,4 @@ do-install:
${INSTALL_DIR} ${IDIR_ELINKS}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/src/elinks ${IDIR_ELINKS}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/esmtp/Makefile b/package/esmtp/Makefile
index 371edd362..f5f2d1a2e 100644
--- a/package/esmtp/Makefile
+++ b/package/esmtp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= esmtp
PKG_VERSION:= 1.2
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=esmtp/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,ESMTP,esmtp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ esmtp-install:
$(CP) $(WRKINST)/usr/bin/{mailq,newaliases} $(IDIR_ESMTP)/usr/bin/
$(CP) $(WRKINST)/usr/sbin/sendmail $(IDIR_ESMTP)/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/esound/Makefile b/package/esound/Makefile
index 2fe2caf78..b5303f30f 100644
--- a/package/esound/Makefile
+++ b/package/esound/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= esound
PKG_VERSION:= 0.2.41
@@ -22,7 +22,7 @@ PKG_SUBPKGS:= ESOUND LIBESD
PKGSC_LIBESD:= libs/audio
PKGSD_LIBESD:= esound library
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ESOUND,esound,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBESD,libesd,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBESD},${PKGSC_LIBESD},${PKG_OPTS}))
@@ -40,4 +40,4 @@ libesd-install:
${INSTALL_DIR} ${IDIR_LIBESD}/usr/lib
$(CP) $(WRKINST)/usr/lib/libesd.so* $(IDIR_LIBESD)/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ether-wake/Makefile b/package/ether-wake/Makefile
index 637009ab6..e9b146554 100644
--- a/package/ether-wake/Makefile
+++ b/package/ether-wake/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ether-wake
PKG_VERSION:= 1.09
@@ -13,7 +13,7 @@ PKG_BB:= 1
PKG_LIBC_DEPENDS:= uclibc glibc
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ETHER_WAKE,ether-wake,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ do-install:
${INSTALL_DIR} ${IDIR_ETHER_WAKE}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/ether-wake ${IDIR_ETHER_WAKE}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ethtool/Makefile b/package/ethtool/Makefile
index 7916d43a5..c3969feec 100644
--- a/package/ethtool/Makefile
+++ b/package/ethtool/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ethtool
PKG_VERSION:= 3.13
@@ -11,7 +11,7 @@ PKG_DESCR:= display or change ethernet card settings
PKG_SECTION:= net/misc
PKG_SITES:= https://www.kernel.org/pub/software/network/ethtool/
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ETHTOOL,ethtool,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -19,4 +19,4 @@ ethtool-install:
${INSTALL_DIR} ${IDIR_ETHTOOL}/usr/sbin
${CP} ${WRKINST}/usr/sbin/ethtool ${IDIR_ETHTOOL}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/eudev/Makefile b/package/eudev/Makefile
index d569702a9..14c99e066 100644
--- a/package/eudev/Makefile
+++ b/package/eudev/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= eudev
PKG_VERSION:= 1.5.3
@@ -23,7 +23,7 @@ PKGSD_UDEV:= dynamic device management manager
PKGSC_LIBUDEV:= libs/misc
PKGSD_LIBUDEV:= dynamic device management library
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,UDEV,udev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,LIBUDEV,libudev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -43,4 +43,4 @@ libudev-install:
${INSTALL_DIR} ${IDIR_LIBUDEV}/usr/lib
$(CP) $(WRKINST)/usr/lib/libudev.so* $(IDIR_LIBUDEV)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/eventlog/Makefile b/package/eventlog/Makefile
index 99c46c3c3..1ce496ada 100644
--- a/package/eventlog/Makefile
+++ b/package/eventlog/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= eventlog
PKG_VERSION:= 0.2.12
@@ -15,7 +15,7 @@ PKG_SITES:= http://www.balabit.com/downloads/files/syslog-ng/open-source-editio
DISTFILES:= ${PKG_NAME}_${PKG_VERSION}+20120504+1700.tar.gz
WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}+20120504+1700
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,EVENTLOG,eventlog,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ eventlog-install:
$(CP) $(WRKINST)/usr/lib/libevtlog*.so* \
$(IDIR_EVENTLOG)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/evieext/Makefile b/package/evieext/Makefile
index cdfac649e..8b81af126 100644
--- a/package/evieext/Makefile
+++ b/package/evieext/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= evieext
PKG_VERSION:= 1.1.0
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,EVIEEXT,evieext,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/evilwm/Makefile b/package/evilwm/Makefile
index 0a221d95c..438a74217 100644
--- a/package/evilwm/Makefile
+++ b/package/evilwm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= evilwm
PKG_VERSION:= 1.1.0
@@ -16,7 +16,7 @@ PKG_SITES:= http://www.6809.org.uk/evilwm/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,EVILWM,evilwm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,4 +28,4 @@ evilwm-install:
$(INSTALL_DIR) $(IDIR_EVILWM)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/evilwm $(IDIR_EVILWM)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/exmap/Makefile b/package/exmap/Makefile
index 8c8466ba5..e9509c124 100644
--- a/package/exmap/Makefile
+++ b/package/exmap/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= exmap
PKG_VERSION:= 0.4.1
@@ -19,8 +19,8 @@ PKG_CFLINE_EXMAP:= depends on !ADK_TOOLCHAIN_ONLY
DISTFILES:= ${PKG_NAME}-console-${PKG_VERSION}.tgz
WRKDIST= ${WRKDIR}/${PKG_NAME}-console-${PKG_VERSION}
-include ${TOPDIR}/mk/package.mk
-include ${TOPDIR}/mk/kernel-ver.mk
+include ${ADK_TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/kernel-ver.mk
$(eval $(call PKG_template,EXMAP,exmap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -40,4 +40,4 @@ exmap-install:
${INSTALL_DIR} ${IDIR_EXMAP}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/src/exmap* ${IDIR_EXMAP}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/expat/Makefile b/package/expat/Makefile
index ea35ceede..5983c1b1c 100644
--- a/package/expat/Makefile
+++ b/package/expat/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= expat
PKG_VERSION:= 2.0.1
@@ -16,8 +16,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,LIBEXPAT,libexpat,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBEXPAT,libexpat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,5 +26,5 @@ libexpat-install:
${INSTALL_DIR} ${IDIR_LIBEXPAT}/usr/lib
${CP} ${WRKINST}/usr/lib/libexpat.so* ${IDIR_LIBEXPAT}/usr/lib/
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ez-ipupdate/Makefile b/package/ez-ipupdate/Makefile
index 8c9af890b..d6254c47d 100644
--- a/package/ez-ipupdate/Makefile
+++ b/package/ez-ipupdate/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ez-ipupdate
PKG_VERSION:= 3.0.11b8
@@ -14,7 +14,7 @@ PKG_SITES:= http://ftp.debian.org/debian/pool/main/e/ez-ipupdate/
DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.orig.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,EZ_IPUPDATE,ez-ipupdate,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ do-install:
install -m0600 ./files/ez-ipupdate.conf ${IDIR_EZ_IPUPDATE}/etc/
${INSTALL_BIN} ${WRKBUILD}/ez-ipupdate ${IDIR_EZ_IPUPDATE}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/faac/Makefile b/package/faac/Makefile
index a64dd2997..31dc7b9eb 100644
--- a/package/faac/Makefile
+++ b/package/faac/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= faac
PKG_VERSION:= 1.28
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBFAAC,libfaac,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -27,4 +27,4 @@ libfaac-install:
$(CP) $(WRKINST)/usr/lib/libfaac*.so* \
$(IDIR_LIBFAAC)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/faad2/Makefile b/package/faad2/Makefile
index f2f8397be..45b8092a0 100644
--- a/package/faad2/Makefile
+++ b/package/faad2/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= faad2
PKG_VERSION:= 2.7
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBFAAD2,libfaad2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -31,4 +31,4 @@ libfaad2-install:
${INSTALL_DIR} ${IDIR_LIBFAAD2}/usr/lib
${CP} ${WRKINST}/usr/lib/libfaad.so* ${IDIR_LIBFAAD2}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fakeidentd/Makefile b/package/fakeidentd/Makefile
index 78ba5cd33..f303657b0 100644
--- a/package/fakeidentd/Makefile
+++ b/package/fakeidentd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= fakeidentd
PKG_VERSION:= 2.5
@@ -14,7 +14,7 @@ PKG_SITES:= http://distfiles.gentoo.org/distfiles/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
WRKDIST= ${WRKDIR}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FAKEIDENTD,fakeidentd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ do-install:
${INSTALL_DIR} ${IDIR_FAKEIDENTD}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/fakeidentd ${IDIR_FAKEIDENTD}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fastjar/Makefile b/package/fastjar/Makefile
index 7dd822fba..ac8d3a8d2 100644
--- a/package/fastjar/Makefile
+++ b/package/fastjar/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= fastjar
PKG_VERSION:= 0.94
@@ -15,10 +15,10 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_CFLINE_FASTJAR:= depends on ADK_HOST_ONLY
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,FASTJAR,fastjar,$(PKG_VERSION)-${PKG_RELEASE}))
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fbset/Makefile b/package/fbset/Makefile
index 44bf864ac..ecbae0c4c 100644
--- a/package/fbset/Makefile
+++ b/package/fbset/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= fbset
PKG_VERSION:= 2.1
@@ -17,7 +17,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_LIBC_DEPENDS:= uclibc glibc
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FBSET,fbset,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -45,4 +45,4 @@ do-install:
${CP} ${WRKBUILD}/fbset ${IDIR_FBSET}/usr/bin
${CP} ./files/fb.modes ${IDIR_FBSET}/etc
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fbsplash/Makefile b/package/fbsplash/Makefile
index b40dacdce..cb377ef97 100644
--- a/package/fbsplash/Makefile
+++ b/package/fbsplash/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= fbsplash
PKG_VERSION:= 1.0
@@ -16,7 +16,7 @@ PKG_SITES:= http://openadk.org/distfiles/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FBSPLASH,fbsplash,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ fbsplash-install:
$(INSTALL_BIN) $(WRKINST)/sbin/{fbcondecor_helper,fbsplashctl} \
$(IDIR_FBSPLASH)/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/feh/Makefile b/package/feh/Makefile
index 7b436064b..e43129224 100644
--- a/package/feh/Makefile
+++ b/package/feh/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= feh
PKG_VERSION:= 2.10
@@ -15,7 +15,7 @@ PKG_SITES:= http://feh.finalrewind.org/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FEH,feh,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ feh-install:
$(INSTALL_DIR) $(IDIR_FEH)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/feh $(IDIR_FEH)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fetchmail/Makefile b/package/fetchmail/Makefile
index fcfd6e892..6388a3d43 100644
--- a/package/fetchmail/Makefile
+++ b/package/fetchmail/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= fetchmail
PKG_VERSION:= 6.3.26
@@ -17,7 +17,7 @@ PKGFD_WITH_SSL:= enable SSL support
PKGFS_WITH_SSL:= libopenssl
PKGFB_WITH_SSL:= openssl
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FETCHMAIL,fetchmail,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -34,4 +34,4 @@ fetchmail-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/fetchmail \
${IDIR_FETCHMAIL}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ffmpeg/Makefile b/package/ffmpeg/Makefile
index 2bd7ef59b..bb97d1cb7 100644
--- a/package/ffmpeg/Makefile
+++ b/package/ffmpeg/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ffmpeg
PKG_VERSION:= 2.2.3
@@ -86,7 +86,7 @@ endif
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBFFMPEG,libffmpeg,${PKG_VERSION}-${PKG_RELEASE},${PKG_FDEPENDS},${PKGSD_LIBFFMPEG},${PKGSC_LIBFFMPEG},${PKG_OPTS}))
$(eval $(call PKG_template,FFMPEG,ffmpeg,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_FFMPEG},${PKGSC_FFMPEG}))
@@ -194,4 +194,4 @@ ffprobe-install:
${INSTALL_DIR} ${IDIR_FFPROBE}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/ffprobe ${IDIR_FFPROBE}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/file/Makefile b/package/file/Makefile
index 4f07191fd..b981db550 100644
--- a/package/file/Makefile
+++ b/package/file/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= file
PKG_VERSION:= 5.19
@@ -25,8 +25,8 @@ PKGSC_LIBMAGIC:= libs/misc
PKGSD_MAGIC:= magic file
PKGSC_MAGIC:= sys/misc
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,FILE,file,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,FILE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -54,5 +54,5 @@ libmagic-install:
${INSTALL_DIR} ${IDIR_LIBMAGIC}/usr/lib
${CP} ${WRKINST}/usr/lib/libmagic.so* ${IDIR_LIBMAGIC}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/findutils/Makefile b/package/findutils/Makefile
index ba278ed0a..9978a9080 100644
--- a/package/findutils/Makefile
+++ b/package/findutils/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= findutils
PKG_VERSION:= 4.4.2
@@ -24,8 +24,8 @@ PKGSN_XARGS:= findutils
PKGSD_FIND:= find utility
PKGSN_FIND:= findutils
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,FINDUTILS,findutils,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,FIND,find,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_FIND},${PKG_SECTION}))
@@ -52,5 +52,5 @@ locate-install:
$(INSTALL_BIN) $(WRKINST)/usr/libexec/{bigram,code,frcode} \
$(IDIR_LOCATE)/usr/libexec
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/firefox/Makefile b/package/firefox/Makefile
index d4d46ed46..c7fd739e1 100644
--- a/package/firefox/Makefile
+++ b/package/firefox/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= firefox
PKG_VERSION:= 26.0
@@ -28,8 +28,8 @@ PKG_SYSTEM_DEPENDS:= tarox-pc ibm-x40 lemote-yeelong qemu-i686 qemu-x86_64 qemu-
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.source.tar.bz2
WRKDIST= ${WRKDIR}/mozilla-release
-include $(TOPDIR)/mk/package.mk
-include $(TOPDIR)/mk/python.mk
+include $(ADK_TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/python.mk
$(eval $(call PKG_template,FIREFOX,firefox,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -122,4 +122,4 @@ firefox-install:
$(CP) ./files/firefox \
$(IDIR_FIREFOX)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fixesproto/Makefile b/package/fixesproto/Makefile
index cbc568c90..af517155d 100644
--- a/package/fixesproto/Makefile
+++ b/package/fixesproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= fixesproto
PKG_VERSION:= 5.0
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FIXESPROTO,fixesproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/flac/Makefile b/package/flac/Makefile
index cac21d706..b09b2656c 100644
--- a/package/flac/Makefile
+++ b/package/flac/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= flac
PKG_VERSION:= 1.3.0
@@ -14,7 +14,7 @@ PKG_SITES:= http://downloads.xiph.org/releases/flac/
PKG_LIBNAME:= libflac
PKG_OPTS:= dev
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBFLAC,libflac,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -27,4 +27,4 @@ libflac-install:
${INSTALL_DIR} ${IDIR_LIBFLAC}/usr/lib
${CP} ${WRKINST}/usr/lib/libFLAC.so* ${IDIR_LIBFLAC}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/flex/Makefile b/package/flex/Makefile
index 4fa6e5c95..5a61cfc21 100644
--- a/package/flex/Makefile
+++ b/package/flex/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= flex
PKG_VERSION:= 2.5.35
@@ -16,8 +16,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,FLEX,flex,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,FLEX,flex,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -30,5 +30,5 @@ flex-install:
${CP} ${WRKINST}/usr/lib/libfl.a \
${IDIR_FLEX_DEV}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fltk/Makefile b/package/fltk/Makefile
index 36866aa86..2e380498f 100644
--- a/package/fltk/Makefile
+++ b/package/fltk/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= fltk
PKG_VERSION:= 1.3.2
@@ -20,7 +20,7 @@ PKG_ARCH_DEPENDS:= x86 x86_64 mips arm
DISTFILES:= ${PKG_NAME}-$(PKG_VERSION)-source.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBFLTK,libfltk,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -30,4 +30,4 @@ libfltk-install:
$(INSTALL_DIR) $(IDIR_LIBFLTK)/usr/lib
$(CP) ${WRKINST}/usr/lib/libfltk*.so* $(IDIR_LIBFLTK)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fluxbox/Makefile b/package/fluxbox/Makefile
index 887bc6792..f95b54bde 100644
--- a/package/fluxbox/Makefile
+++ b/package/fluxbox/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= fluxbox
PKG_VERSION:= 1.3.2
@@ -21,7 +21,7 @@ PKGFD_WITH_IMLIB2:= enable imlib2 support
PKGFS_WITH_IMLIB2:= imlib2
PKGFB_WITH_IMLIB2:= imlib2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FLUXBOX,fluxbox,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -37,4 +37,4 @@ fluxbox-install:
$(IDIR_FLUXBOX)/usr/bin
${CP} ${WRKINST}/usr/share/fluxbox ${IDIR_FLUXBOX}/usr/share/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/font-adobe-100dpi/Makefile b/package/font-adobe-100dpi/Makefile
index 8bb8f63e7..3ea5666e0 100644
--- a/package/font-adobe-100dpi/Makefile
+++ b/package/font-adobe-100dpi/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= font-adobe-100dpi
PKG_VERSION:= 1.0.3
@@ -18,7 +18,7 @@ PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FONT_ADOBE_100DPI,font-adobe-100dpi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ font-adobe-100dpi-install:
$(CP) ${WRKINST}/usr/share/fonts/X11/100dpi/* \
$(IDIR_FONT_ADOBE_100DPI)/usr/share/fonts/X11/100dpi
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/font-adobe-75dpi/Makefile b/package/font-adobe-75dpi/Makefile
index 6bd556cfd..08e60fb01 100644
--- a/package/font-adobe-75dpi/Makefile
+++ b/package/font-adobe-75dpi/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= font-adobe-75dpi
PKG_VERSION:= 1.0.3
@@ -18,7 +18,7 @@ PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FONT_ADOBE_75DPI,font-adobe-75dpi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ font-adobe-75dpi-install:
$(CP) ${WRKINST}/usr/share/fonts/X11/75dpi/* \
$(IDIR_FONT_ADOBE_75DPI)/usr/share/fonts/X11/75dpi
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/font-bh-100dpi/Makefile b/package/font-bh-100dpi/Makefile
index f0006aa22..45dcb8f45 100644
--- a/package/font-bh-100dpi/Makefile
+++ b/package/font-bh-100dpi/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= font-bh-100dpi
PKG_VERSION:= 1.0.3
@@ -17,7 +17,7 @@ PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FONT_BH_100DPI,font-bh-100dpi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ font-bh-100dpi-install:
$(CP) ${WRKINST}/usr/share/fonts/X11/100dpi/* \
$(IDIR_FONT_BH_100DPI)/usr/share/fonts/X11/100dpi
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/font-bh-75dpi/Makefile b/package/font-bh-75dpi/Makefile
index 569e0647c..274b1777c 100644
--- a/package/font-bh-75dpi/Makefile
+++ b/package/font-bh-75dpi/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= font-bh-75dpi
PKG_VERSION:= 1.0.3
@@ -17,7 +17,7 @@ PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FONT_BH_75DPI,font-bh-75dpi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ font-bh-75dpi-install:
$(CP) ${WRKINST}/usr/share/fonts/X11/75dpi/* \
$(IDIR_FONT_BH_75DPI)/usr/share/fonts/X11/75dpi
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/font-bh-lucidatypewriter-100dpi/Makefile b/package/font-bh-lucidatypewriter-100dpi/Makefile
index 2e342c0de..020db9ebc 100644
--- a/package/font-bh-lucidatypewriter-100dpi/Makefile
+++ b/package/font-bh-lucidatypewriter-100dpi/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= font-bh-lucidatypewriter-100dpi
PKG_VERSION:= 1.0.3
@@ -17,7 +17,7 @@ PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FONT_BH_LUCIDATYPEWRITER_100DPI,font-bh-lucidatypewriter-100dpi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ font-bh-lucidatypewriter-100dpi-install:
$(CP) ${WRKINST}/usr/share/fonts/X11/100dpi/* \
$(IDIR_FONT_BH_LUCIDATYPEWRITER_100DPI)/usr/share/fonts/X11/100dpi
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/font-bh-lucidatypewriter-75dpi/Makefile b/package/font-bh-lucidatypewriter-75dpi/Makefile
index c9e81a857..275abbfad 100644
--- a/package/font-bh-lucidatypewriter-75dpi/Makefile
+++ b/package/font-bh-lucidatypewriter-75dpi/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= font-bh-lucidatypewriter-75dpi
PKG_VERSION:= 1.0.3
@@ -17,7 +17,7 @@ PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FONT_BH_LUCIDATYPEWRITER_75DPI,font-bh-lucidatypewriter-75dpi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ font-bh-lucidatypewriter-75dpi-install:
$(CP) ${WRKINST}/usr/share/fonts/X11/75dpi/* \
$(IDIR_FONT_BH_LUCIDATYPEWRITER_75DPI)/usr/share/fonts/X11/75dpi
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/font-bh-ttf/Makefile b/package/font-bh-ttf/Makefile
index 850abe9f3..f3d8e52c5 100644
--- a/package/font-bh-ttf/Makefile
+++ b/package/font-bh-ttf/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= font-bh-ttf
PKG_VERSION:= 1.0.3
@@ -17,7 +17,7 @@ PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FONT_BH_TTF,font-bh-ttf,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ font-bh-ttf-install:
$(CP) ${WRKINST}/usr/share/fonts/X11/TTF/* \
$(IDIR_FONT_BH_TTF)/usr/share/fonts/X11/TTF
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/font-bh-type1/Makefile b/package/font-bh-type1/Makefile
index 47272546c..cc2d0628c 100644
--- a/package/font-bh-type1/Makefile
+++ b/package/font-bh-type1/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= font-bh-type1
PKG_VERSION:= 1.0.1
@@ -17,7 +17,7 @@ PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FONT_BH_TYPE1,font-bh-type1,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ font-bh-type1-install:
$(CP) ${WRKINST}/usr/share/fonts/X11/Type1/* \
$(IDIR_FONT_BH_TYPE1)/usr/share/fonts/X11/Type1
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/font-bitstream-100dpi/Makefile b/package/font-bitstream-100dpi/Makefile
index 195904f78..016813adc 100644
--- a/package/font-bitstream-100dpi/Makefile
+++ b/package/font-bitstream-100dpi/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= font-bitstream-100dpi
PKG_VERSION:= 1.0.3
@@ -17,7 +17,7 @@ PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FONT_BITSTREAM_100DPI,font-bitstream-100dpi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ font-bitstream-100dpi-install:
$(CP) ${WRKINST}/usr/share/fonts/X11/100dpi/* \
$(IDIR_FONT_BITSTREAM_100DPI)/usr/share/fonts/X11/100dpi
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/font-bitstream-75dpi/Makefile b/package/font-bitstream-75dpi/Makefile
index 75fdb2a31..bf68d85e2 100644
--- a/package/font-bitstream-75dpi/Makefile
+++ b/package/font-bitstream-75dpi/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= font-bitstream-75dpi
PKG_VERSION:= 1.0.3
@@ -17,7 +17,7 @@ PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FONT_BITSTREAM_75DPI,font-bitstream-75dpi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ font-bitstream-75dpi-install:
$(CP) ${WRKINST}/usr/share/fonts/X11/75dpi/* \
$(IDIR_FONT_BITSTREAM_75DPI)/usr/share/fonts/X11/75dpi
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/font-bitstream-type1/Makefile b/package/font-bitstream-type1/Makefile
index 26141b796..b34797164 100644
--- a/package/font-bitstream-type1/Makefile
+++ b/package/font-bitstream-type1/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= font-bitstream-type1
PKG_VERSION:= 1.0.3
@@ -17,7 +17,7 @@ PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FONT_BITSTREAM_TYPE1,font-bitstream-type1,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ font-bitstream-type1-install:
$(CP) ${WRKINST}/usr/share/fonts/X11/Type1/* \
$(IDIR_FONT_BITSTREAM_TYPE1)/usr/share/fonts/X11/Type1
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/font-misc-misc/Makefile b/package/font-misc-misc/Makefile
index 245405770..44e602e23 100644
--- a/package/font-misc-misc/Makefile
+++ b/package/font-misc-misc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= font-misc-misc
PKG_VERSION:= 1.1.2
@@ -17,7 +17,7 @@ PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FONT_MISC_MISC,font-misc-misc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,4 +28,4 @@ font-misc-misc-install:
$(CP) ${WRKINST}/usr/share/fonts/X11/misc/* \
$(IDIR_FONT_MISC_MISC)/usr/share/fonts/X11/misc
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/font-util/Makefile b/package/font-util/Makefile
index d0dad32fb..c140901c5 100644
--- a/package/font-util/Makefile
+++ b/package/font-util/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= font-util
PKG_VERSION:= 1.1.1
@@ -14,7 +14,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FONT_UTIL,font-util,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -38,4 +38,4 @@ font-util-install:
${CP} ${WRKINST}/usr/share/fonts/X11/util/* \
${IDIR_FONT_UTIL}/usr/share/fonts/X11/util
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/font-xfree86-type1/Makefile b/package/font-xfree86-type1/Makefile
index 34a7456ca..a9eb1fd67 100644
--- a/package/font-xfree86-type1/Makefile
+++ b/package/font-xfree86-type1/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= font-xfree86-type1
PKG_VERSION:= 1.0.4
@@ -17,7 +17,7 @@ PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FONT_XFREE86_TYPE1,font-xfree86-type1,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ font-xfree86-type1-install:
$(CP) ${WRKINST}/usr/share/fonts/X11/Type1/* \
$(IDIR_FONT_XFREE86_TYPE1)/usr/share/fonts/X11/Type1
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fontcacheproto/Makefile b/package/fontcacheproto/Makefile
index 37a4b8ea3..aa236367c 100644
--- a/package/fontcacheproto/Makefile
+++ b/package/fontcacheproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= fontcacheproto
PKG_VERSION:= 0.1.2
@@ -13,8 +13,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FONTCACHEPROTO,fontcacheproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fontconfig/Makefile b/package/fontconfig/Makefile
index 077749024..cc0f9e15a 100644
--- a/package/fontconfig/Makefile
+++ b/package/fontconfig/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= fontconfig
PKG_VERSION:= 2.11.0
@@ -19,8 +19,8 @@ PKG_OPTS:= dev
PKG_BUILDDEP_UCLIBC:= libiconv-tiny
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,FONTCONFIG,fontconfig,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,FONTCONFIG,fontconfig,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -35,5 +35,5 @@ fontconfig-install:
${CP} ${WRKINST}/usr/lib/libfontconfig.so* ${IDIR_FONTCONFIG}/usr/lib
$(CP) ${WRKINST}/etc/fonts/* ${IDIR_FONTCONFIG}/etc/fonts
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fontsproto/Makefile b/package/fontsproto/Makefile
index ca4f2eba8..643c354cd 100644
--- a/package/fontsproto/Makefile
+++ b/package/fontsproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= fontsproto
PKG_VERSION:= 2.1.2
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FONTSPROTO,fontsproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/forked-daapd/Makefile b/package/forked-daapd/Makefile
index 330500d9b..91f6992d0 100644
--- a/package/forked-daapd/Makefile
+++ b/package/forked-daapd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= forked-daapd
PKG_VERSION:= 0.19
@@ -22,7 +22,7 @@ PKG_ARCH_DEPENDS:= !ppc
# gperf problem
PKG_HOST_DEPENDS:= !freebsd
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FORKED_DAAPD,forked-daapd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -39,4 +39,4 @@ forked-daapd-install:
$(INSTALL_BIN) $(WRKINST)/usr/sbin/forked-daapd \
$(IDIR_FORKED_DAAPD)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fping/Makefile b/package/fping/Makefile
index d56d2f973..259afee08 100644
--- a/package/fping/Makefile
+++ b/package/fping/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= fping
PKG_VERSION:= 3.10
@@ -14,7 +14,7 @@ PKG_SITES:= http://fping.org/dist/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FPING,fping,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -22,4 +22,4 @@ fping-install:
${INSTALL_DIR} ${IDIR_FPING}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/fping ${IDIR_FPING}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fprobe-ulog/Makefile b/package/fprobe-ulog/Makefile
index 109d4c65d..aec243b47 100644
--- a/package/fprobe-ulog/Makefile
+++ b/package/fprobe-ulog/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= fprobe-ulog
PKG_VERSION:= 1.1
@@ -14,7 +14,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=fprobe/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FPROBE_ULOG,fprobe-ulog,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ fprobe-ulog-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/fprobe-ulog \
${IDIR_FPROBE_ULOG}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fprobe/Makefile b/package/fprobe/Makefile
index f11ceff83..8ba9162fc 100644
--- a/package/fprobe/Makefile
+++ b/package/fprobe/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= fprobe
PKG_VERSION:= 1.1
@@ -15,7 +15,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=fprobe/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FPROBE,fprobe,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ fprobe-install:
${INSTALL_DIR} ${IDIR_FPROBE}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/fprobe ${IDIR_FPROBE}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/freeglut/Makefile b/package/freeglut/Makefile
index 2c58f1564..34052395d 100644
--- a/package/freeglut/Makefile
+++ b/package/freeglut/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= freeglut
PKG_VERSION:= 2.8.1
@@ -20,7 +20,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_HOST_DEPENDS:= !cygwin
PKG_ARCH_DEPENDS:= x86 x86_64 mips mipsel mips64 mips64el
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FREEGLUT,freeglut,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -28,4 +28,4 @@ freeglut-install:
$(INSTALL_DIR) $(IDIR_FREEGLUT)/usr/lib
$(CP) ${WRKINST}/usr/lib/libglut.so* $(IDIR_FREEGLUT)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/freeradius-client/Makefile b/package/freeradius-client/Makefile
index 92805fd98..4243ea766 100644
--- a/package/freeradius-client/Makefile
+++ b/package/freeradius-client/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= freeradius-client
PKG_VERSION:= 1.1.6
@@ -19,7 +19,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_SUBPKGS:= FREERADIUS_CLIENT LIBFREERADIUS_CLIENT
PKGSC_LIBFREERADIUS_CLIENT:= libs/net
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FREERADIUS_CLIENT,freeradius-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBFREERADIUS_CLIENT,libfreeradius-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_LIBFREERADIUS_CLIENT}))
@@ -39,4 +39,4 @@ libfreeradius-client-install:
${CP} ${WRKINST}/usr/lib/libfreeradius-client.so* \
${IDIR_LIBFREERADIUS_CLIENT}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/freeradius-server/Makefile b/package/freeradius-server/Makefile
index 92b93c128..9b008c307 100644
--- a/package/freeradius-server/Makefile
+++ b/package/freeradius-server/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= freeradius-server
PKG_VERSION:= 3.0.2
@@ -85,7 +85,7 @@ else
PKG_CONFIGURE_OPTS+= --without-rlm_sql_postgresql
endif
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
define PKG_mod_template
@@ -216,4 +216,4 @@ post-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m}
${INSTALL_BIN} ${WRKINST}/usr/bin/radclient \
${IDIR_FREERADIUS_UTILS}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/freetype/Makefile b/package/freetype/Makefile
index 2c6886df6..6df76d709 100644
--- a/package/freetype/Makefile
+++ b/package/freetype/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= freetype
PKG_VERSION:= 2.5.3
@@ -18,8 +18,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,LIBFREETYPE,libfreetype,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBFREETYPE,libfreetype,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -37,5 +37,5 @@ libfreetype-install:
${INSTALL_DIR} ${IDIR_LIBFREETYPE}/usr/lib
${CP} ${WRKINST}/usr/lib/libfreetype.so* ${IDIR_LIBFREETYPE}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fribidi/Makefile b/package/fribidi/Makefile
index 23371b083..f27f0f613 100644
--- a/package/fribidi/Makefile
+++ b/package/fribidi/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= fribidi
PKG_VERSION:= 0.19.6
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FRIBIDI,fribidi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ fribidi-install:
$(CP) $(WRKINST)/usr/lib/libfribidi*.so* \
$(IDIR_FRIBIDI)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/frickin/Makefile b/package/frickin/Makefile
index 4c00e1dda..3131ffeae 100644
--- a/package/frickin/Makefile
+++ b/package/frickin/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= frickin
PKG_VERSION:= 1.3
@@ -14,7 +14,7 @@ PKG_NOPARALLEL:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FRICKIN,frickin,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ do-install:
${INSTALL_DIR} ${IDIR_FRICKIN}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/frickin ${IDIR_FRICKIN}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/fuse/Makefile b/package/fuse/Makefile
index 71bb7c214..0041124fe 100644
--- a/package/fuse/Makefile
+++ b/package/fuse/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= fuse
PKG_VERSION:= 2.9.3
@@ -22,7 +22,7 @@ PKG_SUBPKGS:= FUSE_UTILS LIBFUSE
PKGSD_LIBFUSE:= filesystem in userspace library
PKGSC_LIBFUSE:= libs/misc
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FUSE_UTILS,fuse-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBFUSE,libfuse,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBFUSE},${PKGSC_LIBFUSE},${PKG_OPTS}))
@@ -46,4 +46,4 @@ libfuse-install:
${CP} ${WRKINST}/usr/lib/libulockmgr.so* \
${IDIR_LIBFUSE}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gatling/Makefile b/package/gatling/Makefile
index 5a9944224..e4a87603e 100644
--- a/package/gatling/Makefile
+++ b/package/gatling/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= gatling
PKG_VERSION:= 0.11
@@ -16,7 +16,7 @@ PKG_SITES:= http://dl.fefe.de/
PKG_BUILDDEP_UCLIBC:= libiconv-tiny
DISTFILES= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GATLING,gatling,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -34,4 +34,4 @@ do-install:
${INSTALL_DIR} ${IDIR_GATLING}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/gatling ${IDIR_GATLING}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gawk/Makefile b/package/gawk/Makefile
index b5e1108c1..bea671359 100644
--- a/package/gawk/Makefile
+++ b/package/gawk/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= gawk
PKG_VERSION:= 4.1.1
@@ -13,8 +13,8 @@ PKG_URL:= http://www.gnu.org/software/gawk/
PKG_SITES:= ${MASTER_SITE_GNU:=gawk/}
PKG_BB:= 1
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,GAWK,gawk,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,GAWK,gawk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,5 +25,5 @@ gawk-install:
${INSTALL_DIR} ${IDIR_GAWK}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/gawk ${IDIR_GAWK}/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gcc/Makefile b/package/gcc/Makefile
index 88cc5b436..3311e12e6 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -1,8 +1,8 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
-include ${TOPDIR}/toolchain/gcc/Makefile.inc
+include ${ADK_TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/toolchain/gcc/Makefile.inc
PKG_NAME:= gcc
PKG_DESCR:= c compiler
@@ -16,7 +16,7 @@ PKGSD_GXX:= c++ compiler
WRKBUILD= ${WRKDIR}/${PKG_NAME}-obj
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GCC,gcc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,GXX,g++,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -93,4 +93,4 @@ g++-install:
cd ${IDIR_GXX}/usr/bin/ && ln -sf g++ c++
${CP} ${WRKINST}/usr/include/c++/* ${IDIR_GXX}/usr/include/c++/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gcj/Makefile b/package/gcj/Makefile
index a273e03b0..a166258bf 100644
--- a/package/gcj/Makefile
+++ b/package/gcj/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= gcj
PKG_VERSION:= 4.8.2
@@ -15,8 +15,8 @@ PKG_CFLINE_GCJ:= depends on ADK_HOST_ONLY
DISTFILES:= gcc-$(PKG_VERSION).tar.bz2
WRKDIST= ${WRKDIR}/gcc-${PKG_VERSION}
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,GCJ,gcj,$(PKG_VERSION)-${PKG_RELEASE}))
@@ -39,5 +39,5 @@ HOST_CONFIGURE_ARGS:= --enable-dependency-tracking \
--disable-multilib \
--disable-bootstrap
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gconf/Makefile b/package/gconf/Makefile
index 1ba24df9c..dfe962648 100644
--- a/package/gconf/Makefile
+++ b/package/gconf/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= GConf
PKG_VERSION:= 3.2.6
@@ -17,7 +17,7 @@ PKG_SITES:= ftp://ftp.gnome.org/pub/GNOME/sources/GConf/${PKG_EXTRAVER}/
PKG_LIBNAME:= gconf
PKG_OPTS:= dev
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GCONF,gconf,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -40,4 +40,4 @@ gconf-install:
$(CP) $(WRKINST)/usr/share/dbus-1/services/* \
$(IDIR_GCONF)/usr/share/dbus-1/services
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gdb/Makefile b/package/gdb/Makefile
index 99d63fe26..e355cd49b 100644
--- a/package/gdb/Makefile
+++ b/package/gdb/Makefile
@@ -1,8 +1,8 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
-include ${TOPDIR}/toolchain/gdb/Makefile.inc
+include ${ADK_TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/toolchain/gdb/Makefile.inc
PKG_NAME:= gdb
PKG_DESCR:= programm debugger
@@ -13,7 +13,7 @@ PKG_NOPARALLEL:= 1
PKG_BUILDDEP_UCLIBC:= libiconv-tiny
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -41,4 +41,4 @@ gdb-install:
${INSTALL_DIR} ${IDIR_GDB}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/gdb ${IDIR_GDB}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gdbm/Makefile b/package/gdbm/Makefile
index 7fc6d3f96..31796c920 100644
--- a/package/gdbm/Makefile
+++ b/package/gdbm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= gdbm
PKG_VERSION:= 1.8.3
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBGDBM,libgdbm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -28,4 +28,4 @@ libgdbm-install:
${INSTALL_DIR} ${IDIR_LIBGDBM}/usr/lib
${CP} ${WRKINST}/usr/lib/libgdbm.so* ${IDIR_LIBGDBM}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gdbserver/Makefile b/package/gdbserver/Makefile
index 7f3e821d3..77879b8b2 100644
--- a/package/gdbserver/Makefile
+++ b/package/gdbserver/Makefile
@@ -1,8 +1,8 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
-include ${TOPDIR}/toolchain/gdb/Makefile.inc
+include ${ADK_TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/toolchain/gdb/Makefile.inc
PKG_NAME:= gdb
PKG_DESCR:= remote programm debugger utility
@@ -15,7 +15,7 @@ PKG_SUBPKGS:= GDBSERVER
WRKSRC= ${WRKDIST}/gdb/gdbserver
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GDBSERVER,gdbserver,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,4 +23,4 @@ gdbserver-install:
${INSTALL_DIR} ${IDIR_GDBSERVER}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/gdbserver ${IDIR_GDBSERVER}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gdk-pixbuf/Makefile b/package/gdk-pixbuf/Makefile
index f6c1aff2d..a47011ff9 100644
--- a/package/gdk-pixbuf/Makefile
+++ b/package/gdk-pixbuf/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= gdk-pixbuf
PKG_VERSION:= 2.24.0
@@ -15,8 +15,8 @@ HOST_BUILDDEP:= glib-host
PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.24/
PKG_OPTS:= dev
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,GDK_PIXBUF,gdk-pixbuf,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,GDK_PIXBUF,gdk-pixbuf,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -34,5 +34,5 @@ gdk-pixbuf-install:
$(CP) ./files/loaders.cache \
$(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/genext2fs/Makefile b/package/genext2fs/Makefile
index b26b37b05..3117c1faf 100644
--- a/package/genext2fs/Makefile
+++ b/package/genext2fs/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= genext2fs
PKG_VERSION:= 1.4.1
@@ -15,10 +15,10 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_CFLINE_GENEXT2FS:= depends on ADK_HOST_ONLY
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,GENEXT2FS,genext2fs,$(PKG_VERSION)-${PKG_RELEASE}))
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gettext-tiny/Makefile b/package/gettext-tiny/Makefile
index 120a76678..d2ddbc91a 100644
--- a/package/gettext-tiny/Makefile
+++ b/package/gettext-tiny/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= gettext-tiny
PKG_VERSION:= 0.0.4
@@ -16,8 +16,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,GETTEXT_TINY,gettext-tiny,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,GETTEXT_TINY,gettext-tiny,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -34,5 +34,5 @@ gettext-tiny-hostinstall:
${CP} ${WRKBUILD}/libintl.a ${STAGING_HOST_DIR}/usr/lib
${CP} ${WRKBUILD}/{msgfmt,xgettext,msgmerge} ${STAGING_HOST_DIR}/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/giblib/Makefile b/package/giblib/Makefile
index 9cd195bfa..908f2c5a4 100644
--- a/package/giblib/Makefile
+++ b/package/giblib/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= giblib
PKG_VERSION:= 1.2.4
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GIBLIB,giblib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -25,4 +25,4 @@ giblib-install:
$(CP) $(WRKINST)/usr/lib/libgiblib*so* \
$(IDIR_GIBLIB)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/giflib/Makefile b/package/giflib/Makefile
index e3ef993bb..fd5889fd5 100644
--- a/package/giflib/Makefile
+++ b/package/giflib/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= giflib
PKG_VERSION:= 4.1.6
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GIFLIB,giflib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ giflib-install:
$(CP) $(WRKINST)/usr/lib/libgif.so* \
$(IDIR_GIFLIB)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/git/Makefile b/package/git/Makefile
index 62cd92adf..758c90c16 100644
--- a/package/git/Makefile
+++ b/package/git/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= git
PKG_VERSION:= 2.0.0
@@ -14,7 +14,7 @@ PKG_DEPENDS:= libopenssl libcurl libexpat libpthread
PKG_URL:= http://git-scm.com/
PKG_SITES:= https://www.kernel.org/pub/software/scm/git/
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GIT,git,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -41,4 +41,4 @@ git-install:
$(CP) $(WRKINST)/usr/bin/git-upload-archive $(IDIR_GIT)/usr/bin
${CP} $(WRKINST)/usr/libexec/git-core/* $(IDIR_GIT)/usr/libexec/git-core
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gkrellm/Makefile b/package/gkrellm/Makefile
index 6f3a93343..02d9e0101 100644
--- a/package/gkrellm/Makefile
+++ b/package/gkrellm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= gkrellm
PKG_VERSION:= 2.3.5
@@ -18,7 +18,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
WRKSRC= ${WRKDIR}/gkrellm-${PKG_VERSION}/server
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GKRELLMD,gkrellmd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ do-install:
${INSTALL_BIN} ${WRKBUILD}/gkrellmd ${IDIR_GKRELLMD}/usr/bin/
${INSTALL_DATA} ${WRKSRC}/gkrellmd.conf ${IDIR_GKRELLMD}/etc
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/glib/Makefile b/package/glib/Makefile
index 7325cea8a..1b6e2b1af 100644
--- a/package/glib/Makefile
+++ b/package/glib/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= glib
PKG_VERSION:= 2.40.0
@@ -20,8 +20,8 @@ PKG_OPTS:= dev noscripts
PKG_BUILDDEP_UCLIBC:= libiconv-tiny
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,GLIB,glib,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,GLIB,glib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -59,5 +59,5 @@ glib-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/glib-genmarshal \
${IDIR_GLIB_DEV}/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/glibc/Makefile b/package/glibc/Makefile
index 6f6ce49ea..49f1db305 100644
--- a/package/glibc/Makefile
+++ b/package/glibc/Makefile
@@ -1,10 +1,10 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/kernel-ver.mk
-include $(TOPDIR)/mk/kernel-vars.mk
-include $(TOPDIR)/toolchain/glibc/Makefile.inc
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/kernel-ver.mk
+include $(ADK_TOPDIR)/mk/kernel-vars.mk
+include $(ADK_TOPDIR)/toolchain/glibc/Makefile.inc
PKG_NAME:= glibc
PKG_DESCR:= gnu c library
@@ -17,7 +17,7 @@ PKGSS_GLIBC_GCONV:= glibc
NO_DISTFILES:= 1
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GLIBC,glibc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,GLIBC_DEV,glibc-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -105,4 +105,4 @@ endif
$(IDIR_GLIBC_DEV)/usr/include/bits
@find $(IDIR_GLIBC_DEV) -name .install -exec rm {} \;
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/glproto/Makefile b/package/glproto/Makefile
index 17a951049..82b5058cd 100644
--- a/package/glproto/Makefile
+++ b/package/glproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= glproto
PKG_VERSION:= 1.4.17
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GLPROTO,glproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/glu/Makefile b/package/glu/Makefile
index b691760d7..d523aca4b 100644
--- a/package/glu/Makefile
+++ b/package/glu/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= glu
PKG_VERSION:= 9.0.0
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBGLU,libglu,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -25,4 +25,4 @@ libglu-install:
$(CP) $(WRKINST)/usr/lib/libGLU.so* \
$(IDIR_LIBGLU)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gmediaserver/Makefile b/package/gmediaserver/Makefile
index e62a43f8e..42a82397f 100644
--- a/package/gmediaserver/Makefile
+++ b/package/gmediaserver/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= gmediaserver
PKG_VERSION:= 0.13.0
@@ -20,7 +20,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_LIBC_DEPENDS:= uclibc glibc
PKG_BUILDDEP_UCLIBC:= libiconv-tiny
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GMEDIASERVER,gmediaserver,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -38,4 +38,4 @@ gmediaserver-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/gmediaserver \
${IDIR_GMEDIASERVER}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gmp/Makefile b/package/gmp/Makefile
index 38a5a6439..382bd6208 100644
--- a/package/gmp/Makefile
+++ b/package/gmp/Makefile
@@ -1,8 +1,8 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
-include ${TOPDIR}/toolchain/gmp/Makefile.inc
+include ${ADK_TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/toolchain/gmp/Makefile.inc
PKG_NAME:= gmp
PKG_DESCR:= multiprecision arithmetic library
@@ -12,7 +12,7 @@ PKG_BUILDDEP:= m4-host flex-host bison-host
PKG_LIBNAME:= libgmp
PKG_OPTS:= dev
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBGMP,libgmp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -20,4 +20,4 @@ libgmp-install:
${INSTALL_DIR} ${IDIR_LIBGMP}/usr/lib
${CP} ${WRKINST}/usr/lib/libgmp.so* ${IDIR_LIBGMP}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gnupg/Makefile b/package/gnupg/Makefile
index 8b99769fe..d77f3f70d 100644
--- a/package/gnupg/Makefile
+++ b/package/gnupg/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= gnupg
PKG_VERSION:= 1.4.16
@@ -17,7 +17,7 @@ PKG_SITES:= ftp://ftp.gnupg.org/gcrypt/gnupg/
PKG_BUILDDEP_UCLIBC:= libiconv-tiny
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GNUPG,gnupg,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -45,4 +45,4 @@ gnupg-install:
# we need root privileges for secure memory (locked pages)
chmod u+s ${IDIR_GNUPG}/usr/bin/gpg
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gnutls/Makefile b/package/gnutls/Makefile
index da73e5935..72a4a943d 100644
--- a/package/gnutls/Makefile
+++ b/package/gnutls/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= gnutls
PKG_VERSION:= 3.3.4
@@ -31,7 +31,7 @@ PKG_FLAVOURS_LIBGNUTLS:= WITH_CRYPTODEV
PKGFD_WITH_CRYPTODEV:= enable support for cryptodev-linux
PKGFB_WITH_CRYPTODEV:= cryptodev-linux
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBGNUTLS,libgnutls,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_LIBGNUTLS},${PKG_OPTS}))
$(eval $(call PKG_template,GNUTLS_UTILS,gnutls-utils,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_GNUTLS_UTILS},${PKGSD_GNUTLS_UTILS},${PKGSC_GNUTLS_UTILS}))
@@ -67,4 +67,4 @@ gnutls-utils-install:
${CP} ${WRKINST}/usr/bin/{{cert,srp,psk}tool,gnutls-{cli,serv}} \
${IDIR_GNUTLS_UTILS}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gperf/Makefile b/package/gperf/Makefile
index 63b81be20..e52de8f7d 100644
--- a/package/gperf/Makefile
+++ b/package/gperf/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= gperf
PKG_VERSION:= 3.0.4
@@ -16,8 +16,8 @@ PKG_SITES:= ${MASTER_SITE_GNU:=${PKG_NAME}/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,GPERF,gperf,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,GPERF,gperf,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,5 +26,5 @@ gperf-install:
${INSTALL_DIR} ${IDIR_GPERF}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/gperf ${IDIR_GPERF}/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gpm/Makefile b/package/gpm/Makefile
index 532e43dac..ca8b3d6d4 100644
--- a/package/gpm/Makefile
+++ b/package/gpm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= gpm
PKG_VERSION:= 1.20.7
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GPM,gpm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -28,4 +28,4 @@ gpm-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/gpm ${IDIR_GPM}/usr/sbin/
${CP} ${WRKINST}/usr/lib/libgpm.so.* ${IDIR_GPM}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gpsd/Makefile b/package/gpsd/Makefile
index 200a47681..e8d61be97 100644
--- a/package/gpsd/Makefile
+++ b/package/gpsd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= gpsd
PKG_VERSION:= 3.10
@@ -19,7 +19,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_SUBPKGS:= GPSD GPSD_CLIENTS
PKGSD_GPSD_CLIENTS:= GPS client utilities
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GPSD,gpsd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,GPSD_CLIENTS,gpsd-clients,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_GPSD_CLIENTS},${PKG_SECTION}))
@@ -43,4 +43,4 @@ gpsd-clients-install:
${CP} ${WRKINST}/usr/bin/{cgps,gpxlogger} \
${IDIR_GPSD_CLIENTS}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/grep/Makefile b/package/grep/Makefile
index 265f1c4b2..2ef4a2ae8 100644
--- a/package/grep/Makefile
+++ b/package/grep/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= grep
PKG_VERSION:= 2.20
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_GNU:=grep/}
PKG_NOPARALLEL:= 1
PKG_BB:= 1
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GREP,grep,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ grep-install:
$(INSTALL_DIR) $(IDIR_GREP)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/{e,f,}grep $(IDIR_GREP)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/grub/Makefile b/package/grub/Makefile
index ca618209c..da6863952 100644
--- a/package/grub/Makefile
+++ b/package/grub/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= grub
PKG_VERSION:= 2.00
@@ -24,7 +24,7 @@ PKG_CHOICES_GRUB:= PC EFI
PKGCD_PC:= build for PC BIOS
PKGCD_EFI:= build for EFI
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GRUB,grub,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,GRUB_TOOLS,grub-tools,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -67,4 +67,4 @@ grub-tools-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/grub-mkimage \
$(IDIR_GRUB_TOOLS)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gsm/Makefile b/package/gsm/Makefile
index d490d9f1d..7675cb898 100644
--- a/package/gsm/Makefile
+++ b/package/gsm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= gsm
PKG_VERSION:= 1.0.10
@@ -24,7 +24,7 @@ PKGSC_GSM_UTILS:= sys/misc
WRKDIST= ${WRKDIR}/${PKG_NAME}-1.0-pl10
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBGSM,libgsm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,GSM_UTILS,gsm-utils,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_GSM_UTILS},${PKGSD_GSM_UTILS},${PKGSC_GSM_UTILS}))
@@ -42,4 +42,4 @@ gsm-utils-install:
${INSTALL_DIR} ${IDIR_GSM_UTILS}/usr/bin
${CP} ${WRKINST}/usr/bin/toast ${IDIR_GSM_UTILS}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gst-plugins-base/Makefile b/package/gst-plugins-base/Makefile
index 8f21a264c..4c55834ed 100644
--- a/package/gst-plugins-base/Makefile
+++ b/package/gst-plugins-base/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= gst-plugins-base
PKG_VERSION:= 1.2.1
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GST_PLUGINS_BASE,gst-plugins-base,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -30,4 +30,4 @@ gst-plugins-base-install:
$(CP) $(WRKINST)/usr/lib/libgst*.so* \
$(IDIR_GST_PLUGINS_BASE)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gstreamer/Makefile b/package/gstreamer/Makefile
index 2732faa5a..08feb8a86 100644
--- a/package/gstreamer/Makefile
+++ b/package/gstreamer/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= gstreamer
PKG_VERSION:= 1.2.1
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GSTREAMER,gstreamer,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ gstreamer-install:
$(CP) $(WRKINST)/usr/lib/libgstreamer*.so* \
$(IDIR_GSTREAMER)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gtk+/Makefile b/package/gtk+/Makefile
index d35eefb11..66b629b3c 100644
--- a/package/gtk+/Makefile
+++ b/package/gtk+/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= gtk+
PKG_VERSION:= 2.24.22
@@ -18,7 +18,7 @@ PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/gtk+/$(PKG_EXTRAVER)/
PKG_LIBNAME:= libgtk
PKG_OPTS:= dev
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBGTK,libgtk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -43,4 +43,4 @@ libgtk-install:
${CP} ${WRKINST}/usr/lib/gtk-2.0/include/* \
${IDIR_LIBGTK_DEV}/usr/lib/gtk-2.0/include
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gzip/Makefile b/package/gzip/Makefile
index cabe1620e..be87f9033 100644
--- a/package/gzip/Makefile
+++ b/package/gzip/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= gzip
PKG_VERSION:= 1.2.4
@@ -15,7 +15,7 @@ PKG_BB:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GZIP,gzip,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ gzip-install:
$(INSTALL_DIR) $(IDIR_GZIP)/usr/bin
$(CP) $(WRKINST)/bin/gzip $(IDIR_GZIP)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/harfbuzz/Makefile b/package/harfbuzz/Makefile
index 143397da4..8055f2a3a 100644
--- a/package/harfbuzz/Makefile
+++ b/package/harfbuzz/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= harfbuzz
PKG_VERSION:= 0.9.28
@@ -19,8 +19,8 @@ PKG_ARCH_DEPENDS:= !m68k
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,HARFBUZZ,harfbuzz,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,HARFBUZZ,harfbuzz,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -34,5 +34,5 @@ harfbuzz-install:
$(CP) $(WRKINST)/usr/lib/libharfbuzz*.so* \
$(IDIR_HARFBUZZ)/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/haserl/Makefile b/package/haserl/Makefile
index 9400c80ff..8df1d8a4f 100644
--- a/package/haserl/Makefile
+++ b/package/haserl/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= haserl
PKG_VERSION:= 0.9.33
@@ -14,7 +14,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=haserl/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,HASERL,haserl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ haserl-install:
${INSTALL_DIR} ${IDIR_HASERL}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/haserl ${IDIR_HASERL}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/hdparm/Makefile b/package/hdparm/Makefile
index 7c189e744..ede1c5e98 100644
--- a/package/hdparm/Makefile
+++ b/package/hdparm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= hdparm
PKG_VERSION:= 9.43
@@ -15,7 +15,7 @@ PKG_BB:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,HDPARM,hdparm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ hdparm-install:
${INSTALL_DIR} ${IDIR_HDPARM}/usr/sbin
${INSTALL_BIN} ${WRKINST}/sbin/hdparm ${IDIR_HDPARM}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/heimdal/Makefile b/package/heimdal/Makefile
index 241a82f16..280e11b2b 100644
--- a/package/heimdal/Makefile
+++ b/package/heimdal/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= heimdal
PKG_VERSION:= 1.5.3
@@ -34,8 +34,8 @@ PKGCD_WITH_BDB:= use Berkeley DB as database backend
PKGCS_WITH_BDB:= libdb
PKGCB_WITH_BDB:= db
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,HEIMDAL,heimdal,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,HEIMDAL_SERVER,heimdal-server,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -152,5 +152,5 @@ endif
${CP} ${WRKINST}/usr/lib/heimdal/libkadm5clnt.so* \
${IDIR_LIBHEIMDAL}/usr/lib/heimdal
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/heirloom-cpio/Makefile b/package/heirloom-cpio/Makefile
index 124af9a70..6d06762a0 100644
--- a/package/heirloom-cpio/Makefile
+++ b/package/heirloom-cpio/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= heirloom-cpio
PKG_VERSION:= 1.0
@@ -13,8 +13,8 @@ PKG_CFLINE_HEIRLOOM_CPIO:= depends on ADK_HOST_ONLY
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,HEIRLOOM_CPIO,heirloom-cpio,${PKG_VERSION}-${PKG_RELEASE}))
@@ -28,5 +28,5 @@ heirloom-cpio-hostinstall:
${INSTALL_DIR} ${STAGING_HOST_DIR}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/cpio ${STAGING_HOST_DIR}/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/heyu/Makefile b/package/heyu/Makefile
index efeb0f6ca..7f6232aa6 100644
--- a/package/heyu/Makefile
+++ b/package/heyu/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= heyu
PKG_VERSION:= 2.6.0
@@ -17,7 +17,7 @@ PKG_LIBC_DEPENDS:= uclibc glibc
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,HEYU,heyu,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -39,4 +39,4 @@ do-install:
${INSTALL_DIR} ${IDIR_HEYU}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/heyu ${IDIR_HEYU}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/hicolor-icon-theme/Makefile b/package/hicolor-icon-theme/Makefile
index b296f26c8..215743b15 100644
--- a/package/hicolor-icon-theme/Makefile
+++ b/package/hicolor-icon-theme/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= hicolor-icon-theme
PKG_VERSION:= 0.12
@@ -14,7 +14,7 @@ PKG_SITES:= http://icon-theme.freedesktop.org/releases/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,HICOLOR_ICON_THEME,hicolor-icon-theme,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,4 +23,4 @@ hicolor-icon-theme-install:
$(CP) $(WRKINST)/usr/share/icons/* \
$(IDIR_HICOLOR_ICON_THEME)/usr/share/icons
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index dbb46ee3c..77bb6b7fa 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= hostapd
PKG_VERSION:= 2.0
@@ -28,7 +28,7 @@ PKGSN_HOSTAPD_UTILS:= hostapd
WRKSRC= ${WRKDIST}/${PKG_NAME}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,HOSTAPD,hostapd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,HOSTAPD_UTILS,hostapd-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -52,4 +52,4 @@ do-install:
${INSTALL_BIN} ${WRKBUILD}/hostapd ${IDIR_HOSTAPD}/usr/sbin/
${INSTALL_DATA} ./files/hostapd.conf ${IDIR_HOSTAPD}/etc
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/htop/Makefile b/package/htop/Makefile
index 211ff33c2..6e9540167 100644
--- a/package/htop/Makefile
+++ b/package/htop/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= htop
PKG_VERSION:= 1.0.3
@@ -16,7 +16,7 @@ PKG_SITES:= http://hisham.hm/htop/releases/$(PKG_VERSION)/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,HTOP,htop,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ htop-install:
$(INSTALL_DIR) $(IDIR_HTOP)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/htop $(IDIR_HTOP)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/htpdate/Makefile b/package/htpdate/Makefile
index 30ec95716..f81834ecb 100644
--- a/package/htpdate/Makefile
+++ b/package/htpdate/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= htpdate
PKG_VERSION:= 1.0.5
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.vervest.org/htp/archive/c/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,HTPDATE,htpdate,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ htpdate-install:
${INSTALL_DIR} ${IDIR_HTPDATE}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/htpdate ${IDIR_HTPDATE}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/httping/Makefile b/package/httping/Makefile
index 5c2e5feab..bba9eea7e 100644
--- a/package/httping/Makefile
+++ b/package/httping/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= httping
PKG_VERSION:= 1.4.1
@@ -15,7 +15,7 @@ PKG_SITES:= http://www.vanheusden.com/httping/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,HTTPING,httping,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ httping-install:
${INSTALL_DIR} ${IDIR_HTTPING}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/httping ${IDIR_HTTPING}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/httptunnel/Makefile b/package/httptunnel/Makefile
index 9a579c527..c13396e05 100644
--- a/package/httptunnel/Makefile
+++ b/package/httptunnel/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= httptunnel
PKG_VERSION:= 3.0.5
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.nocrew.org/software/httptunnel/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,HTTPTUNNEL,httptunnel,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,4 +23,4 @@ httptunnel-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/hts ${IDIR_HTTPTUNNEL}/usr/bin/
${INSTALL_BIN} ${WRKINST}/usr/bin/htc ${IDIR_HTTPTUNNEL}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/huawei/Makefile b/package/huawei/Makefile
index 030cbae8c..5df1aed12 100644
--- a/package/huawei/Makefile
+++ b/package/huawei/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= huawei
PKG_VERSION:= 0.1
@@ -13,7 +13,7 @@ PKG_BUILDDEP:= libusb libusb-compat
NO_DISTFILES:= 1
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,HUAWEI,huawei,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ do-install:
${INSTALL_DIR} ${IDIR_HUAWEI}/sbin
${INSTALL_BIN} ${WRKBUILD}/huawei ${IDIR_HUAWEI}/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/i2c-tools/Makefile b/package/i2c-tools/Makefile
index fc6c031bb..531bf1f00 100644
--- a/package/i2c-tools/Makefile
+++ b/package/i2c-tools/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= i2c-tools
PKG_VERSION:= 3.1.1
@@ -14,7 +14,7 @@ PKG_SITES:= http://dl.lm-sensors.org/i2c-tools/releases/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,I2C_TOOLS,i2c-tools,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ i2c-tools-install:
$(INSTALL_BIN) $(WRKINST)/usr/sbin/i2c* \
$(IDIR_I2C_TOOLS)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/icecast/Makefile b/package/icecast/Makefile
index 4c38bd9ef..1cda0399a 100644
--- a/package/icecast/Makefile
+++ b/package/icecast/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= icecast
PKG_VERSION:= 2.3.3
@@ -16,7 +16,7 @@ PKG_SITES:= http://downloads.us.xiph.org/releases/icecast/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ICECAST,icecast,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -42,4 +42,4 @@ icecast-install:
${CP} ${WRKINST}/usr/share/icecast/web \
${IDIR_ICECAST}/usr/share/icecast/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/icu4c/Makefile b/package/icu4c/Makefile
index 50a21e9ea..e311e3b19 100644
--- a/package/icu4c/Makefile
+++ b/package/icu4c/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= icu4c
PKG_VERSION:= 52.1
@@ -18,8 +18,8 @@ DISTFILES:= ${PKG_NAME}-52_1-src.tgz
WRKDIST= ${WRKDIR}/icu/source
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,ICU4C,icu4c,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,ICU4C,icu4c,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -45,5 +45,5 @@ icu4c-install:
$(CP) $(WRKINST)/usr/lib/libicuuc.so* \
$(IDIR_ICU4C)/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/id3lib/Makefile b/package/id3lib/Makefile
index e2a42fd71..13e5583ed 100644
--- a/package/id3lib/Makefile
+++ b/package/id3lib/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= id3lib
PKG_VERSION:= 3.8.3
@@ -18,7 +18,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ID3LIB,id3lib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -45,4 +45,4 @@ id3lib-install:
${INSTALL_DIR} ${IDIR_ID3LIB}/usr/lib
${CP} ${WRKINST}/usr/lib/libid3-*.so* ${IDIR_ID3LIB}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/iftop/Makefile b/package/iftop/Makefile
index 0be7b16a9..5aef8609c 100644
--- a/package/iftop/Makefile
+++ b/package/iftop/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= iftop
PKG_VERSION:= 0.17
@@ -16,7 +16,7 @@ PKG_SITES:= http://www.ex-parrot.com/~pdw/iftop/download/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IFTOP,iftop,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ iftop-install:
${INSTALL_DIR} ${IDIR_IFTOP}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/sbin/iftop ${IDIR_IFTOP}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/igmpproxy/Makefile b/package/igmpproxy/Makefile
index 160ebf9e8..6ff1ae7bf 100644
--- a/package/igmpproxy/Makefile
+++ b/package/igmpproxy/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= igmpproxy
PKG_VERSION:= 0.1
@@ -17,7 +17,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_CFLINE_IGMPPROXY:= select ADK_KERNEL_IP_MULTICAST@
PKG_CFLINE_IGMPPROXY+= select ADK_KERNEL_IP_MROUTE
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IGMPPROXY,igmpproxy,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,4 +28,4 @@ igmpproxy-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/igmpproxy ${IDIR_IGMPPROXY}/usr/sbin
${INSTALL_DATA} ${WRKINST}/etc/igmpproxy.conf ${IDIR_IGMPPROXY}/etc
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/imlib2/Makefile b/package/imlib2/Makefile
index 8bdc4e0eb..7bd6747c6 100644
--- a/package/imlib2/Makefile
+++ b/package/imlib2/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= imlib2
PKG_VERSION:= 1.4.4
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,IMLIB2,imlib2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -29,4 +29,4 @@ imlib2-install:
${CP} $(WRKINST)/usr/lib/imlib2/loaders/*.so \
$(IDIR_IMLIB2)/usr/lib/imlib2/loaders
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/inputproto/Makefile b/package/inputproto/Makefile
index 5d53f6604..b3a367294 100644
--- a/package/inputproto/Makefile
+++ b/package/inputproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= inputproto
PKG_VERSION:= 2.3
@@ -15,13 +15,13 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,INPUTPROTO,inputproto,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,INPUTPROTO,inputproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
HOST_STYLE:= auto
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/intltool/Makefile b/package/intltool/Makefile
index c89a59fb6..629064ecd 100644
--- a/package/intltool/Makefile
+++ b/package/intltool/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= intltool
PKG_VERSION:= 0.50.2
@@ -16,10 +16,10 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_ARCH_DEPENDS:= native
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,INTLTOOL,intltool,$(PKG_VERSION)-${PKG_RELEASE}))
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ipcad/Makefile b/package/ipcad/Makefile
index 63105cefc..32b04f954 100644
--- a/package/ipcad/Makefile
+++ b/package/ipcad/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ipcad
PKG_VERSION:= 3.7.3
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ipcad/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IPCAD,ipcad,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -33,4 +33,4 @@ ipcad-install:
${INSTALL_DATA} ${WRKINST}/etc/ipcad.conf ${IDIR_IPCAD}/etc/
${INSTALL_BIN} ${WRKINST}/usr/bin/ipcad ${IDIR_IPCAD}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/iperf/Makefile b/package/iperf/Makefile
index 4171ae9a1..101ec1206 100644
--- a/package/iperf/Makefile
+++ b/package/iperf/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= iperf
PKG_VERSION:= 2.0.4
@@ -16,7 +16,7 @@ PKG_CXX:= IPERF
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IPERF,iperf,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -32,4 +32,4 @@ iperf-install:
${INSTALL_DIR} ${IDIR_IPERF}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/iperf ${IDIR_IPERF}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/iproute2/Makefile b/package/iproute2/Makefile
index 6975223ca..10923ca6d 100644
--- a/package/iproute2/Makefile
+++ b/package/iproute2/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= iproute2
PKG_VERSION:= 3.15.0
@@ -29,7 +29,7 @@ PKGSD_ROUTEL:= route list and flush utilities
PKGSD_RTMON:= rtnetlink monitor
PKGSD_SS:= socket statistics utility
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IP,ip,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,TC,tc,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_TC},${PKGSD_TC},${PKG_SECTION}))
@@ -89,4 +89,4 @@ ss-install:
${INSTALL_DIR} ${IDIR_SS}/usr/sbin
${INSTALL_BIN} ${WRKINST}/sbin/ss ${IDIR_SS}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ipsec-tools/Makefile b/package/ipsec-tools/Makefile
index 8c5da862a..8fa74f2ab 100644
--- a/package/ipsec-tools/Makefile
+++ b/package/ipsec-tools/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ipsec-tools
PKG_VERSION:= 0.8.0
@@ -21,7 +21,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
PKG_FLAVOURS_IPSEC_TOOLS:= WITH_IPV6
PKGFD_WITH_IPV6:= enable IPv6 support
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IPSEC_TOOLS,ipsec-tools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -53,4 +53,4 @@ ipsec-tools-install:
${IDIR_IPSEC_TOOLS}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/setkey ${IDIR_IPSEC_TOOLS}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ipset/Makefile b/package/ipset/Makefile
index cffee986d..40ca3da64 100644
--- a/package/ipset/Makefile
+++ b/package/ipset/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ipset
PKG_VERSION:= 4.1
@@ -17,7 +17,7 @@ PKG_CFLINE_IPSET:= depends on !ADK_TOOLCHAIN_ONLY
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IPSET,ipset,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -31,4 +31,4 @@ ipset-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/ipset ${IDIR_IPSET}/usr/sbin
${CP} ${WRKINST}/usr/lib/ipset/*.so ${IDIR_IPSET}/usr/lib/ipset/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/iptables-snmp/Makefile b/package/iptables-snmp/Makefile
index f06966baf..f1894c598 100644
--- a/package/iptables-snmp/Makefile
+++ b/package/iptables-snmp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= iptables-snmp
PKG_VERSION:= 0.1
@@ -17,7 +17,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_LIBC_DEPENDS:= uclibc glibc
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,IPTABLES_SNMP,iptables-snmp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ iptables-snmp-install:
${INSTALL_DIR} ${IDIR_IPTABLES_SNMP}/usr/lib
${CP} ${WRKINST}/usr/lib/iptables-snmp.so ${IDIR_IPTABLES_SNMP}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index ed151e4a6..8fbb1224c 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= iptables
PKG_VERSION:= 1.4.21
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
# right now default extensions are builtin
# use --disable-static in CONFIGURE_ARGS to change and optimize package
@@ -43,4 +43,4 @@ iptables-install:
${CP} ${WRKINST}/usr/lib/libip6tc.so* ${IDIR_IPTABLES}/usr/lib
${CP} ${WRKINST}/usr/lib/libxtables.so* ${IDIR_IPTABLES}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/iptraf/Makefile b/package/iptraf/Makefile
index 6f9dab104..6f6a8ce8f 100644
--- a/package/iptraf/Makefile
+++ b/package/iptraf/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= iptraf
PKG_VERSION:= 3.0.1
@@ -16,7 +16,7 @@ PKG_SITES:= ftp://iptraf.seul.org/pub/iptraf/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IPTRAF,iptraf,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -43,4 +43,4 @@ do-install:
${INSTALL_DIR} ${IDIR_IPTRAF}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/src/iptraf ${IDIR_IPTRAF}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ipvsadm/Makefile b/package/ipvsadm/Makefile
index 6c04ab54b..a6b9afe7b 100644
--- a/package/ipvsadm/Makefile
+++ b/package/ipvsadm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= ipvsadm
PKG_VERSION:= 1.26
@@ -17,7 +17,7 @@ PKG_NOPARALLEL:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
TARGET_CFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include/libnl3 -fPIC -DHAVE_NL=0
CONFIG_STYLE:= manual
@@ -33,4 +33,4 @@ ipvsadm-install:
$(INSTALL_BIN) $(WRKINST)/sbin/ipvsadm \
$(IDIR_IPVSADM)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/irssi/Makefile b/package/irssi/Makefile
index 4a164f2e5..d9bc079c9 100644
--- a/package/irssi/Makefile
+++ b/package/irssi/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= irssi
PKG_VERSION:= 0.8.16
@@ -22,7 +22,7 @@ PKGFS_WITH_SSL:= libopenssl
PKGFB_WITH_SSL:= openssl
PKGFD_WITH_IPV6:= enable ipv6 support
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IRSSI,irssi,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -50,4 +50,4 @@ irssi-install:
${INSTALL_DIR} ${IDIR_IRSSI}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/irssi ${IDIR_IRSSI}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/iw/Makefile b/package/iw/Makefile
index 519493bb5..da9dc8a55 100644
--- a/package/iw/Makefile
+++ b/package/iw/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= iw
PKG_VERSION:= 3.15
@@ -16,7 +16,7 @@ PKG_SITES:= https://www.kernel.org/pub/software/network/iw/
PKG_DFLT_IW:= y if ADK_TARGET_WITH_WIFI
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IW,iw,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ iw-install:
${INSTALL_DIR} ${IDIR_IW}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/iw ${IDIR_IW}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/jack2/Makefile b/package/jack2/Makefile
index d5cab15c9..210048e6b 100644
--- a/package/jack2/Makefile
+++ b/package/jack2/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= jack2
PKG_VERSION:= 1.9.10
@@ -14,7 +14,7 @@ PKG_BUILDDEP:= python2-host alsa-lib libsndfile
PKG_URL:= http://jackaudio.org
PKG_SITES:= http://openadk.org/distfiles/
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,JACK2,jack2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -39,4 +39,4 @@ jack2-install:
$(CP) $(WRKINST)/usr/lib/libjack{,server,net}.so* \
$(IDIR_JACK2)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/jamvm/Makefile b/package/jamvm/Makefile
index ba9773c60..98d52aed1 100644
--- a/package/jamvm/Makefile
+++ b/package/jamvm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= jamvm
PKG_VERSION:= 1.5.4
@@ -18,8 +18,8 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_ARCH_DEPENDS:= !m68k
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,JAMVM,jamvm,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,JAMVM,jamvm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -52,5 +52,5 @@ do-install:
${CP} ${WRKINST}/usr/share/jamvm/classes.zip \
${IDIR_JAMVM}/usr/share/jamvm
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/jikes/Makefile b/package/jikes/Makefile
index f5175fa21..bbf3cf020 100644
--- a/package/jikes/Makefile
+++ b/package/jikes/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= jikes
PKG_VERSION:= 1.22
@@ -14,8 +14,8 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=jikes/Jikes/1.22/}
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,JIKES,jikes,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,JIKES,jikes,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,5 +28,5 @@ hostpost-install:
jikes-install:
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/joe/Makefile b/package/joe/Makefile
index 417915ac9..4013d0b73 100644
--- a/package/joe/Makefile
+++ b/package/joe/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= joe
PKG_VERSION:= 3.7
@@ -18,7 +18,7 @@ PKG_FLAVOURS_JOE:= LANGUAGE SYNTAX
PKGFD_LANGUAGE:= install translation files
PKGFD_SYNTAX:= install syntax highlighting files
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,JOE,joe,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -38,4 +38,4 @@ ifeq (${ADK_PACKAGE_JOE_SYNTAX},y)
${CP} ${WRKINST}/usr/share/joe/charmaps/* ${IDIR_JOE}/usr/share/joe/charmaps
endif
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/json-c/Makefile b/package/json-c/Makefile
index 3229ba920..119d99e27 100644
--- a/package/json-c/Makefile
+++ b/package/json-c/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= json-c
PKG_VERSION:= 0.11
@@ -16,7 +16,7 @@ PKG_NOPARALLEL:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,JSON_C,json-c,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -25,4 +25,4 @@ json-c-install:
$(CP) $(WRKINST)/usr/lib/libjson*.so* \
$(IDIR_JSON_C)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/json-glib/Makefile b/package/json-glib/Makefile
index 5514344a7..a2383d63b 100644
--- a/package/json-glib/Makefile
+++ b/package/json-glib/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= json-glib
PKG_VERSION:= 0.14.2
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,JSON_GLIB,json-glib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ json-glib-install:
$(CP) $(WRKINST)/usr/lib/libjson-glib*.so* \
$(IDIR_JSON_GLIB)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/kbd/Makefile b/package/kbd/Makefile
index f29a2022a..a284d17a5 100644
--- a/package/kbd/Makefile
+++ b/package/kbd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= kbd
PKG_VERSION:= 2.0.1
@@ -14,7 +14,7 @@ PKG_BUILDDEP:= flex-host bison-host check
PKG_URL:= http://kbd-project.org/
PKG_SITES:= http://kbd-project.org/download/
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,KBD,kbd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ ifeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS),y)
$(CP) ./files/zaurus.map $(IDIR_KBD)/etc
endif
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/kbproto/Makefile b/package/kbproto/Makefile
index c866b3c38..5b5bc54b1 100644
--- a/package/kbproto/Makefile
+++ b/package/kbproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= kbproto
PKG_VERSION:= 1.0.6
@@ -15,13 +15,13 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,KBPROTO,kbproto,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,KBPROTO,kbproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
HOST_STYLE:= auto
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/kexec-tools/Makefile b/package/kexec-tools/Makefile
index b46e39009..b65bf5645 100644
--- a/package/kexec-tools/Makefile
+++ b/package/kexec-tools/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= kexec-tools
PKG_VERSION:= 2.0.7
@@ -17,7 +17,7 @@ PKG_SITES:= ${MASTER_SITE_KERNEL:=utils/kernel/kexec/}
PKG_ARCH_DEPENDS:= !mips !m68k
PKG_CFLINE_KEXEC_TOOLS:= select ADK_KERNEL_KEXEC
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,KEXEC_TOOLS,kexec-tools,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ kexec-tools-install:
$(INSTALL_BIN) $(WRKINST)/usr/sbin/kexec \
$(IDIR_KEXEC_TOOLS)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/kexecinit/Makefile b/package/kexecinit/Makefile
index 7a14533a2..a9b2df084 100644
--- a/package/kexecinit/Makefile
+++ b/package/kexecinit/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= kexecinit
PKG_VERSION:= 1.0
@@ -12,7 +12,7 @@ PKG_SECTION:= base/misc
WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,KEXECINIT,kexecinit,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,4 +23,4 @@ INSTALL_STYLE:= manual
do-install:
$(INSTALL_BIN) ./src/kexecinit $(IDIR_KEXECINIT)/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/keychain/Makefile b/package/keychain/Makefile
index 262a44ab9..ca9b6eab2 100644
--- a/package/keychain/Makefile
+++ b/package/keychain/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= keychain
PKG_VERSION:= 2.7.1
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.funtoo.org/archive/keychain/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,KEYCHAIN,keychain,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ do-install:
$(INSTALL_BIN) $(WRKBUILD)/keychain \
$(IDIR_KEYCHAIN)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/keyutils/Makefile b/package/keyutils/Makefile
index 9b8d462a6..667d45ff8 100644
--- a/package/keyutils/Makefile
+++ b/package/keyutils/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= keyutils
PKG_VERSION:= 1.5.9
@@ -14,7 +14,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,KEYUTILS,keyutils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -25,4 +25,4 @@ keyutils-install:
$(CP) $(WRKBUILD)/libkeyutils.so* \
$(IDIR_KEYUTILS)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/kismet/Makefile b/package/kismet/Makefile
index b787d9729..07e681540 100644
--- a/package/kismet/Makefile
+++ b/package/kismet/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= kismet
PKG_VERSION:= 2013-03-R1b
@@ -19,7 +19,7 @@ PKGSD_KISMET_CLIENT:= kismet client
PKGSD_KISMET_SERVER:= kismet server
PKGSD_KISMET_DRONE:= kismet drone
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,KISMET,kismet,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,KISMET_CLIENT,kismet-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_KISMET_CLIENT},${PKG_SECTION}))
@@ -55,4 +55,4 @@ kismet-server-install:
${INSTALL_DATA} ${WRKINST}/etc/kismet/kismet.conf \
${IDIR_KISMET_SERVER}/etc/kismet
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/kmod/Makefile b/package/kmod/Makefile
index 5cd668e0d..8cfb32cfb 100644
--- a/package/kmod/Makefile
+++ b/package/kmod/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= kmod
PKG_VERSION:= 17
@@ -20,7 +20,7 @@ PKG_SUBPKGS:= KMOD LIBKMOD
PKGSD_LIBKMOD:= kernel module library
PKGSC_LIBKMOD:= libs/misc
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,KMOD,kmod,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBKMOD,libkmod,$(PKG_VERSION)-${PKG_RELEASE},${PKGSS_LIBKMOD},${PKGSD_LIBKMOD},${PKGSC_LIBKMOD},${PKG_OPTS}))
@@ -44,4 +44,4 @@ libkmod-install:
$(CP) $(WRKINST)/usr/lib/libkmod*.so* \
$(IDIR_LIBKMOD)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/knock/Makefile b/package/knock/Makefile
index 2fa385d7a..e83b25aa4 100644
--- a/package/knock/Makefile
+++ b/package/knock/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= knock
PKG_VERSION:= 0.7
@@ -19,7 +19,7 @@ PKG_SUBPKGS:= KNOCK KNOCKD
PKGSD_KNOCKD:= port-knocking server
PKGSS_KNOCKD:= libpcap
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,KNOCK,knock,${PKG_VERSION}-${PKG_RELEASE},,${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,KNOCKD,knockd,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_KNOCKD},${PKGSD_KNOCKD},${PKG_SECTION}))
@@ -37,4 +37,4 @@ knockd-install:
${INSTALL_DIR} ${IDIR_KNOCKD}/usr/sbin
${CP} ${WRKINST}/usr/sbin/knockd ${IDIR_KNOCKD}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/krb5/Makefile b/package/krb5/Makefile
index cbecf3edb..5b9eafd1c 100644
--- a/package/krb5/Makefile
+++ b/package/krb5/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= krb5
PKG_VERSION:= 1.12.1
@@ -27,7 +27,7 @@ PKGSS_KRB5_CLIENT:= libkrb5 libncurses
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-signed.tar
WRKSRC= ${WRKDIST}/src
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,KRB5_SERVER,krb5-server,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,KRB5_CLIENT,krb5-client,$(PKG_VERSION)-${PKG_RELEASE},${PKGSS_KRB5_CLIENT},${PKGSD_KRB5_CLIENT},${PKGSC_KRB5_CLIENT}))
@@ -81,4 +81,4 @@ libkrb5-install:
echo '/usr/lib/libgssapi_krb5.so mechglue_internal_krb5_init' \
> ${IDIR_LIBKRB5}/etc/gssapi_mech.conf
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/l2tpns/Makefile b/package/l2tpns/Makefile
index 9586937ba..069953e43 100644
--- a/package/l2tpns/Makefile
+++ b/package/l2tpns/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= l2tpns
PKG_VERSION:= 2.1.21
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=l2tpns/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,L2TPNS,l2tpns,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ l2tpns-install:
${INSTALL_DIR} ${IDIR_L2TPNS}/usr/sbin
${CP} ${WRKINST}/usr/sbin/* ${IDIR_L2TPNS}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/lame/Makefile b/package/lame/Makefile
index 1dee4394f..4cd3f5290 100644
--- a/package/lame/Makefile
+++ b/package/lame/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= lame
PKG_VERSION:= 3.99
@@ -22,7 +22,7 @@ PKG_SUBPKGS:= LAME LIBMP3LAME
PKGSD_LIBMP3LAME:= mp3 encoding library
PKGSC_LIBMP3LAME:= libs/audio
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LAME,lame,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBMP3LAME,libmp3lame,$(PKG_VERSION)-${PKG_RELEASE},,${PKGSD_LIBMP3LAME},${PKGSC_LIBMP3LAME},${PKG_OPTS}))
@@ -37,4 +37,4 @@ libmp3lame-install:
$(INSTALL_DIR) $(IDIR_LIBMP3LAME)/usr/lib
$(CP) $(WRKINST)/usr/lib/libmp3lame.so* $(IDIR_LIBMP3LAME)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/less/Makefile b/package/less/Makefile
index 70daced02..f1869d5ac 100644
--- a/package/less/Makefile
+++ b/package/less/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= less
PKG_VERSION:= 436
@@ -17,7 +17,7 @@ PKG_BB:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LESS,less,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ less-install:
${INSTALL_DIR} ${IDIR_LESS}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/less ${IDIR_LESS}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/lftp/Makefile b/package/lftp/Makefile
index 5a630aaeb..b7c1fe521 100644
--- a/package/lftp/Makefile
+++ b/package/lftp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= lftp
PKG_VERSION:= 4.5.2
@@ -24,7 +24,7 @@ PKGCD_WITH_GNUTLS:= use gnutls for crypto
PKGCS_WITH_GNUTLS:= libgnutls ca-certificates
PKGCB_WITH_GNUTLS:= gnutls
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LFTP,lftp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -46,4 +46,4 @@ lftp-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/lftp \
$(IDIR_LFTP)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libICE/Makefile b/package/libICE/Makefile
index 0593c92bb..a0235ba59 100644
--- a/package/libICE/Makefile
+++ b/package/libICE/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libICE
PKG_VERSION:= 1.0.8
@@ -17,8 +17,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBICE,libice,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBICE,libice,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -29,5 +29,5 @@ libice-install:
${INSTALL_DIR} ${IDIR_LIBICE}/usr/lib
${CP} ${WRKINST}/usr/lib/libICE.so* ${IDIR_LIBICE}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libIDL/Makefile b/package/libIDL/Makefile
index df5b30489..caed74279 100644
--- a/package/libIDL/Makefile
+++ b/package/libIDL/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libIDL
PKG_VERSION:= 0.8.14
@@ -19,8 +19,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBIDL,libidl,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBIDL,libidl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -33,5 +33,5 @@ libidl-install:
$(CP) $(WRKINST)/usr/lib/libIDL*.so* \
$(IDIR_LIBIDL)/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libSM/Makefile b/package/libSM/Makefile
index fda460710..9b66ef00b 100644
--- a/package/libSM/Makefile
+++ b/package/libSM/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libSM
PKG_VERSION:= 1.2.1
@@ -17,8 +17,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBSM,libsm,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBSM,libsm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -29,5 +29,5 @@ libsm-install:
${INSTALL_DIR} ${IDIR_LIBSM}/usr/lib
${CP} ${WRKINST}/usr/lib/libSM.so* ${IDIR_LIBSM}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libX11/Makefile b/package/libX11/Makefile
index cc5e0dc17..503a3e193 100644
--- a/package/libX11/Makefile
+++ b/package/libX11/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libX11
PKG_VERSION:= 1.6.2
@@ -21,8 +21,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBX11,libx11,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBX11,libx11,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -44,5 +44,5 @@ libx11-install:
${CP} ${WRKINST}/usr/share/X11/XErrorDB ${IDIR_LIBX11}/usr/share/X11
${CP} ${WRKINST}/usr/share/X11/locale ${IDIR_LIBX11}/usr/share/X11
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXScrnSaver/Makefile b/package/libXScrnSaver/Makefile
index 40d86ad17..fb36537c9 100644
--- a/package/libXScrnSaver/Makefile
+++ b/package/libXScrnSaver/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXScrnSaver
PKG_VERSION:= 1.2.1
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXSCRNSAVER,libxscrnsaver,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -28,4 +28,4 @@ libxscrnsaver-install:
${CP} $(WRKINST)/usr/lib/libXss.so* \
$(IDIR_LIBXSCRNSAVER)/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXau/Makefile b/package/libXau/Makefile
index f4cf53fcc..2fdcd9e06 100644
--- a/package/libXau/Makefile
+++ b/package/libXau/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXau
PKG_VERSION:= 1.0.7
@@ -17,8 +17,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBXAU,libxau,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBXAU,libxau,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -29,5 +29,5 @@ libxau-install:
${INSTALL_DIR} ${IDIR_LIBXAU}/usr/lib
${CP} ${WRKINST}/usr/lib/libXau.so* ${IDIR_LIBXAU}/usr/lib/
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXaw/Makefile b/package/libXaw/Makefile
index 80e68aa29..69decb390 100644
--- a/package/libXaw/Makefile
+++ b/package/libXaw/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXaw
PKG_VERSION:= 1.0.11
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXAW,libxaw,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ libxaw-install:
${INSTALL_DIR} ${IDIR_LIBXAW}/usr/lib
${CP} ${WRKINST}/usr/lib/libXaw*.so* ${IDIR_LIBXAW}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXcomposite/Makefile b/package/libXcomposite/Makefile
index 7803894ba..e31c8d936 100644
--- a/package/libXcomposite/Makefile
+++ b/package/libXcomposite/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXcomposite
PKG_VERSION:= 0.4.3
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXCOMPOSITE,libxcomposite,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ libxcomposite-install:
${INSTALL_DIR} ${IDIR_LIBXCOMPOSITE}/usr/lib
${CP} ${WRKINST}/usr/lib/libXcomposite.so* ${IDIR_LIBXCOMPOSITE}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXcursor/Makefile b/package/libXcursor/Makefile
index 80214222e..8b0826c9d 100644
--- a/package/libXcursor/Makefile
+++ b/package/libXcursor/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXcursor
PKG_VERSION:= 1.1.13
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXCURSOR,libxcursor,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -25,4 +25,4 @@ libxcursor-install:
$(CP) $(WRKINST)/usr/lib/libXcursor*.so* \
$(IDIR_LIBXCURSOR)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXdamage/Makefile b/package/libXdamage/Makefile
index 6e5218d75..7b774f73d 100644
--- a/package/libXdamage/Makefile
+++ b/package/libXdamage/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXdamage
PKG_VERSION:= 1.1.3
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXDAMAGE,libxdamage,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -25,4 +25,4 @@ libxdamage-install:
$(CP) $(WRKINST)/usr/lib/libXdamage*.so* \
$(IDIR_LIBXDAMAGE)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXdmcp/Makefile b/package/libXdmcp/Makefile
index 54fcd57b5..6cbe645c6 100644
--- a/package/libXdmcp/Makefile
+++ b/package/libXdmcp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXdmcp
PKG_VERSION:= 1.1.1
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXDMCP,libxdmcp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ libxdmcp-install:
${INSTALL_DIR} ${IDIR_LIBXDMCP}/usr/lib
${CP} ${WRKINST}/usr/lib/libXdmcp.so* ${IDIR_LIBXDMCP}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXext/Makefile b/package/libXext/Makefile
index 9e5d221fa..cc060af22 100644
--- a/package/libXext/Makefile
+++ b/package/libXext/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXext
PKG_VERSION:= 1.3.1
@@ -16,8 +16,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBXEXT,libxext,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBXEXT,libxext,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -29,5 +29,5 @@ libxext-install:
${INSTALL_DIR} ${IDIR_LIBXEXT}/usr/lib
${CP} ${WRKINST}/usr/lib/libXext.so* ${IDIR_LIBXEXT}/usr/lib/
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXfixes/Makefile b/package/libXfixes/Makefile
index 27327dd07..6fcbd018e 100644
--- a/package/libXfixes/Makefile
+++ b/package/libXfixes/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXfixes
PKG_VERSION:= 5.0
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXFIXES,libxfixes,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libxfixes-install:
$(CP) $(WRKINST)/usr/lib/libXfixes*.so* \
$(IDIR_LIBXFIXES)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXfont/Makefile b/package/libXfont/Makefile
index 751c404cf..6778cb314 100644
--- a/package/libXfont/Makefile
+++ b/package/libXfont/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXfont
PKG_VERSION:= 1.4.5
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXFONT,libxfont,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -27,4 +27,4 @@ libxfont-install:
${INSTALL_DIR} ${IDIR_LIBXFONT}/usr/lib
${CP} ${WRKINST}/usr/lib/libXfont.so* ${IDIR_LIBXFONT}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXft/Makefile b/package/libXft/Makefile
index 2fe551bde..d3fd17029 100644
--- a/package/libXft/Makefile
+++ b/package/libXft/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXft
PKG_VERSION:= 2.3.1
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXFT,libxft,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ libxft-install:
${INSTALL_DIR} ${IDIR_LIBXFT}/usr/lib
${CP} ${WRKINST}/usr/lib/libXft.so* ${IDIR_LIBXFT}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXi/Makefile b/package/libXi/Makefile
index 2b366dee1..a10742027 100644
--- a/package/libXi/Makefile
+++ b/package/libXi/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXi
PKG_VERSION:= 1.6.1
@@ -17,8 +17,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBXI,libxi,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBXI,libxi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},$(PKG_OPTS)))
@@ -31,5 +31,5 @@ libxi-install:
$(CP) $(WRKINST)/usr/lib/libXi*.so* \
$(IDIR_LIBXI)/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXinerama/Makefile b/package/libXinerama/Makefile
index cfa4637d6..0d3958d14 100644
--- a/package/libXinerama/Makefile
+++ b/package/libXinerama/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXinerama
PKG_VERSION:= 1.1.2
@@ -17,8 +17,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBXINERAMA,libxinerama,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBXINERAMA,libxinerama,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -30,5 +30,5 @@ libxinerama-install:
${INSTALL_DIR} ${IDIR_LIBXINERAMA}/usr/lib
${CP} ${WRKINST}/usr/lib/libXinerama.so* ${IDIR_LIBXINERAMA}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXmu/Makefile b/package/libXmu/Makefile
index 11ff12b92..a594d619a 100644
--- a/package/libXmu/Makefile
+++ b/package/libXmu/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXmu
PKG_VERSION:= 1.1.1
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXMU,libxmu,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -25,4 +25,4 @@ libxmu-install:
${CP} ${WRKINST}/usr/lib/libXmu.so* ${IDIR_LIBXMU}/usr/lib
${CP} ${WRKINST}/usr/lib/libXmuu.so* ${IDIR_LIBXMU}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXp/Makefile b/package/libXp/Makefile
index e6894b122..b69b963c6 100644
--- a/package/libXp/Makefile
+++ b/package/libXp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXp
PKG_VERSION:= 1.0.1
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXP,libxp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ libxp-install:
${INSTALL_DIR} ${IDIR_LIBXP}/usr/lib
${CP} ${WRKINST}/usr/lib/libXp.so* ${IDIR_LIBXP}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXpm/Makefile b/package/libXpm/Makefile
index a32e76795..020853b8f 100644
--- a/package/libXpm/Makefile
+++ b/package/libXpm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXpm
PKG_VERSION:= 3.5.10
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXPM,libxpm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libxpm-install:
${INSTALL_DIR} ${IDIR_LIBXPM}/usr/lib
${CP} ${WRKINST}/usr/lib/libXpm.so* ${IDIR_LIBXPM}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXrandr/Makefile b/package/libXrandr/Makefile
index 42868233d..057d3d587 100644
--- a/package/libXrandr/Makefile
+++ b/package/libXrandr/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXrandr
PKG_VERSION:= 1.3.2
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXRANDR,libxrandr,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libxrandr-install:
${INSTALL_DIR} ${IDIR_LIBXRANDR}/usr/lib
${CP} ${WRKINST}/usr/lib/libXrandr.so* ${IDIR_LIBXRANDR}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXrender/Makefile b/package/libXrender/Makefile
index ab6a20791..43670d4e1 100644
--- a/package/libXrender/Makefile
+++ b/package/libXrender/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXrender
PKG_VERSION:= 0.9.7
@@ -18,8 +18,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBXRENDER,libxrender,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBXRENDER,libxrender,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -31,5 +31,5 @@ libxrender-install:
${INSTALL_DIR} ${IDIR_LIBXRENDER}/usr/lib
${CP} ${WRKINST}/usr/lib/libXrender.so* ${IDIR_LIBXRENDER}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXt/Makefile b/package/libXt/Makefile
index 0428f9f2a..ef2bcdfc7 100644
--- a/package/libXt/Makefile
+++ b/package/libXt/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXt
PKG_VERSION:= 1.1.4
@@ -18,8 +18,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBXT,libxt,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBXT,libxt,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -33,5 +33,5 @@ libxt-install:
${INSTALL_DIR} ${IDIR_LIBXT}/usr/lib
${CP} ${WRKINST}/usr/lib/libXt.so* ${IDIR_LIBXT}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXtst/Makefile b/package/libXtst/Makefile
index 4790863e4..46c28f603 100644
--- a/package/libXtst/Makefile
+++ b/package/libXtst/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXtst
PKG_VERSION:= 1.2.1
@@ -20,8 +20,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBXTST,libxtst,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBXTST,libxtst,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -33,5 +33,5 @@ libxtst-install:
${INSTALL_DIR} ${IDIR_LIBXTST}/usr/lib
${CP} ${WRKINST}/usr/lib/libXtst.so* ${IDIR_LIBXTST}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXv/Makefile b/package/libXv/Makefile
index 25cbd0867..4dea22e64 100644
--- a/package/libXv/Makefile
+++ b/package/libXv/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXv
PKG_VERSION:= 1.0.7
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXV,libxv,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libxv-install:
${INSTALL_DIR} ${IDIR_LIBXV}/usr/lib
${CP} ${WRKINST}/usr/lib/libXv.so* ${IDIR_LIBXV}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXxf86dga/Makefile b/package/libXxf86dga/Makefile
index a5198a659..abcef5f3c 100644
--- a/package/libXxf86dga/Makefile
+++ b/package/libXxf86dga/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXxf86dga
PKG_VERSION:= 1.1.4
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXXF86DGA,libxxf86dga,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libxxf86dga-install:
${INSTALL_DIR} ${IDIR_LIBXXF86DGA}/usr/lib
${CP} ${WRKINST}/usr/lib/libXxf86dga.so* ${IDIR_LIBXXF86DGA}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libXxf86vm/Makefile b/package/libXxf86vm/Makefile
index df374f9e2..5491e10e3 100644
--- a/package/libXxf86vm/Makefile
+++ b/package/libXxf86vm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libXxf86vm
PKG_VERSION:= 1.1.2
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXXF86VM,libxxf86vm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -27,4 +27,4 @@ libxxf86vm-install:
${CP} $(WRKINST)/usr/lib/libXxf86vm*.so* \
$(IDIR_LIBXXF86VM)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libantlr3c/Makefile b/package/libantlr3c/Makefile
index 561f5a2f4..f1ab4ef89 100755
--- a/package/libantlr3c/Makefile
+++ b/package/libantlr3c/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libantlr3c
PKG_VERSION:= 3.2
@@ -14,7 +14,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBANTLR3C,libantlr3c,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ libantlr3c-install:
${INSTALL_DIR} ${IDIR_LIBANTLR3C}/usr/lib
${CP} ${WRKINST}/usr/lib/libantlr3c.so* ${IDIR_LIBANTLR3C}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libao/Makefile b/package/libao/Makefile
index 0e5b9236e..3d5297634 100644
--- a/package/libao/Makefile
+++ b/package/libao/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libao
PKG_VERSION:= 1.1.0
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBAO,libao,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -33,4 +33,4 @@ libao-install:
${CP} ${WRKINST}/usr/lib/ao/plugins-4/*.so \
${IDIR_LIBAO}/usr/lib/ao/plugins-4
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libart/Makefile b/package/libart/Makefile
index c83cc3403..f101d3dcc 100644
--- a/package/libart/Makefile
+++ b/package/libart/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libart
PKG_VERSION:= 2.3.17
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}_lgpl-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/${PKG_NAME}_lgpl-${PKG_VERSION}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBART,libart,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -25,4 +25,4 @@ libart-install:
${INSTALL_DIR} ${IDIR_LIBART}/usr/lib
${CP} ${WRKINST}/usr/lib/libart_lgpl_2.so* ${IDIR_LIBART}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libass/Makefile b/package/libass/Makefile
index 3e74c1a91..56e1cd16e 100644
--- a/package/libass/Makefile
+++ b/package/libass/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libass
PKG_VERSION:= 0.10.1
@@ -15,7 +15,7 @@ PKG_URL:= http://code.google.com/p/libass/
PKG_SITES:= http://libass.googlecode.com/files/
PKG_OPTS:= dev
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBASS,libass,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ libass-install:
$(CP) $(WRKINST)/usr/lib/libass*.so* \
$(IDIR_LIBASS)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libatomic_ops/Makefile b/package/libatomic_ops/Makefile
index fc662442e..5c03cf802 100644
--- a/package/libatomic_ops/Makefile
+++ b/package/libatomic_ops/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libatomic_ops
PKG_VERSION:= 7.4.0
@@ -16,8 +16,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBATOMIC_OPS,libatomic-ops,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBATOMIC_OPS,libatomic-ops,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -27,5 +27,5 @@ libatomic-ops-install:
$(CP) $(WRKINST)/usr/lib/libatomic_ops*.so* \
$(IDIR_LIBATOMIC_OPS)/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libaudiofile/Makefile b/package/libaudiofile/Makefile
index ea88b9c5b..7404a8c30 100644
--- a/package/libaudiofile/Makefile
+++ b/package/libaudiofile/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= audiofile
PKG_VERSION:= 0.3.6
@@ -18,7 +18,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBAUDIOFILE,libaudiofile,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -29,4 +29,4 @@ libaudiofile-install:
${INSTALL_DIR} ${IDIR_LIBAUDIOFILE}/usr/lib
${CP} ${WRKINST}/usr/lib/libaudiofile.so* ${IDIR_LIBAUDIOFILE}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libavl/Makefile b/package/libavl/Makefile
index c8b9d78e4..8342ae312 100755
--- a/package/libavl/Makefile
+++ b/package/libavl/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libavl
PKG_VERSION:= 0.3.5
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= $(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
WRKDIST= $(WRKDIR)/avl-$(PKG_VERSION)
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBAVL,libavl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -27,4 +27,4 @@ libavl-install:
${INSTALL_DIR} ${IDIR_LIBAVL}/usr/lib
${CP} ${WRKINST}/usr/lib/libavl.so* ${IDIR_LIBAVL}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libbluray/Makefile b/package/libbluray/Makefile
index 94e6d7521..d5fd00beb 100644
--- a/package/libbluray/Makefile
+++ b/package/libbluray/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libbluray
PKG_VERSION:= 0.4.0
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBBLURAY,libbluray,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libbluray-install:
$(CP) $(WRKINST)/usr/lib/libbluray*.so* \
$(IDIR_LIBBLURAY)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libcap/Makefile b/package/libcap/Makefile
index cd693ac03..4372f387d 100644
--- a/package/libcap/Makefile
+++ b/package/libcap/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libcap
PKG_VERSION:= 2.22
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBCAP,libcap,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -28,4 +28,4 @@ libcap-install:
$(CP) $(WRKINST)/usr/lib/libcap*.so* \
$(IDIR_LIBCAP)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libcapi20/Makefile b/package/libcapi20/Makefile
index 17a993c5f..e005f94f9 100644
--- a/package/libcapi20/Makefile
+++ b/package/libcapi20/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libcapi20
PKG_VERSION:= 3.0.5-cm2
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBCAPI20,libcapi20,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libcapi20-install:
${INSTALL_DIR} ${IDIR_LIBCAPI20}/usr/lib
${CP} ${WRKINST}/usr/lib/libcapi*.so* ${IDIR_LIBCAPI20}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libcdio/Makefile b/package/libcdio/Makefile
index dbe71b18f..ae4b373ea 100644
--- a/package/libcdio/Makefile
+++ b/package/libcdio/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libcdio
PKG_VERSION:= 0.92
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBCDIO,libcdio,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libcdio-install:
$(CP) $(WRKINST)/usr/lib/libcdio*.so* \
$(IDIR_LIBCDIO)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libcec/Makefile b/package/libcec/Makefile
index b922859d4..1931d49ff 100644
--- a/package/libcec/Makefile
+++ b/package/libcec/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libcec
PKG_VERSION:= 2.1.4
@@ -22,7 +22,7 @@ PKG_BUILDDEP_RASPBERRY_PI:= bcm2835-vc
PKG_SYSTEM_DEPENDS:= raspberry-pi ibm-x40
PKG_LIBC_DEPENDS:= glibc musl
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBCEC,libcec,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -41,4 +41,4 @@ libcec-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/cec-client \
$(IDIR_LIBCEC)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libcli/Makefile b/package/libcli/Makefile
index e15018270..b974c7651 100755
--- a/package/libcli/Makefile
+++ b/package/libcli/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libcli
PKG_VERSION:= 1.9.7
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBCLI,libcli,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -25,4 +25,4 @@ libcli-install:
${INSTALL_DIR} ${IDIR_LIBCLI}/usr/lib
${CP} ${WRKINST}/usr/lib/libcli.so* ${IDIR_LIBCLI}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libcroco/Makefile b/package/libcroco/Makefile
index 5c1dc7a47..4fc771994 100644
--- a/package/libcroco/Makefile
+++ b/package/libcroco/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libcroco
PKG_VERSION:= 0.6.8
@@ -15,8 +15,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBCROCO,libcroco,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBCROCO,libcroco,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,5 +26,5 @@ libcroco-install:
$(CP) $(WRKINST)/usr/lib/libcroco*.so* \
$(IDIR_LIBCROCO)/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libdaemon/Makefile b/package/libdaemon/Makefile
index 698a6e765..2ff870121 100644
--- a/package/libdaemon/Makefile
+++ b/package/libdaemon/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libdaemon
PKG_VERSION:= 0.14
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBDAEMON,libdaemon,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -28,4 +28,4 @@ libdaemon-install:
${INSTALL_DIR} ${IDIR_LIBDAEMON}/usr/lib
${CP} ${WRKINST}/usr/lib/libdaemon.so* ${IDIR_LIBDAEMON}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libdnet/Makefile b/package/libdnet/Makefile
index 13177cfcf..d22771571 100644
--- a/package/libdnet/Makefile
+++ b/package/libdnet/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libdnet
PKG_VERSION:= 1.11
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBDNET,libdnet,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -30,4 +30,4 @@ libdnet-install:
$(INSTALL_DIR) $(IDIR_LIBDNET)/usr/lib
$(CP) $(WRKINST)/usr/lib/libdnet.so* $(IDIR_LIBDNET)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libdrm/Makefile b/package/libdrm/Makefile
index bed9c15c2..206cf198f 100644
--- a/package/libdrm/Makefile
+++ b/package/libdrm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libdrm
PKG_VERSION:= 2.4.53
@@ -18,7 +18,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_ARCH_DEPENDS:= !m68k
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBDRM,libdrm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -29,4 +29,4 @@ libdrm-install:
$(CP) $(WRKINST)/usr/lib/libdrm*.so* \
$(IDIR_LIBDRM)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libelf/Makefile b/package/libelf/Makefile
index 2ad7a1e54..fe329383e 100644
--- a/package/libelf/Makefile
+++ b/package/libelf/Makefile
@@ -1,8 +1,8 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
-include ${TOPDIR}/toolchain/libelf/Makefile.inc
+include ${ADK_TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/toolchain/libelf/Makefile.inc
PKG_NAME:= libelf
PKG_DESCR:= elf library
@@ -10,7 +10,7 @@ PKG_SECTION:= libs/misc
PKG_SITES:= http://www.mr511.de/software/
PKG_OPTS:= dev
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBELF,libelf,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ libelf-install:
${INSTALL_DIR} ${IDIR_LIBELF}/usr/lib
${CP} ${WRKINST}/usr/lib/libelf.so* ${IDIR_LIBELF}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libesmtp/Makefile b/package/libesmtp/Makefile
index be631e8e4..69d37a6ef 100644
--- a/package/libesmtp/Makefile
+++ b/package/libesmtp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libesmtp
PKG_VERSION:= 1.0.6
@@ -20,7 +20,7 @@ PKGFD_WITH_SSL:= enable ssl support
PKGFS_WITH_SSL:= libopenssl
PKGFB_WITH_SSL:= openssl
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBESMTP,libesmtp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -38,4 +38,4 @@ libesmtp-install:
$(CP) $(WRKINST)/usr/lib/esmtp-plugins/*.so \
$(IDIR_LIBESMTP)/usr/lib/esmtp-plugins/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libestr/Makefile b/package/libestr/Makefile
index f6840ca6b..907aa8b6d 100644
--- a/package/libestr/Makefile
+++ b/package/libestr/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libestr
PKG_VERSION:= 0.1.9
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBESTR,libestr,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ libestr-install:
$(CP) $(WRKINST)/usr/lib/libestr*.so* \
$(IDIR_LIBESTR)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libevent/Makefile b/package/libevent/Makefile
index e15dd752f..15833bc2e 100644
--- a/package/libevent/Makefile
+++ b/package/libevent/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libevent
PKG_VERSION:= 2.0.21
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION)-stable.tar.gz
WRKDIST= $(WRKDIR)/$(PKG_NAME)-$(PKG_VERSION)-stable
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBEVENT,libevent,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ libevent-install:
$(INSTALL_DIR) $(IDIR_LIBEVENT)/usr/lib
$(CP) $(WRKINST)/usr/lib/libevent*.so* $(IDIR_LIBEVENT)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libffi/Makefile b/package/libffi/Makefile
index f8d72211b..9d803cea6 100644
--- a/package/libffi/Makefile
+++ b/package/libffi/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libffi
PKG_VERSION:= 3.1
@@ -15,8 +15,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,LIBFFI,libffi,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBFFI,libffi,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -30,5 +30,5 @@ libffi-install:
${INSTALL_DIR} ${IDIR_LIBFFI}/usr/lib
${CP} ${WRKINST}/usr/lib/libffi.so* ${IDIR_LIBFFI}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libfontenc/Makefile b/package/libfontenc/Makefile
index e702ecbd4..0af60dd19 100644
--- a/package/libfontenc/Makefile
+++ b/package/libfontenc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libfontenc
PKG_VERSION:= 1.1.1
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBFONTENC,libfontenc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ libfontenc-install:
${INSTALL_DIR} ${IDIR_LIBFONTENC}/usr/lib
${CP} ${WRKINST}/usr/lib/libfontenc.so* ${IDIR_LIBFONTENC}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libgc/Makefile b/package/libgc/Makefile
index 75e14fee6..dc3d6d8f9 100644
--- a/package/libgc/Makefile
+++ b/package/libgc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libgc
PKG_VERSION:= 7.4.0
@@ -18,8 +18,8 @@ PKG_OPTS:= dev
DISTFILES= gc-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/gc-${PKG_VERSION}
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBGC,libgc,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBGC,libgc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -29,5 +29,5 @@ libgc-install:
$(CP) $(WRKINST)/usr/lib/libgc*.so* \
$(IDIR_LIBGC)/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libgcrypt/Makefile b/package/libgcrypt/Makefile
index 1df7b4735..f25acaa28 100644
--- a/package/libgcrypt/Makefile
+++ b/package/libgcrypt/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libgcrypt
PKG_VERSION:= 1.6.1
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBGCRYPT,libgcrypt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -35,4 +35,4 @@ libgcrypt-install:
${CP} ${WRKINST}/usr/lib/libgcrypt.so* \
${IDIR_LIBGCRYPT}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libgd/Makefile b/package/libgd/Makefile
index 2ca69043b..5cd449801 100644
--- a/package/libgd/Makefile
+++ b/package/libgd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libgd
PKG_VERSION:= 2.1.0
@@ -16,7 +16,7 @@ PKG_SITES:= https://bitbucket.org/libgd/gd-libgd/downloads/
PKG_LIBNAME:= libgd
PKG_OPTS:= dev
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBGD,libgd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -32,4 +32,4 @@ libgd-install:
${INSTALL_DIR} ${IDIR_LIBGD}/usr/lib
${CP} ${WRKINST}/usr/lib/libgd.so* ${IDIR_LIBGD}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libglew/Makefile b/package/libglew/Makefile
index 380a318e6..eac6dab11 100644
--- a/package/libglew/Makefile
+++ b/package/libglew/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libglew
PKG_VERSION:= 1.10.0
@@ -20,7 +20,7 @@ PKG_ARCH_DEPENDS:= !m68k
DISTFILES:= glew-$(PKG_VERSION).tgz
WRKDIST= ${WRKDIR}/glew-$(PKG_VERSION)
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBGLEW,libglew,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -32,4 +32,4 @@ libglew-install:
$(CP) $(WRKINST)/usr/lib/libGLEW.so* \
$(IDIR_LIBGLEW)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libgpg-error/Makefile b/package/libgpg-error/Makefile
index 2b142d714..82db8ea80 100644
--- a/package/libgpg-error/Makefile
+++ b/package/libgpg-error/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libgpg-error
PKG_VERSION:= 1.12
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBGPG_ERROR,libgpg-error,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ libgpg-error-install:
${CP} ${WRKINST}/usr/lib/libgpg-error.so* \
${IDIR_LIBGPG_ERROR}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libgssglue/Makefile b/package/libgssglue/Makefile
index 8a4293b6c..6123e6502 100644
--- a/package/libgssglue/Makefile
+++ b/package/libgssglue/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libgssglue
PKG_VERSION:= 0.3
@@ -14,7 +14,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBGSSGLUE,libgssglue,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -22,4 +22,4 @@ libgssglue-install:
$(INSTALL_DIR) $(IDIR_LIBGSSGLUE)/usr/lib
$(CP) $(WRKINST)/usr/lib/libgssglue.so* $(IDIR_LIBGSSGLUE)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libhugetlbfs/Makefile b/package/libhugetlbfs/Makefile
index 96a6cd5bb..d2180f7ab 100644
--- a/package/libhugetlbfs/Makefile
+++ b/package/libhugetlbfs/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libhugetlbfs
PKG_VERSION:= 2.11
@@ -17,7 +17,7 @@ PKG_LIBC_DEPENDS:= glibc musl
PKG_ARCH_DEPENDS:= x86 x86_64
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBHUGETLBFS,libhugetlbfs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -38,4 +38,4 @@ libhugetlbfs-install:
${CP} ${WRKINST}/usr/share/libhugetlbfs/ld \
${IDIR_LIBHUGETLBFS}/usr/share/libhugetlbfs
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libiconv-tiny/Makefile b/package/libiconv-tiny/Makefile
index e0f824513..1a0f39f08 100644
--- a/package/libiconv-tiny/Makefile
+++ b/package/libiconv-tiny/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libiconv-tiny
PKG_VERSION:= 0.1
@@ -15,8 +15,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBICONV_TINY,libiconv-tiny,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBICONV_TINY,libiconv-tiny,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -36,5 +36,5 @@ libiconv-tiny-hostinstall:
$(CP) $(WRKBUILD)/m4/iconv.m4 \
$(STAGING_HOST_DIR)/usr/share/aclocal
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libid3tag/Makefile b/package/libid3tag/Makefile
index b3cd8f9fb..defd932bf 100644
--- a/package/libid3tag/Makefile
+++ b/package/libid3tag/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libid3tag
PKG_VERSION:= 0.15.1b
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBID3TAG,libid3tag,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -31,4 +31,4 @@ libid3tag-install:
${INSTALL_DIR} ${IDIR_LIBID3TAG}/usr/lib
${CP} ${WRKINST}/usr/lib/libid3tag.so* ${IDIR_LIBID3TAG}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libjansson/Makefile b/package/libjansson/Makefile
index 9cbdc9b82..257c83ceb 100644
--- a/package/libjansson/Makefile
+++ b/package/libjansson/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libjansson
PKG_VERSION:= 2.5
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= jansson-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/jansson-${PKG_VERSION}
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBJANSSON,libjansson,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -27,4 +27,4 @@ libjansson-install:
$(CP) $(WRKINST)/usr/lib/libjansson*.so* \
$(IDIR_LIBJANSSON)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libjasper/Makefile b/package/libjasper/Makefile
index 8bb52a3d8..56fe1cad5 100644
--- a/package/libjasper/Makefile
+++ b/package/libjasper/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libjasper
PKG_VERSION:= 1.900
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= jasper-${PKG_VERSION}.1.zip
WRKDIST= ${WRKDIR}/jasper-$(PKG_VERSION).1
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBJASPER,libjasper,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -27,4 +27,4 @@ libjasper-install:
$(CP) $(WRKINST)/usr/lib/libjasper*.so* \
$(IDIR_LIBJASPER)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libjpeg-turbo/Makefile b/package/libjpeg-turbo/Makefile
index 751ec4c9a..196f0d033 100644
--- a/package/libjpeg-turbo/Makefile
+++ b/package/libjpeg-turbo/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libjpeg-turbo
PKG_VERSION:= 1.3.1
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBJPEG_TURBO,libjpeg-turbo,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -28,4 +28,4 @@ libjpeg-turbo-install:
$(CP) $(WRKINST)/usr/lib/lib{turbo,}jpeg*.so* \
$(IDIR_LIBJPEG_TURBO)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libjson/Makefile b/package/libjson/Makefile
index fcb4ba93a..820363518 100644
--- a/package/libjson/Makefile
+++ b/package/libjson/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libjson
PKG_VERSION:= 7.6.1
@@ -18,7 +18,7 @@ PKG_NOPARALLEL:= 1
DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.zip
WRKDIST= ${WRKDIR}/${PKG_NAME}
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBJSON,libjson,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -31,4 +31,4 @@ libjson-install:
$(CP) $(WRKINST)/usr/lib/libjson*.so* \
$(IDIR_LIBJSON)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/liblogging/Makefile b/package/liblogging/Makefile
index 19375fc56..ab6680ba1 100644
--- a/package/liblogging/Makefile
+++ b/package/liblogging/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= liblogging
PKG_VERSION:= 1.0.4
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBLOGGING,liblogging,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -27,4 +27,4 @@ liblogging-install:
$(CP) $(WRKINST)/usr/lib/liblogging*.so* \
$(IDIR_LIBLOGGING)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/liblzo/Makefile b/package/liblzo/Makefile
index 8c752a180..b701b087e 100644
--- a/package/liblzo/Makefile
+++ b/package/liblzo/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= lzo
PKG_VERSION:= 2.06
@@ -16,8 +16,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,LIBLZO,liblzo,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBLZO,liblzo,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},$(PKG_OPTS)))
@@ -29,5 +29,5 @@ liblzo-install:
${INSTALL_DIR} ${IDIR_LIBLZO}/usr/lib
${CP} ${WRKINST}/usr/lib/liblzo2.so* ${IDIR_LIBLZO}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libmad/Makefile b/package/libmad/Makefile
index 19f69f841..7480af2dd 100644
--- a/package/libmad/Makefile
+++ b/package/libmad/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libmad
PKG_VERSION:= 0.15.1b
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBMAD,libmad,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -64,4 +64,4 @@ libmad-install:
${INSTALL_DIR} ${IDIR_LIBMAD}/usr/lib
${CP} ${WRKINST}/usr/lib/libmad.so* ${IDIR_LIBMAD}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libmicrohttpd/Makefile b/package/libmicrohttpd/Makefile
index 5e468fc40..c407ed412 100644
--- a/package/libmicrohttpd/Makefile
+++ b/package/libmicrohttpd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libmicrohttpd
PKG_VERSION:= 0.9.37
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBMICROHTTPD,libmicrohttpd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -29,4 +29,4 @@ libmicrohttpd-install:
$(CP) $(WRKINST)/usr/lib/libmicrohttpd*.so* \
$(IDIR_LIBMICROHTTPD)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libmms/Makefile b/package/libmms/Makefile
index e3033bf4f..2294f3b40 100644
--- a/package/libmms/Makefile
+++ b/package/libmms/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libmms
PKG_VERSION:= 0.6.2
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBMMS,libmms,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -25,4 +25,4 @@ libmms-install:
${INSTALL_DIR} ${IDIR_LIBMMS}/usr/lib
${CP} ${WRKINST}/usr/lib/libmms.so* ${IDIR_LIBMMS}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libmnl/Makefile b/package/libmnl/Makefile
index 09e9c445a..f1173367a 100644
--- a/package/libmnl/Makefile
+++ b/package/libmnl/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libmnl
PKG_VERSION:= 1.0.3
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBMNL,libmnl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -23,4 +23,4 @@ libmnl-install:
$(INSTALL_DIR) $(IDIR_LIBMNL)/usr/lib
$(CP) $(WRKINST)/usr/lib/libmnl.so* $(IDIR_LIBMNL)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libmodplug/Makefile b/package/libmodplug/Makefile
index 7a87db471..d4321f961 100644
--- a/package/libmodplug/Makefile
+++ b/package/libmodplug/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libmodplug
PKG_VERSION:= 0.8.8.5
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBMODPLUG,libmodplug,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ libmodplug-install:
$(CP) $(WRKINST)/usr/lib/libmodplug*.so* \
$(IDIR_LIBMODPLUG)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libmpc/Makefile b/package/libmpc/Makefile
index 91414353e..f0b3b6ed5 100644
--- a/package/libmpc/Makefile
+++ b/package/libmpc/Makefile
@@ -1,8 +1,8 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
-include ${TOPDIR}/toolchain/mpc/Makefile.inc
+include ${ADK_TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/toolchain/mpc/Makefile.inc
PKG_NAME:= mpc
PKG_DESCR:= multiprecision arithmetic library
@@ -12,7 +12,7 @@ PKG_URL:= http://www.multiprecision.org/
PKG_LIBNAME:= libmpc
PKG_OPTS:= dev
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBMPC,libmpc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -20,4 +20,4 @@ libmpc-install:
${INSTALL_DIR} ${IDIR_LIBMPC}/usr/lib
${CP} ${WRKINST}/usr/lib/libmpc.so* ${IDIR_LIBMPC}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libmpdclient/Makefile b/package/libmpdclient/Makefile
index 33dea0e13..a778bf973 100644
--- a/package/libmpdclient/Makefile
+++ b/package/libmpdclient/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libmpdclient
PKG_VERSION:= 2.9
@@ -13,7 +13,7 @@ PKG_URL:= http://www.musicpd.org/
PKG_SITES:= http://www.musicpd.org/download/libmpdclient/2/
PKG_OPTS:= dev
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBMPDCLIENT,libmpdclient,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -25,4 +25,4 @@ libmpdclient-install:
$(CP) $(WRKINST)/usr/lib/libmpdclient*.so* \
$(IDIR_LIBMPDCLIENT)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libmpeg2/Makefile b/package/libmpeg2/Makefile
index aa77c3af8..9362c0445 100644
--- a/package/libmpeg2/Makefile
+++ b/package/libmpeg2/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libmpeg2
PKG_VERSION:= 0.5.1
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBMPEG2,libmpeg2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libmpeg2-install:
$(CP) $(WRKINST)/usr/lib/libmpeg2*.so* \
$(IDIR_LIBMPEG2)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libnet/Makefile b/package/libnet/Makefile
index 5bf0f0b8b..6ae439355 100644
--- a/package/libnet/Makefile
+++ b/package/libnet/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libnet
PKG_VERSION:= 1.1.6
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBNET,libnet,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -40,4 +40,4 @@ libnet-install:
${INSTALL_DIR} ${IDIR_LIBNET}/usr/lib
${CP} ${WRKINST}/usr/lib/libnet.so* ${IDIR_LIBNET}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libnetfilter_acct/Makefile b/package/libnetfilter_acct/Makefile
index 0a2565c95..7cd463320 100644
--- a/package/libnetfilter_acct/Makefile
+++ b/package/libnetfilter_acct/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libnetfilter_acct
PKG_VERSION:= 1.0.2
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBNETFILTER_ACCT,libnetfilter-acct,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libnetfilter-acct-install:
$(CP) $(WRKINST)/usr/lib/libnetfilter_acct*so* \
$(IDIR_LIBNETFILTER_ACCT)/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libnetfilter_conntrack/Makefile b/package/libnetfilter_conntrack/Makefile
index a23579dd5..c506bc493 100644
--- a/package/libnetfilter_conntrack/Makefile
+++ b/package/libnetfilter_conntrack/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libnetfilter_conntrack
PKG_VERSION:= 1.0.4
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBNETFILTER_CONNTRACK,libnetfilter-conntrack,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libnetfilter-conntrack-install:
$(CP) $(WRKINST)/usr/lib/libnetfilter_conntrack*so* \
$(IDIR_LIBNETFILTER_CONNTRACK)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libnetfilter_cthelper/Makefile b/package/libnetfilter_cthelper/Makefile
index bd804aa7f..5dd958af7 100644
--- a/package/libnetfilter_cthelper/Makefile
+++ b/package/libnetfilter_cthelper/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libnetfilter_cthelper
PKG_VERSION:= 1.0.0
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBNETFILTER_CTHELPER,libnetfilter-cthelper,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libnetfilter-cthelper-install:
$(CP) $(WRKINST)/usr/lib/libnetfilter_cthelper*so* \
$(IDIR_LIBNETFILTER_CTHELPER)/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libnetfilter_cttimeout/Makefile b/package/libnetfilter_cttimeout/Makefile
index 9f4de8a60..d13704c78 100644
--- a/package/libnetfilter_cttimeout/Makefile
+++ b/package/libnetfilter_cttimeout/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libnetfilter_cttimeout
PKG_VERSION:= 1.0.0
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBNETFILTER_CTTIMEOUT,libnetfilter-cttimeout,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libnetfilter-cttimeout-install:
$(CP) $(WRKINST)/usr/lib/libnetfilter_cttimeout*so* \
$(IDIR_LIBNETFILTER_CTTIMEOUT)/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libnetfilter_log/Makefile b/package/libnetfilter_log/Makefile
index 90666c71c..6dadf0808 100644
--- a/package/libnetfilter_log/Makefile
+++ b/package/libnetfilter_log/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libnetfilter_log
PKG_VERSION:= 1.0.1
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBNETFILTER_LOG,libnetfilter-log,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libnetfilter-log-install:
$(CP) $(WRKINST)/usr/lib/libnetfilter_log*so* \
$(IDIR_LIBNETFILTER_LOG)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libnetfilter_queue/Makefile b/package/libnetfilter_queue/Makefile
index 5a12f4b63..899ef32e0 100644
--- a/package/libnetfilter_queue/Makefile
+++ b/package/libnetfilter_queue/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libnetfilter_queue
PKG_VERSION:= 1.0.2
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBNETFILTER_QUEUE,libnetfilter-queue,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -28,4 +28,4 @@ libnetfilter-queue-install:
$(CP) $(WRKINST)/usr/lib/libnetfilter_queue*so* \
$(IDIR_LIBNETFILTER_QUEUE)/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libnettle/Makefile b/package/libnettle/Makefile
index 0fce107b4..f876dbb51 100644
--- a/package/libnettle/Makefile
+++ b/package/libnettle/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libnettle
PKG_VERSION:= 2.7.1
@@ -18,7 +18,7 @@ PKG_OPTS:= dev
DISTFILES:= nettle-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/nettle-${PKG_VERSION}
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBNETTLE,libnettle,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -29,4 +29,4 @@ libnettle-install:
$(CP) $(WRKINST)/usr/lib/libhogweed.so* \
$(IDIR_LIBNETTLE)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libnfnetlink/Makefile b/package/libnfnetlink/Makefile
index 21a55ae25..46537d4cc 100644
--- a/package/libnfnetlink/Makefile
+++ b/package/libnfnetlink/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libnfnetlink
PKG_VERSION:= 1.0.1
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBNFNETLINK,libnfnetlink,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -23,4 +23,4 @@ libnfnetlink-install:
$(INSTALL_DIR) $(IDIR_LIBNFNETLINK)/usr/lib
$(CP) $(WRKINST)/usr/lib/libnfnetlink.so* $(IDIR_LIBNFNETLINK)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libnfs/Makefile b/package/libnfs/Makefile
index 0b9eb79e4..e0856140f 100644
--- a/package/libnfs/Makefile
+++ b/package/libnfs/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libnfs
PKG_VERSION:= 1.9.3
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBNFS,libnfs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libnfs-install:
$(CP) $(WRKINST)/usr/lib/libnfs*.so* \
$(IDIR_LIBNFS)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libnfsidmap/Makefile b/package/libnfsidmap/Makefile
index 62136594a..e49f4d7dd 100644
--- a/package/libnfsidmap/Makefile
+++ b/package/libnfsidmap/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libnfsidmap
PKG_VERSION:= 0.25
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBNFSIDMAP,libnfsidmap,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libnfsidmap-install:
$(CP) $(WRKINST)//usr/lib/libnfsidmap/static.so \
$(IDIR_LIBNFSIDMAP)/usr/lib/libnfsidmap
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libnids/Makefile b/package/libnids/Makefile
index db473e5de..a29abb2d7 100644
--- a/package/libnids/Makefile
+++ b/package/libnids/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libnids
PKG_VERSION:= 1.24
@@ -19,7 +19,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_LIBC_DEPENDS:= uclibc glibc
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBNIDS,libnids,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -33,4 +33,4 @@ libnids-install:
${INSTALL_DIR} ${IDIR_LIBNIDS}/usr/lib
${CP} ${WRKINST}/usr/lib/libnids.so* ${IDIR_LIBNIDS}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libnl/Makefile b/package/libnl/Makefile
index a5d6dcfed..4bdf2b0b0 100644
--- a/package/libnl/Makefile
+++ b/package/libnl/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libnl
PKG_VERSION:= 3.2.24
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBNL,libnl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -37,4 +37,4 @@ libnl-install:
$(CP) ${WRKINST}/usr/lib/libnl/cli/qdisc/*.so \
${IDIR_LIBNL}/usr/lib/libnl/cli/qdisc
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libnotify/Makefile b/package/libnotify/Makefile
index 690fcb6ca..949f5c0e2 100644
--- a/package/libnotify/Makefile
+++ b/package/libnotify/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libnotify
PKG_VERSION:= 0.4.5
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBNOTIFY,libnotify,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libnotify-install:
$(CP) $(WRKINST)/usr/lib/libnotify*.so* \
$(IDIR_LIBNOTIFY)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libogg/Makefile b/package/libogg/Makefile
index 7f719812b..1b04808e7 100644
--- a/package/libogg/Makefile
+++ b/package/libogg/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libogg
PKG_VERSION:= 1.3.1
@@ -13,7 +13,7 @@ PKG_URL:= http://www.xiph.org/ogg
PKG_SITES:= http://downloads.xiph.org/releases/ogg/
PKG_OPTS:= dev
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBOGG,libogg,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -21,4 +21,4 @@ libogg-install:
${INSTALL_DIR} ${IDIR_LIBOGG}/usr/lib
${CP} ${WRKINST}/usr/lib/libogg.so* ${IDIR_LIBOGG}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libosip2/Makefile b/package/libosip2/Makefile
index 67b7b77cb..db5b0abce 100644
--- a/package/libosip2/Makefile
+++ b/package/libosip2/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libosip2
PKG_VERSION:= 3.3.0
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBOSIP2,libosip2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -30,4 +30,4 @@ libosip2-install:
${CP} ${WRKINST}/usr/lib/libosip{,parser}2.so* \
${IDIR_LIBOSIP2}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libowfat/Makefile b/package/libowfat/Makefile
index ea8bb6ed2..86e870505 100644
--- a/package/libowfat/Makefile
+++ b/package/libowfat/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libowfat
PKG_VERSION:= 0.29
@@ -13,7 +13,7 @@ PKG_SITES:= http://dl.fefe.de/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
CONFIG_STYLE:= manual
@@ -24,4 +24,4 @@ MAKE_FLAGS+= DIET= CC='${TARGET_CC}' CROSS=${TARGET_CROSS} \
FAKE_FLAGS+= prefix='${WRKINST}/usr' \
INCLUDEDIR='${WRKINST}/usr/include/owfat'
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libp11/Makefile b/package/libp11/Makefile
index 4a256a9b0..fe5224a38 100644
--- a/package/libp11/Makefile
+++ b/package/libp11/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libp11
PKG_VERSION:= 0.2.7
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBP11,libp11,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -25,4 +25,4 @@ libp11-install:
${INSTALL_DIR} ${IDIR_LIBP11}/usr/lib
${CP} ${WRKINST}/usr/lib/libp11.so* ${IDIR_LIBP11}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile
index aa8b952f8..e3055041a 100644
--- a/package/libpcap/Makefile
+++ b/package/libpcap/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libpcap
PKG_VERSION:= 1.5.2
@@ -19,7 +19,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_FLAVOURS_LIBPCAP:= WITH_IPV6
PKGFD_WITH_IPV6:= enable IPv6 support
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBPCAP,libpcap,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -45,4 +45,4 @@ libpcap-install:
${INSTALL_DIR} ${IDIR_LIBPCAP}/usr/lib
${CP} ${WRKINST}/usr/lib/libpcap.so* ${IDIR_LIBPCAP}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libpciaccess/Makefile b/package/libpciaccess/Makefile
index c32a32579..6f91b4146 100644
--- a/package/libpciaccess/Makefile
+++ b/package/libpciaccess/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libpciaccess
PKG_VERSION:= 0.13.2
@@ -14,7 +14,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBPCIACCESS,libpciaccess,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -23,4 +23,4 @@ libpciaccess-install:
${CP} ${WRKINST}/usr/lib/libpciaccess.so* \
${IDIR_LIBPCIACCESS}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libpng/Makefile b/package/libpng/Makefile
index 57092b569..4bddea6be 100644
--- a/package/libpng/Makefile
+++ b/package/libpng/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libpng
PKG_VERSION:= 1.6.12
@@ -15,8 +15,8 @@ PKG_URL:= http://www.libpng.org/pub/png/libpng.html
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libpng/}
PKG_OPTS:= dev
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,LIBPNG,libpng,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBPNG,libpng,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -25,5 +25,5 @@ libpng-install:
${INSTALL_DIR} ${IDIR_LIBPNG}/usr/lib
${CP} ${WRKINST}/usr/lib/libpng*.so* ${IDIR_LIBPNG}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libpri/Makefile b/package/libpri/Makefile
index e12da7a51..8e885403b 100644
--- a/package/libpri/Makefile
+++ b/package/libpri/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libpri
PKG_VERSION:= 1.4.12
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBPRI,libpri,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -28,4 +28,4 @@ libpri-install:
${INSTALL_DIR} ${IDIR_LIBPRI}/usr/lib
${CP} ${WRKINST}/usr/lib/libpri.so* ${IDIR_LIBPRI}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libpthread-stubs/Makefile b/package/libpthread-stubs/Makefile
index c3d68668b..be58e9b5d 100644
--- a/package/libpthread-stubs/Makefile
+++ b/package/libpthread-stubs/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libpthread-stubs
PKG_VERSION:= 0.3
@@ -16,8 +16,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBPTHREAD_STUBS,libpthread-stubs,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBPTHREAD_STUBS,libpthread-stubs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -28,5 +28,5 @@ endif
HOST_STYLE:= auto
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libpthread/Makefile b/package/libpthread/Makefile
index df759bbe7..4589d6c0a 100644
--- a/package/libpthread/Makefile
+++ b/package/libpthread/Makefile
@@ -1,16 +1,16 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
ifeq ($(ADK_TARGET_LIB_GLIBC),y)
-include ${TOPDIR}/toolchain/glibc/Makefile.inc
+include ${ADK_TOPDIR}/toolchain/glibc/Makefile.inc
endif
ifeq ($(ADK_TARGET_LIB_MUSL),y)
-include ${TOPDIR}/toolchain/musl/Makefile.inc
+include ${ADK_TOPDIR}/toolchain/musl/Makefile.inc
endif
ifeq ($(ADK_TARGET_LIB_UCLIBC),y)
-include ${TOPDIR}/toolchain/uclibc/Makefile.inc
+include ${ADK_TOPDIR}/toolchain/uclibc/Makefile.inc
endif
PKG_NAME:= libpthread
@@ -20,7 +20,7 @@ PKG_OPTS:= noremove nostaging noscripts
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBPTHREAD,libpthread,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -35,4 +35,4 @@ ifeq ($(ADK_TARGET_LIB_MUSL),)
(cd ${IDIR_LIBPTHREAD}/$(ADK_TARGET_LIBC_PATH); ln -sf libpthread.so.0 libpthread.so)
endif
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libqb/Makefile b/package/libqb/Makefile
index 99fc2a790..0a76ee7bd 100644
--- a/package/libqb/Makefile
+++ b/package/libqb/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libqb
PKG_VERSION:= 0.16.0
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
PKG_LIBC_DEPENDS:= glibc musl
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBQB,libqb,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ libqb-install:
$(CP) $(WRKINST)/usr/lib/libqb*so.* \
$(IDIR_LIBQB)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/librpcsecgss/Makefile b/package/librpcsecgss/Makefile
index d24d0f57f..86c0e8a69 100644
--- a/package/librpcsecgss/Makefile
+++ b/package/librpcsecgss/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= librpcsecgss
PKG_VERSION:= 0.19
@@ -18,7 +18,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_LIBC_DEPENDS:= uclibc glibc
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBRPCSECGSS,librpcsecgss,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -30,4 +30,4 @@ librpcsecgss-install:
$(INSTALL_DIR) $(IDIR_LIBRPCSECGSS)/usr/lib
$(CP) $(WRKINST)/usr/lib/librpcsecgss.so* $(IDIR_LIBRPCSECGSS)/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/librsvg/Makefile b/package/librsvg/Makefile
index 26fcb6129..bf094b932 100644
--- a/package/librsvg/Makefile
+++ b/package/librsvg/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= librsvg
PKG_VERSION:= 2.40.2
@@ -16,8 +16,8 @@ PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/librsvg/2.40/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBRSVG,librsvg,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBRSVG,librsvg,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,5 +30,5 @@ librsvg-install:
$(CP) $(WRKINST)/usr/lib/librsvg*.so* \
$(IDIR_LIBRSVG)/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/librt/Makefile b/package/librt/Makefile
index 4acf88efb..66461aab1 100644
--- a/package/librt/Makefile
+++ b/package/librt/Makefile
@@ -1,13 +1,13 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
ifeq ($(ADK_TARGET_LIB_GLIBC),y)
-include ${TOPDIR}/toolchain/glibc/Makefile.inc
+include ${ADK_TOPDIR}/toolchain/glibc/Makefile.inc
endif
ifeq ($(ADK_TARGET_LIB_UCLIBC),y)
-include ${TOPDIR}/toolchain/uclibc/Makefile.inc
+include ${ADK_TOPDIR}/toolchain/uclibc/Makefile.inc
endif
PKG_NAME:= librt
@@ -17,7 +17,7 @@ PKG_OPTS:= noremove
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBRT,librt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -31,4 +31,4 @@ ifeq ($(ADK_TARGET_LIB_MUSL),)
${CP} ${STAGING_TARGET_DIR}/lib/librt*.so* ${IDIR_LIBRT}/$(ADK_TARGET_LIBC_PATH)
endif
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libsamplerate/Makefile b/package/libsamplerate/Makefile
index 717d73b7d..fa6b7ba41 100644
--- a/package/libsamplerate/Makefile
+++ b/package/libsamplerate/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libsamplerate
PKG_VERSION:= 0.1.8
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBSAMPLERATE,libsamplerate,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libsamplerate-install:
$(CP) $(WRKINST)/usr/lib/libsamplerate*.so* \
$(IDIR_LIBSAMPLERATE)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libsecret/Makefile b/package/libsecret/Makefile
index 86502ed24..f0f6c51ac 100644
--- a/package/libsecret/Makefile
+++ b/package/libsecret/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libsecret
PKG_VERSION:= 0.18
@@ -15,7 +15,7 @@ PKG_URL:= https://wiki.gnome.org/Libsecret
PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/libsecret/${PKG_VERSION}/
PKG_OPTS:= dev
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBSECRET,libsecret,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -27,4 +27,4 @@ libsecret-install:
$(CP) $(WRKINST)/usr/lib/libsecret*.so* \
$(IDIR_LIBSECRET)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libshout/Makefile b/package/libshout/Makefile
index 3ddb34656..9f6326bbe 100644
--- a/package/libshout/Makefile
+++ b/package/libshout/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libshout
PKG_VERSION:= 2.3.1
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBSHOUT,libshout,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -28,4 +28,4 @@ libshout-install:
${INSTALL_DIR} ${IDIR_LIBSHOUT}/usr/lib
${CP} ${WRKINST}/usr/lib/libshout.so* ${IDIR_LIBSHOUT}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libsigc++/Makefile b/package/libsigc++/Makefile
index 0b1d0feab..ca2183461 100644
--- a/package/libsigc++/Makefile
+++ b/package/libsigc++/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libsigc++
PKG_VERSION:= 2.2.10
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBSIGCXX,libsigc++,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -23,4 +23,4 @@ libsigc++-install:
${INSTALL_DIR} ${IDIR_LIBSIGCXX}/usr/lib
${CP} ${WRKINST}/usr/lib/libsigc-2.0.so* ${IDIR_LIBSIGCXX}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libsndfile/Makefile b/package/libsndfile/Makefile
index 325902d4d..3cba16f78 100644
--- a/package/libsndfile/Makefile
+++ b/package/libsndfile/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libsndfile
PKG_VERSION:= 1.0.25
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBSNDFILE,libsndfile,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libsndfile-install:
$(CP) $(WRKINST)/usr/lib/libsndfile*.so* \
$(IDIR_LIBSNDFILE)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libsoup/Makefile b/package/libsoup/Makefile
index 29c11319f..1389a6e19 100644
--- a/package/libsoup/Makefile
+++ b/package/libsoup/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libsoup
PKG_VERSION:= 2.44.2
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBSOUP,libsoup,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -28,4 +28,4 @@ libsoup-install:
$(CP) $(WRKINST)/usr/lib/libsoup*.so* \
$(IDIR_LIBSOUP)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libssh/Makefile b/package/libssh/Makefile
index 69a1bc87e..ace6737ff 100644
--- a/package/libssh/Makefile
+++ b/package/libssh/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libssh
PKG_VERSION:= 0.6.3
@@ -15,7 +15,7 @@ PKG_URL:= http://www.libssh.org/
PKG_SITES:= https://red.libssh.org/attachments/download/87/
PKG_OPTS:= dev
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBSSH,libssh,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -34,4 +34,4 @@ libssh-install:
$(CP) $(WRKINST)/usr/lib/libssh*.so* \
$(IDIR_LIBSSH)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libssh2/Makefile b/package/libssh2/Makefile
index bba5d6945..b0ef4a9a1 100644
--- a/package/libssh2/Makefile
+++ b/package/libssh2/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libssh2
PKG_VERSION:= 1.4.3
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBSSH2,libssh2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libssh2-install:
$(CP) $(WRKINST)/usr/lib/libssh2*.so* \
$(IDIR_LIBSSH2)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libstdcxx/Makefile b/package/libstdcxx/Makefile
index fa43d58e5..360163d43 100644
--- a/package/libstdcxx/Makefile
+++ b/package/libstdcxx/Makefile
@@ -1,16 +1,16 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
ifeq ($(ADK_TARGET_LIB_GLIBC),y)
-include ${TOPDIR}/toolchain/glibc/Makefile.inc
+include ${ADK_TOPDIR}/toolchain/glibc/Makefile.inc
endif
ifeq ($(ADK_TARGET_LIB_MUSL),y)
-include ${TOPDIR}/toolchain/musl/Makefile.inc
+include ${ADK_TOPDIR}/toolchain/musl/Makefile.inc
endif
ifeq ($(ADK_TARGET_LIB_UCLIBC),y)
-include ${TOPDIR}/toolchain/uclibc/Makefile.inc
+include ${ADK_TOPDIR}/toolchain/uclibc/Makefile.inc
endif
PKG_NAME:= libstdcxx
@@ -19,7 +19,7 @@ PKG_SECTION:= libs/misc
PKG_OPTS:= nostaging
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBSTDCXX,libstdcxx,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -32,4 +32,4 @@ do-install:
$(CP) ${STAGING_TARGET_DIR}/${ADK_TARGET_LIBC_PATH}/libstdc++.so* ${IDIR_LIBSTDCXX}/usr/${ADK_TARGET_LIBC_PATH}
-@rm ${IDIR_LIBSTDCXX}/usr/${ADK_TARGET_LIBC_PATH}/libstdc++.so.*-gdb.py
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libtasn1/Makefile b/package/libtasn1/Makefile
index 8d124ec86..47c9ce647 100644
--- a/package/libtasn1/Makefile
+++ b/package/libtasn1/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libtasn1
PKG_VERSION:= 3.6
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBTASN1,libtasn1,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -25,4 +25,4 @@ libtasn1-install:
${INSTALL_DIR} ${IDIR_LIBTASN1}/usr/lib
${CP} ${WRKINST}/usr/lib/libtasn1.so* ${IDIR_LIBTASN1}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libtheora/Makefile b/package/libtheora/Makefile
index 6c9b242a5..d54a90eb1 100644
--- a/package/libtheora/Makefile
+++ b/package/libtheora/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libtheora
PKG_VERSION:= 1.1.1
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBTHEORA,libtheora,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -28,4 +28,4 @@ libtheora-install:
$(CP) $(WRKINST)/usr/lib/libtheora*.so* \
$(IDIR_LIBTHEORA)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libthread_db/Makefile b/package/libthread_db/Makefile
index 59aa2e8a2..c8ccba9e5 100644
--- a/package/libthread_db/Makefile
+++ b/package/libthread_db/Makefile
@@ -1,16 +1,16 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
ifeq ($(ADK_TARGET_LIB_GLIBC),y)
-include ${TOPDIR}/toolchain/glibc/Makefile.inc
+include ${ADK_TOPDIR}/toolchain/glibc/Makefile.inc
endif
ifeq ($(ADK_TARGET_LIB_MUSL),y)
-include ${TOPDIR}/toolchain/musl/Makefile.inc
+include ${ADK_TOPDIR}/toolchain/musl/Makefile.inc
endif
ifeq ($(ADK_TARGET_LIB_UCLIBC),y)
-include ${TOPDIR}/toolchain/uclibc/Makefile.inc
+include ${ADK_TOPDIR}/toolchain/uclibc/Makefile.inc
endif
PKG_NAME:= libthread-db
@@ -21,7 +21,7 @@ PKG_CFLINE_LIBTHREAD_DB:=depends on ADK_PACKAGE_GDB || ADK_PACKAGE_GDBSERVER
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBTHREAD_DB,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -35,4 +35,4 @@ ifeq ($(ADK_TARGET_LIB_MUSL),)
${CP} ${STAGING_TARGET_DIR}/lib/libthread_db*.so* ${IDIR_LIBTHREAD_DB}/lib
endif
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libtiff/Makefile b/package/libtiff/Makefile
index b1e38af8c..465d850c1 100644
--- a/package/libtiff/Makefile
+++ b/package/libtiff/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= tiff
PKG_VERSION:= 3.9.4
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBTIFF,libtiff,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -28,4 +28,4 @@ libtiff-install:
${INSTALL_DIR} ${IDIR_LIBTIFF}/usr/lib
${CP} ${WRKINST}/usr/lib/libtiff.so* ${IDIR_LIBTIFF}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libtirpc/Makefile b/package/libtirpc/Makefile
index 7f560ebe9..56a6a8908 100644
--- a/package/libtirpc/Makefile
+++ b/package/libtirpc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libtirpc
PKG_VERSION:= 0.2.4
@@ -21,7 +21,7 @@ PKGFS_WITH_GSS:= libgssglue
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBTIRPC,libtirpc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -45,4 +45,4 @@ libtirpc-install:
${CP} ${WRKINST}/usr/lib/libtirpc*.so* ${IDIR_LIBTIRPC}/usr/lib/
${CP} ./files/netconfig$(CFG) ${IDIR_LIBTIRPC}/etc/netconfig
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libtool/Makefile b/package/libtool/Makefile
index 447dc1cc6..c20596a9d 100644
--- a/package/libtool/Makefile
+++ b/package/libtool/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libtool
PKG_VERSION:= 2.4.2
@@ -18,8 +18,8 @@ PKG_OPTS:= dev
PKG_SUBPKGS:= LIBTOOL LIBLTDL
PKGSC_LIBLTDL:= libs/misc
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,LIBTOOL,libtool,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBTOOL,libtool,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -42,5 +42,5 @@ libltdl-install:
${INSTALL_DIR} ${IDIR_LIBLTDL}/usr/lib
${CP} ${WRKINST}/usr/lib/libltdl.so* ${IDIR_LIBLTDL}/usr/lib/
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libtorrent/Makefile b/package/libtorrent/Makefile
index 60cebeb05..ba987668c 100644
--- a/package/libtorrent/Makefile
+++ b/package/libtorrent/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libtorrent
PKG_VERSION:= 0.13.4
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBTORRENT,libtorrent,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -30,4 +30,4 @@ libtorrent-install:
${INSTALL_DIR} ${IDIR_LIBTORRENT}/usr/lib
${CP} ${WRKINST}/usr/lib/libtorrent.so* ${IDIR_LIBTORRENT}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libunistring/Makefile b/package/libunistring/Makefile
index 0dfb46db7..b80c5c5fd 100755
--- a/package/libunistring/Makefile
+++ b/package/libunistring/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libunistring
PKG_VERSION:= 0.9.3
@@ -17,7 +17,7 @@ PKG_LIBC_DEPENDS:= uclibc glibc
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBUNISTRING,libunistring,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -25,4 +25,4 @@ libunistring-install:
${INSTALL_DIR} ${IDIR_LIBUNISTRING}/usr/lib
${CP} ${WRKINST}/usr/lib/libunistring.so* ${IDIR_LIBUNISTRING}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libupnp/Makefile b/package/libupnp/Makefile
index 21b3c3c54..6c30c8b99 100644
--- a/package/libupnp/Makefile
+++ b/package/libupnp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libupnp
PKG_VERSION:= 1.6.19
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBUPNP,libupnp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -32,4 +32,4 @@ libupnp-install:
${INSTALL_DIR} ${IDIR_LIBUPNP}/usr/lib
${CP} ${WRKINST}/usr/lib/lib*.so* ${IDIR_LIBUPNP}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libusb-compat/Makefile b/package/libusb-compat/Makefile
index d38ca6a27..e46605362 100644
--- a/package/libusb-compat/Makefile
+++ b/package/libusb-compat/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libusb-compat
PKG_VERSION:= 0.1.5
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBUSB_COMPAT,libusb-compat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ libusb-compat-install:
${INSTALL_DIR} ${IDIR_LIBUSB_COMPAT}/usr/lib
${CP} ${WRKINST}/usr/lib/libusb*.so* ${IDIR_LIBUSB_COMPAT}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libusb/Makefile b/package/libusb/Makefile
index 0c86bc9fd..806d5460a 100644
--- a/package/libusb/Makefile
+++ b/package/libusb/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libusb
PKG_VERSION:= 1.0.19
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBUSB,libusb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -27,4 +27,4 @@ libusb-install:
${INSTALL_DIR} ${IDIR_LIBUSB}/usr/lib
${CP} ${WRKINST}/usr/lib/libusb*.so* ${IDIR_LIBUSB}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libvirt/Makefile b/package/libvirt/Makefile
index c51ce6649..7989d3df1 100644
--- a/package/libvirt/Makefile
+++ b/package/libvirt/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libvirt
PKG_VERSION:= 1.2.4
@@ -23,11 +23,11 @@ PKG_ARCH_DEPENDS:= x86 x86_64
PKG_LIBC_DEPENDS:= glibc
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBVIRT,libvirt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/python.mk
+include ${ADK_TOPDIR}/mk/python.mk
TARGET_CPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/tirpc
ifeq ($(ADK_TARGET_USE_SSP),)
@@ -66,4 +66,4 @@ libvirt-install:
$(CP) $(WRKINST)/usr/lib/python$(PYTHON_VERSION)/site-packages/* \
${IDIR_LIBVIRT}/usr/lib/python$(PYTHON_VERSION)/site-packages
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libvorbis/Makefile b/package/libvorbis/Makefile
index 38328e29a..96aed587d 100644
--- a/package/libvorbis/Makefile
+++ b/package/libvorbis/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libvorbis
PKG_VERSION:= 1.3.3
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
PKG_SUBPKGS:= LIBVORBIS LIBVORBISENC
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBVORBIS,libvorbis,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,LIBVORBISENC,libvorbisenc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -35,4 +35,4 @@ libvorbisenc-install:
${INSTALL_DIR} ${IDIR_LIBVORBISENC}/usr/lib
${CP} ${WRKINST}/usr/lib/libvorbisenc.so* ${IDIR_LIBVORBISENC}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libvorbisidec/Makefile b/package/libvorbisidec/Makefile
index be91c9cb2..62b976582 100644
--- a/package/libvorbisidec/Makefile
+++ b/package/libvorbisidec/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libvorbisidec
PKG_VERSION:= 1.0.2
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}_${PKG_VERSION}+$(PKG_VARIANT).orig.tar.gz
WRKDIST= ${WRKDIR}/$(PKG_NAME)-$(PKG_VERSION)+$(PKG_VARIANT)
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBVORBISIDEC,libvorbisidec,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -27,4 +27,4 @@ libvorbisidec-install:
${CP} ${WRKINST}/usr/lib/libvorbisidec.so* \
${IDIR_LIBVORBISIDEC}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libvpx/Makefile b/package/libvpx/Makefile
index d088e0135..f23af0cee 100644
--- a/package/libvpx/Makefile
+++ b/package/libvpx/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libvpx
PKG_VERSION:= 1.3.0
@@ -20,7 +20,7 @@ PKG_ARCH_DEPENDS:= !m68k
DISTFILES:= ${PKG_NAME}-v${PKG_VERSION}.tar.bz2
WRKDIST= $(WRKDIR)/${PKG_NAME}-v${PKG_VERSION}
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBVPX,libvpx,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -107,4 +107,4 @@ libvpx-install:
$(CP) $(WRKINST)/usr/lib/libvpx.so* \
$(IDIR_LIBVPX)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libwebp/Makefile b/package/libwebp/Makefile
index a33003519..7ae612ac6 100644
--- a/package/libwebp/Makefile
+++ b/package/libwebp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libwebp
PKG_VERSION:= 0.3.1
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBWEBP,libwebp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ libwebp-install:
$(CP) $(WRKINST)/usr/lib/libwebp*.so* \
$(IDIR_LIBWEBP)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libx264/Makefile b/package/libx264/Makefile
index 5208ffde6..3fc73f3a8 100644
--- a/package/libx264/Makefile
+++ b/package/libx264/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libx264
# actually is git checkout from 18.05.2014
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
PKG_BUILDDEP_IBM_X40:= yasm-host
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBX264,libx264,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -38,4 +38,4 @@ libx264-install:
$(CP) $(WRKINST)/usr/lib/libx264*.so* \
$(IDIR_LIBX264)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libxcb/Makefile b/package/libxcb/Makefile
index 7ce58a0bc..ef1aab2be 100644
--- a/package/libxcb/Makefile
+++ b/package/libxcb/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libxcb
PKG_VERSION:= 1.10
@@ -16,13 +16,13 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBXCB,libxcb,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBXCB,libxcb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include $(TOPDIR)/mk/python.mk
+include $(ADK_TOPDIR)/mk/python.mk
HOST_STYLE:= auto
CONFIGURE_ENV+= PYTHON=$(PYTHON)
@@ -31,5 +31,5 @@ libxcb-install:
${INSTALL_DIR} ${IDIR_LIBXCB}/usr/lib
${CP} ${WRKINST}/usr/lib/libxcb*.so* ${IDIR_LIBXCB}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libxkbfile/Makefile b/package/libxkbfile/Makefile
index d2086afa7..f97b5274c 100644
--- a/package/libxkbfile/Makefile
+++ b/package/libxkbfile/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libxkbfile
PKG_VERSION:= 1.0.8
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXKBFILE,libxkbfile,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -23,4 +23,4 @@ libxkbfile-install:
${INSTALL_DIR} ${IDIR_LIBXKBFILE}/usr/lib
${CP} ${WRKINST}/usr/lib/libxkbfile.so* ${IDIR_LIBXKBFILE}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libxml2/Makefile b/package/libxml2/Makefile
index b4757fc55..7095a6c3a 100644
--- a/package/libxml2/Makefile
+++ b/package/libxml2/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libxml2
PKG_VERSION:= 2.9.1
@@ -24,14 +24,14 @@ PKGSC_LIBXML2_PYTHON:= libs/misc
PKGSB_LIBXML2_PYTHON:= python2
PKGSS_LIBXML2_PYTHON:= python2
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,LIBXML2,libxml2,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBXML2,libxml2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,LIBXML2_PYTHON,libxml2-python,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXML2_PYTHON},${PKGSC_LIBXML2_PYTHON}))
-include $(TOPDIR)/mk/python.mk
+include $(ADK_TOPDIR)/mk/python.mk
HOST_STYLE:= auto
HOST_CONFIGURE_ARGS+= --with-python \
@@ -83,5 +83,5 @@ libxml2-python-install:
$(CP) $(WRKINST)/usr/lib/python$(PYTHON_VERSION)/site-packages/*.{so,py} \
$(IDIR_LIBXML2_PYTHON)/usr/lib/python$(PYTHON_VERSION)/site-packages
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libxshmfence/Makefile b/package/libxshmfence/Makefile
index c4181c90e..0e8b14cf0 100644
--- a/package/libxshmfence/Makefile
+++ b/package/libxshmfence/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libxshmfence
PKG_VERSION:= 1.1
@@ -14,7 +14,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXSHMFENCE,libxshmfence,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -22,4 +22,4 @@ libxshmfence-install:
${INSTALL_DIR} ${IDIR_LIBXSHMFENCE}/usr/lib
${CP} ${WRKINST}/usr/lib/libxshmfence.so* ${IDIR_LIBXSHMFENCE}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libxslt/Makefile b/package/libxslt/Makefile
index d680b069e..7cc963630 100644
--- a/package/libxslt/Makefile
+++ b/package/libxslt/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= libxslt
PKG_VERSION:= 1.1.28
@@ -22,8 +22,8 @@ PKG_SUBPKGS:= LIBXSLT XSLTPROC
PKGSD_XSLTPROC:= XSLT processor utility
PKGSC_XSLTPROC:= sys/misc
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,LIBXSLT,libxslt,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBXSLT,libxslt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -53,5 +53,5 @@ libxslt-install:
${CP} ${WRKINST}/usr/lib/libxslt.so* ${IDIR_LIBXSLT}/usr/lib
${CP} ${WRKINST}/usr/lib/libexslt.so* ${IDIR_LIBXSLT}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/lighttpd/Makefile b/package/lighttpd/Makefile
index fc88b94c9..62b85e708 100644
--- a/package/lighttpd/Makefile
+++ b/package/lighttpd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= lighttpd
PKG_VERSION:= 1.4.35
@@ -60,7 +60,7 @@ PKGSB_LIGHTTPD_MOD_WEBDAV:= libxml2 sqlite
PKGSS_LIGHTTPD_MOD_WEBDAV:= libxml2 libsqlite
PKGSN_LIGHTTPD_MOD_WEBDAV:= lighttpd
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
define PKG_mod_template
@@ -160,4 +160,4 @@ post-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m}
${INSTALL_DIR} $(IDIR_LIGHTTPD)/usr/sbin
$(INSTALL_BIN) $(WRKINST)/usr/sbin/lighttpd $(IDIR_LIGHTTPD)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/links/Makefile b/package/links/Makefile
index 5d16fc4fa..7cce221cc 100644
--- a/package/links/Makefile
+++ b/package/links/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= links
PKG_VERSION:= 2.7
@@ -21,7 +21,7 @@ PKGFD_WITH_DIRECTFB:= enable DirectFB video output support
PKGFS_WITH_DIRECTFB:= directfb
PKGFB_WITH_DIRECTFB:= DirectFB
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LINKS,links,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -44,4 +44,4 @@ links-install:
${INSTALL_DIR} ${IDIR_LINKS}/usr/bin
${CP} ${WRKINST}/usr/bin/* ${IDIR_LINKS}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile
index 23a635410..31a71abcb 100644
--- a/package/linux-atm/Makefile
+++ b/package/linux-atm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= linux-atm
PKG_VERSION:= 2.5.1
@@ -25,7 +25,7 @@ PKGSC_BR2684CTL:= net/route
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBATM,libatm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,BR2684CTL,br2684ctl,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_BR2684CTL},${PKGSD_BR2684CTL},${PKGSC_BR2684CTL}))
@@ -38,4 +38,4 @@ br2684ctl-install:
${INSTALL_DIR} ${IDIR_BR2684CTL}/usr/sbin
${CP} ${WRKINST}/usr/sbin/br2684ctl ${IDIR_BR2684CTL}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/lirc/Makefile b/package/lirc/Makefile
index d4dd3cb5f..f3901749b 100644
--- a/package/lirc/Makefile
+++ b/package/lirc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= lirc
PKG_VERSION:= 0.9.1-pre2
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.lirc.org/software/snapshots/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIRC,lirc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -34,4 +34,4 @@ lirc-install:
$(INSTALL_BIN) $(WRKINST)/usr/sbin/lircmd \
$(IDIR_LIRC)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/llvm/Makefile b/package/llvm/Makefile
index 6af19eb22..f8afa4398 100644
--- a/package/llvm/Makefile
+++ b/package/llvm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= llvm
PKG_VERSION:= 3.4
@@ -19,7 +19,7 @@ PKG_ARCH_DEPENDS:= mips x86 x86_64 arm
PKG_CFLINE_LLVM:= depends on ADK_BROKEN
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.src.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
TARGET_CFLAGS:= $(filter-out -fhonour-copts,$(TARGET_CFLAGS))
# disable honour cflags stuff
@@ -45,4 +45,4 @@ do-install:
cp ${WRKBUILD}/BuildTools/BuildTools/Release+Asserts/bin/llvm-config \
$(STAGING_TARGET_DIR)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/lm_sensors/Makefile b/package/lm_sensors/Makefile
index 1a7e77ed3..6e11fbd85 100644
--- a/package/lm_sensors/Makefile
+++ b/package/lm_sensors/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= lm_sensors
PKG_VERSION:= 3.3.1
@@ -23,7 +23,7 @@ PKGSC_LM_SENSORS_DETECT:= sys/misc
PKGSS_LM_SENSORS_DETECT:= perl
PKGSB_LM_SENSORS_DETECT:= perl
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LM_SENSORS,lm-sensors,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,LM_SENSORS_DETECT,lm-sensors-detect,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LM_SENSORS_DETECT},${PKGSC_LM_SENSORS_DETECT}))
@@ -48,4 +48,4 @@ lm-sensors-detect-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/pwmconfig ${IDIR_LM_SENSORS_DETECT}/usr/sbin/pwmconfig
${INSTALL_BIN} ${WRKINST}/usr/sbin/sensors-detect ${IDIR_LM_SENSORS_DETECT}/usr/sbin/sensors-detect
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/log4cplus/Makefile b/package/log4cplus/Makefile
index e5414fee5..7313f4dfb 100644
--- a/package/log4cplus/Makefile
+++ b/package/log4cplus/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= log4cplus
PKG_VERSION:= 1.0.4
@@ -17,11 +17,11 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LOG4CPLUS,log4cplus,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
log4cplus-install:
${CP} ${WRKINST}/* ${IDIR_LOG4CPLUS}
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/log4cxx/Makefile b/package/log4cxx/Makefile
index 3d60eb4a7..e79d5b55c 100644
--- a/package/log4cxx/Makefile
+++ b/package/log4cxx/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= log4cxx
PKG_VERSION:= 0.10.0
@@ -18,7 +18,7 @@ PKG_OPTS:= dev
DISTFILES:= apache-${PKG_NAME}-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/apache-${PKG_NAME}-${PKG_VERSION}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LOG4CXX,log4cxx,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ log4cxx-install:
${INSTALL_DIR} ${IDIR_LOG4CXX}/usr/lib
${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_LOG4CXX}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/logrotate/Makefile b/package/logrotate/Makefile
index 122804f72..79d9fcaf0 100644
--- a/package/logrotate/Makefile
+++ b/package/logrotate/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= logrotate
PKG_VERSION:= 3.8.7
@@ -15,7 +15,7 @@ PKG_SITES:= https://fedorahosted.org/releases/l/o/logrotate/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LOGROTATE,logrotate,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,4 +28,4 @@ logrotate-install:
${INSTALL_DIR} ${IDIR_LOGROTATE}/etc/logrotate.d
${INSTALL_DATA} ./files/logrotate.conf ${IDIR_LOGROTATE}/etc
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/lrzsz/Makefile b/package/lrzsz/Makefile
index 73e8eddeb..78847f8f1 100644
--- a/package/lrzsz/Makefile
+++ b/package/lrzsz/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= lrzsz
PKG_VERSION:= 0.12.20
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.ohse.de/uwe/releases/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LRZSZ,lrzsz,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -34,4 +34,4 @@ do-install:
ln -fs lsz lsb; \
);
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/lsof/Makefile b/package/lsof/Makefile
index 63610e0b0..e146fe23f 100644
--- a/package/lsof/Makefile
+++ b/package/lsof/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= lsof
PKG_VERSION:= 4.84
@@ -20,7 +20,7 @@ DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/${PKG_NAME}_${PKG_VERSION}
WRKSRC= ${WRKDIR}/${PKG_NAME}_${PKG_VERSION}/${PKG_NAME}_${PKG_VERSION}_src
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LSOF,lsof,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -40,4 +40,4 @@ do-install:
$(INSTALL_BIN) $(WRKBUILD)/lsof \
$(IDIR_LSOF)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/lsscsi/Makefile b/package/lsscsi/Makefile
index a67cba856..785acba2e 100644
--- a/package/lsscsi/Makefile
+++ b/package/lsscsi/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= lsscsi
PKG_VERSION:= 0.27
@@ -14,7 +14,7 @@ PKG_SITES:= http://sg.danny.cz/scsi/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LSSCSI,lsscsi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,4 +23,4 @@ lsscsi-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/lsscsi \
$(IDIR_LSSCSI)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ltrace/Makefile b/package/ltrace/Makefile
index 673ced86e..46779531d 100644
--- a/package/ltrace/Makefile
+++ b/package/ltrace/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= ltrace
PKG_VERSION:= 0.7.4
@@ -15,7 +15,7 @@ PKG_BUILDDEP:= libelf
PKG_URL:= http://ltrace.org/
PKG_SITES:= http://openadk.org/distfiles/
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LTRACE,ltrace,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ ltrace-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/ltrace \
$(IDIR_LTRACE)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/lua/Makefile b/package/lua/Makefile
index e6d250121..239197e2c 100644
--- a/package/lua/Makefile
+++ b/package/lua/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= lua
PKG_VERSION:= 5.1.4
@@ -20,7 +20,7 @@ PKG_SUBPKGS:= LUA LUAC
PKGSD_LUAC:= lua bytecode compiler
PKGSN_LUAC:= lua
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LUA,lua,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LUAC,luac,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LUAC},${PKG_SECTION}))
@@ -42,4 +42,4 @@ luac-install:
${INSTALL_DIR} ${IDIR_LUAC}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/luac ${IDIR_LUAC}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/lvm/Makefile b/package/lvm/Makefile
index 7c3ddd220..3237d0f9a 100644
--- a/package/lvm/Makefile
+++ b/package/lvm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= lvm
PKG_VERSION:= 2.02.106
@@ -25,7 +25,7 @@ PKGSC_LIBDEVMAPPER:= libs/misc
DISTFILES:= LVM2.${PKG_VERSION}.tgz
WRKDIST= ${WRKDIR}/LVM2.${PKG_VERSION}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LVM,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,DEVICE_MAPPER,device-mapper,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_DEVICE_MAPPER},${PKG_SECTION}))
@@ -51,4 +51,4 @@ device-mapper-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/dmsetup \
${IDIR_DEVICE_MAPPER}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/lynx/Makefile b/package/lynx/Makefile
index 299d028a8..b6c2b2e91 100644
--- a/package/lynx/Makefile
+++ b/package/lynx/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= lynx
PKG_VERSION:= 2.8.8
@@ -19,7 +19,7 @@ PKG_NOPARALLEL:= 1
DISTFILES= ${PKG_NAME}${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/lynx2-8-8
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LYNX,lynx,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -87,4 +87,4 @@ lynx-install:
${CP} ${WRKINST}/etc/lynx.{cfg,lss} ${IDIR_LYNX}/etc
${CP} ${WRKINST}/usr/bin/lynx ${IDIR_LYNX}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/lzma/Makefile b/package/lzma/Makefile
index 35b197bf2..ebad56548 100644
--- a/package/lzma/Makefile
+++ b/package/lzma/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= lzma
PKG_VERSION:= 4.32.7
@@ -12,8 +12,8 @@ PKG_SECTION:= app/archive
PKG_URL:= http://tukaani.org/lzma/
PKG_SITES:= http://tukaani.org/lzma/
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LZMA,lzma,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LZMA,lzma,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,5 +24,5 @@ lzma-install:
$(INSTALL_DIR) $(IDIR_LZMA)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/lzma $(IDIR_LZMA)/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/lzop/Makefile b/package/lzop/Makefile
index 4d7ee0af3..0acfb9cb9 100644
--- a/package/lzop/Makefile
+++ b/package/lzop/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= lzop
PKG_VERSION:= 1.03
@@ -17,8 +17,8 @@ PKG_BB:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LZOP,lzop,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LZOP,lzop,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,5 +27,5 @@ lzop-install:
$(INSTALL_DIR) $(IDIR_LZOP)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/lzop $(IDIR_LZOP)/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/m4/Makefile b/package/m4/Makefile
index f0a6b210e..ed1b003e8 100644
--- a/package/m4/Makefile
+++ b/package/m4/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= m4
PKG_VERSION:= 1.4.17
@@ -16,8 +16,8 @@ PKG_SITES:= ${MASTER_SITE_GNU:=m4/}
PKG_LIBC_DEPENDS:= glibc musl
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,M4,m4,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,M4,m4,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,5 +30,5 @@ m4-install:
${INSTALL_DIR} ${IDIR_M4}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/m4 ${IDIR_M4}/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/macchanger/Makefile b/package/macchanger/Makefile
index 74597e996..8aa1a8f46 100755
--- a/package/macchanger/Makefile
+++ b/package/macchanger/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= macchanger
PKG_VERSION:= 1.5.0
@@ -14,7 +14,7 @@ PKG_SITES:= ${MASTER_SITE_GNU:=macchanger/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MACCHANGER,macchanger,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,4 +23,4 @@ macchanger-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/macchanger ${IDIR_MACCHANGER}/usr/bin
${CP} ${WRKINST}/usr/share/macchanger ${IDIR_MACCHANGER}/usr/share
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/madplay/Makefile b/package/madplay/Makefile
index 2c5212282..680db34f6 100644
--- a/package/madplay/Makefile
+++ b/package/madplay/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= madplay
PKG_VERSION:= 0.15.2b
@@ -17,7 +17,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=mad/} \
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MADPLAY,madplay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -38,4 +38,4 @@ madplay-install:
${INSTALL_DIR} ${IDIR_MADPLAY}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/madplay ${IDIR_MADPLAY}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mailutils/Makefile b/package/mailutils/Makefile
index 82a3c6766..0c3110094 100644
--- a/package/mailutils/Makefile
+++ b/package/mailutils/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= mailutils
PKG_VERSION:= 2.2
@@ -16,7 +16,7 @@ PKG_SITES:= ftp://ftp.gnu.org/gnu/mailutils/
PKG_HOST_DEPENDS:= x86 x86_64
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,MAILUTILS,mailutils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ mailutils-install:
$(CP) $(WRKINST)/usr/lib/libmu*so* \
$(IDIR_MAILUTILS)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/make/Makefile b/package/make/Makefile
index 05ffa32a3..63e0dee67 100644
--- a/package/make/Makefile
+++ b/package/make/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= make
PKG_VERSION:= 3.81
@@ -14,7 +14,7 @@ PKG_SITES:= ${MASTER_SITE_GNU:=make/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,MAKE,make,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -22,4 +22,4 @@ make-install:
$(INSTALL_DIR) $(IDIR_MAKE)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/make $(IDIR_MAKE)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/maradns/Makefile b/package/maradns/Makefile
index 4b341dd62..33aa6836f 100644
--- a/package/maradns/Makefile
+++ b/package/maradns/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= maradns
PKG_VERSION:= 1.4.05
@@ -16,7 +16,7 @@ PKG_NOPARALLEL:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MARADNS,maradns,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -40,4 +40,4 @@ maradns-install:
${CP} ${WRKINST}/usr/sbin/{maradns,zoneserver} \
${IDIR_MARADNS}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mc/Makefile b/package/mc/Makefile
index 14121521a..7c11ee4cb 100644
--- a/package/mc/Makefile
+++ b/package/mc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= mc
PKG_VERSION:= 4.8.12
@@ -15,7 +15,7 @@ PKG_URL:= http://www.midnight-commander.org/
PKG_SITES:= http://ftp.midnight-commander.org/
PKG_NOPARALLEL:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MC,mc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -51,4 +51,4 @@ mc-install:
cd ${WRKINST}/etc/mc && ${CP} mcedit.menu mc.ext sfs.ini \
mc.menu ${IDIR_MC}/etc/mc/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mdadm/Makefile b/package/mdadm/Makefile
index 4917f34d5..e86ab3b82 100644
--- a/package/mdadm/Makefile
+++ b/package/mdadm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= mdadm
PKG_VERSION:= 3.3.1
@@ -12,7 +12,7 @@ PKG_SECTION:= sys/fs
PKG_URL:= http://neil.brown.name/blog/mdadm
PKG_SITES:= ${MASTER_SITE_KERNEL:=utils/raid/mdadm/}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MDADM,mdadm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,4 +23,4 @@ mdadm-install:
${INSTALL_DIR} ${IDIR_MDADM}/usr/sbin
${INSTALL_BIN} ${WRKINST}/sbin/mdadm ${IDIR_MDADM}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mesa-demos/Makefile b/package/mesa-demos/Makefile
index 0a6ebd8cc..8586e3ad7 100644
--- a/package/mesa-demos/Makefile
+++ b/package/mesa-demos/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= mesa-demos
PKG_VERSION:= 8.1.0
@@ -21,7 +21,7 @@ PKG_SUBPKGS:= GLXINFO
PKGSD_GLXINFO:= command-line tool for diagnosing problems with your 3D acceleration card
PKGSS_GLXINFO:= libxt libxau libxdmcp libxcb libx11 libxext libglew
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GLXINFO,glxinfo,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ glxinfo-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/glxinfo \
$(IDIR_GLXINFO)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mesalib/Makefile b/package/mesalib/Makefile
index efdc565de..218333eaa 100644
--- a/package/mesalib/Makefile
+++ b/package/mesalib/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= mesalib
PKG_VERSION:= 10.2.1
@@ -25,11 +25,11 @@ PKG_ARCH_DEPENDS:= x86 x86_64 mips mipsel mips64 mips64el arm
DISTFILES:= MesaLib-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/Mesa-${PKG_VERSION}
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,MESALIB,mesalib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include $(TOPDIR)/mk/python.mk
+include $(ADK_TOPDIR)/mk/python.mk
ifeq ($(ADK_HOST_DARWIN),y)
PYTHON:=/opt/local/bin/python2.7
@@ -69,4 +69,4 @@ ifeq (${ADK_TARGET_SYSTEM_IBM_X40},y)
${IDIR_MESALIB}/usr/lib/dri/
endif
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mgetty/Makefile b/package/mgetty/Makefile
index e76971bda..69f3c7e6c 100644
--- a/package/mgetty/Makefile
+++ b/package/mgetty/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= mgetty
PKG_VERSION:= 1.1.36
@@ -14,7 +14,7 @@ PKG_SITES:= ftp://alpha.greenie.net/pub/mgetty/source/1.1/
DISTFILES:= ${PKG_NAME}${PKG_VERSION}-${PKG_XVERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MGETTY,mgetty,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -111,4 +111,4 @@ do-install:
${WRKINST}/etc/mgetty+sendfax/sendfax.config \
${IETC}
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/miau/Makefile b/package/miau/Makefile
index c7a750bb6..b9f9e6f18 100644
--- a/package/miau/Makefile
+++ b/package/miau/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= miau
PKG_VERSION:= 0.6.5
@@ -14,7 +14,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=miau/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MIAU,miau,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ miau-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/miau ${IDIR_MIAU}/usr/bin/
${INSTALL_DATA} ./files/miaurc ${IDIR_MIAU}/etc/miau/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/midori/Makefile b/package/midori/Makefile
index 806b8341f..e13e23ec9 100644
--- a/package/midori/Makefile
+++ b/package/midori/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= midori
PKG_VERSION:= 0.5.8
@@ -17,7 +17,7 @@ PKG_SITES:= http://www.openadk.org/distfiles/
WRKBUILD= ${WRKDIR}/${PKG_NAME}-obj
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,MIDORI,midori,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -36,4 +36,4 @@ midori-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/midori \
$(IDIR_MIDORI)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mini_httpd/Makefile b/package/mini_httpd/Makefile
index d3e595989..e3ea4cd98 100644
--- a/package/mini_httpd/Makefile
+++ b/package/mini_httpd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= mini-httpd
PKG_VERSION:= 1.19
@@ -17,7 +17,7 @@ PKG_SITES:= http://www.acme.com/software/mini_httpd/
DISTFILES:= mini_httpd-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/mini_httpd-${PKG_VERSION}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MINI_HTTPD,mini-httpd,${PKG_VERSION}-${PKG_RELEASE},,${PKG_DESCR},${PKG_SECTION}))
@@ -42,4 +42,4 @@ do-install:
${INSTALL_BIN} ${WRKBUILD}/mini_httpd \
${IDIR_MINI_HTTPD}/usr/sbin/mini_httpd
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mini_sendmail/Makefile b/package/mini_sendmail/Makefile
index 6466b6769..1eb846e43 100644
--- a/package/mini_sendmail/Makefile
+++ b/package/mini_sendmail/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= mini-sendmail
PKG_VERSION:= 1.3.6
@@ -15,7 +15,7 @@ PKG_SITES:= http://www.acme.com/software/mini_sendmail/
DISTFILES:= mini_sendmail-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/mini_sendmail-${PKG_VERSION}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MINI_SENDMAIL,mini-sendmail,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -31,4 +31,4 @@ do-install:
${IDIR_MINI_SENDMAIL}/usr/sbin/
ln -sf mini_sendmail ${IDIR_MINI_SENDMAIL}/usr/sbin/sendmail
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/miredo/Makefile b/package/miredo/Makefile
index 762311de9..9dac8427c 100644
--- a/package/miredo/Makefile
+++ b/package/miredo/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= miredo
PKG_VERSION:= 1.2.6
@@ -16,7 +16,7 @@ PKG_SUBPKGS:= MIREDO_CLIENT MIREDO_SERVER
PKGSD_MIREDO_CLIENT:= teredo client
PKGSD_MIREDO_SERVER:= teredo relay daemon
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MIREDO_CLIENT,miredo-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_MIREDO_CLIENT},${PKG_SECTION}))
$(eval $(call PKG_template,MIREDO_SERVER,miredo-server,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_MIREDO_SERVER},${PKG_SECTION}))
@@ -45,4 +45,4 @@ miredo-server-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/miredo-server \
${IDIR_MIREDO_SERVER}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mkfontdir/Makefile b/package/mkfontdir/Makefile
index c97c87728..d6853100f 100644
--- a/package/mkfontdir/Makefile
+++ b/package/mkfontdir/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= mkfontdir
PKG_VERSION:= 1.0.7
@@ -15,7 +15,7 @@ PKG_OPTS:= noscripts
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,MKFONTDIR,mkfontdir,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ mkfontdir-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/mkfontdir \
$(IDIR_MKFONTDIR)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mkfontscale/Makefile b/package/mkfontscale/Makefile
index 5209187c9..3350f9d4f 100644
--- a/package/mkfontscale/Makefile
+++ b/package/mkfontscale/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= mkfontscale
PKG_VERSION:= 1.1.0
@@ -14,7 +14,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,MKFONTSCALE,mkfontscale,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,4 +23,4 @@ mkfontscale-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/mkfontscale \
$(IDIR_MKFONTSCALE)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mkimage/Makefile b/package/mkimage/Makefile
index ac68c32d0..609dcfd01 100644
--- a/package/mkimage/Makefile
+++ b/package/mkimage/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= mkimage
PKG_VERSION:= 0.1
@@ -14,8 +14,8 @@ NO_DISTFILES:= 1
PKG_CFLINE_MKIMAGE:= depends on ADK_HOST_ONLY
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,MKIMAGE,mkimage,$(PKG_VERSION)-${PKG_RELEASE}))
@@ -30,5 +30,5 @@ mkimage-hostinstall:
${INSTALL_BIN} ${WRKBUILD}/mkimage \
${STAGING_HOST_DIR}/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mksh/Makefile b/package/mksh/Makefile
index 1c1f5998b..bca3bc439 100644
--- a/package/mksh/Makefile
+++ b/package/mksh/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= mksh
PKG_VERSION:= 49
@@ -17,8 +17,8 @@ PKG_DFLT_MKSH:= y if !ADK_TOOLCHAIN_ONLY
DISTFILES= ${PKG_NAME}-R${PKG_VERSION}.tgz
WRKDIST= ${WRKDIR}/${PKG_NAME}
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,MKSH,mksh,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,MKSH,mksh,${PKG_VERSION}-${PKG_RELEASE},,${PKG_DESCR},${PKG_SECTION}))
@@ -50,5 +50,5 @@ mksh-install:
${INSTALL_BIN} ${WRKBUILD}/mksh ${IDIR_MKSH}/bin/
${CP} ${WRKSRC}/dot.mkshrc ${IDIR_MKSH}/root/.mkshrc
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/moc/Makefile b/package/moc/Makefile
index e41c4f9b7..21b6fe0c6 100644
--- a/package/moc/Makefile
+++ b/package/moc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= moc
PKG_VERSION:= 2.5.0-beta2
@@ -18,7 +18,7 @@ PKG_SITES:= ftp://ftp.daper.net/pub/soft/moc/unstable/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MOC,moc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -38,4 +38,4 @@ moc-install:
${IDIR_MOC}/usr/lib/moc/decoder_plugins
${INSTALL_BIN} ${WRKINST}/usr/bin/mocp ${IDIR_MOC}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/monit/Makefile b/package/monit/Makefile
index bf069e4a1..ec23bf4a9 100644
--- a/package/monit/Makefile
+++ b/package/monit/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= monit
PKG_VERSION:= 5.6
@@ -16,7 +16,7 @@ PKG_SITES:= http://www.tildeslash.com/monit/dist/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MONIT,monit,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -32,4 +32,4 @@ monit-install:
${INSTALL_DIR} ${IDIR_MONIT}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/monit ${IDIR_MONIT}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/motion/Makefile b/package/motion/Makefile
index a912ba716..4b4d9fe8f 100644
--- a/package/motion/Makefile
+++ b/package/motion/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= motion
# actually a svn version from 18.09.2011 checkout
@@ -19,7 +19,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_ARCH_DEPENDS:= !m68k
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MOTION,motion,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -36,4 +36,4 @@ motion-install:
$(INSTALL_DATA) ./files/motion.conf ${IDIR_MOTION}/etc
${INSTALL_BIN} ${WRKINST}/usr/bin/motion ${IDIR_MOTION}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mpc/Makefile b/package/mpc/Makefile
index 1c99e1f3a..8923cafdd 100644
--- a/package/mpc/Makefile
+++ b/package/mpc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= mpc
PKG_VERSION:= 0.26
@@ -14,7 +14,7 @@ PKG_BUILDDEP:= libmpdclient
PKG_URL:= http://www.musicpd.org/
PKG_SITES:= http://www.musicpd.org/download/mpc/0/
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,MPC,mpc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ mpc-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/mpc \
$(IDIR_MPC)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mpd/Makefile b/package/mpd/Makefile
index 6e90a503a..e6556c130 100644
--- a/package/mpd/Makefile
+++ b/package/mpd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= mpd
PKG_VERSION:= 0.18.11
@@ -125,7 +125,7 @@ endif
PKGFD_WITH_HTTPD:= enable HTTP output
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MPD,mpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_FDEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -258,4 +258,4 @@ mpd-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/mpd ${IDIR_MPD}/usr/bin
${INSTALL_DATA} ./files/mpd.conf ${IDIR_MPD}/etc/mpd.conf
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mpdbox/Makefile b/package/mpdbox/Makefile
index e40ebb4a1..b431a0b72 100644
--- a/package/mpdbox/Makefile
+++ b/package/mpdbox/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= mpdbox
PKG_VERSION:= 1.0
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.openadk.org/distfiles/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,MPDBOX,mpdbox,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ mpdbox-install:
$(CP) $(IDIR_MPDBOX)/srv/www/htdocs/inc/config.inc.example \
$(IDIR_MPDBOX)/srv/www/htdocs/inc/config.inc
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mpfr/Makefile b/package/mpfr/Makefile
index eb1468706..0a8117b65 100644
--- a/package/mpfr/Makefile
+++ b/package/mpfr/Makefile
@@ -1,8 +1,8 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
-include ${TOPDIR}/toolchain/mpfr/Makefile.inc
+include ${ADK_TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/toolchain/mpfr/Makefile.inc
PKG_NAME:= mpfr
PKG_DESCR:= multi precision library
@@ -11,7 +11,7 @@ PKG_BUILDDEP:= gmp
PKG_URL:= http://www.mpfr.org/
PKG_OPTS:= dev
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MPFR,mpfr,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -19,4 +19,4 @@ mpfr-install:
${INSTALL_DIR} ${IDIR_MPFR}/usr/lib
${CP} ${WRKINST}/usr/lib/libmpfr.so* ${IDIR_MPFR}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mpg123/Makefile b/package/mpg123/Makefile
index 23ce53dbe..9a6f63476 100644
--- a/package/mpg123/Makefile
+++ b/package/mpg123/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= mpg123
PKG_VERSION:= 1.20.1
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=mpg123/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,MPG123,mpg123,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -39,4 +39,4 @@ mpg123-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/mpg123 \
$(IDIR_MPG123)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mplayer/Makefile b/package/mplayer/Makefile
index eb418313c..dd9ad2465 100644
--- a/package/mplayer/Makefile
+++ b/package/mplayer/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= mplayer
PKG_VERSION:= 1.1.1
@@ -32,7 +32,7 @@ PKGFS_WITH_DIRECTFB:= directfb
PKGFB_WITH_DIRECTFB:= DirectFB
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MPLAYER,mplayer,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -164,4 +164,4 @@ mplayer-install:
${INSTALL_DIR} ${IDIR_MPLAYER}/usr/bin
${CP} ${WRKINST}/usr/bin/mplayer ${IDIR_MPLAYER}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mrd6/Makefile b/package/mrd6/Makefile
index 8c1582aa7..a4458cd09 100644
--- a/package/mrd6/Makefile
+++ b/package/mrd6/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= mrd6
PKG_VERSION:= 0.9.6
@@ -15,7 +15,7 @@ PKG_CXX:= MRD6
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
WRKBUILD= ${WRKSRC}/src
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MRD6,mrd6,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -46,4 +46,4 @@ mrd6-install:
${INSTALL_BIN} ${WRKINST}/usr/local/lib/mrd6/bgp.so \
${IDIR_MRD6}/usr/lib/mrd6/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mt-daapd/Makefile b/package/mt-daapd/Makefile
index 73272d062..95e37a98e 100644
--- a/package/mt-daapd/Makefile
+++ b/package/mt-daapd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= mt-daapd
PKG_VERSION:= 0.2.4.2
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=mt-daapd/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MT_DAAPD,mt-daapd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -40,4 +40,4 @@ mt-daapd-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/mt-daapd \
${IDIR_MT_DAAPD}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mtd-utils/Makefile b/package/mtd-utils/Makefile
index c4d699dc4..e6d37c337 100644
--- a/package/mtd-utils/Makefile
+++ b/package/mtd-utils/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= mtd-utils
PKG_VERSION:= 1.5.0
@@ -33,8 +33,8 @@ PKGFD_WITH_UBIFS:= enable ubifs support
PKGFS_WITH_UBIFS:= libuuid
PKGFB_WITH_UBIFS:= util-linux
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,MTD_UTILS,mtd-utils,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,MTD_UTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -109,5 +109,5 @@ flash-lock-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/flash_{lock,unlock} \
${IDIR_FLASH_LOCK}/usr/sbin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mtd/Makefile b/package/mtd/Makefile
index 380124ded..3bcb72538 100644
--- a/package/mtd/Makefile
+++ b/package/mtd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= mtd
PKG_VERSION:= 1.0
@@ -14,7 +14,7 @@ PKG_CFLINE_MTD:= depends on ADK_TARGET_WITH_MTD
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MTD,mtd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ do-install:
${INSTALL_DIR} ${IDIR_MTD}/sbin
${INSTALL_BIN} ${WRKBUILD}/mtd ${IDIR_MTD}/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mtr/Makefile b/package/mtr/Makefile
index 769066c33..1866d1131 100644
--- a/package/mtr/Makefile
+++ b/package/mtr/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= mtr
PKG_VERSION:= 0.75
@@ -18,7 +18,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_LIBC_DEPENDS:= uclibc glibc
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MTR,mtr,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ mtr-install:
${INSTALL_DIR} ${IDIR_MTR}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/mtr ${IDIR_MTR}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/musl/Makefile b/package/musl/Makefile
index 77f16a369..3e83a868f 100644
--- a/package/musl/Makefile
+++ b/package/musl/Makefile
@@ -1,10 +1,10 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/kernel-ver.mk
-include $(TOPDIR)/mk/kernel-vars.mk
-include $(TOPDIR)/toolchain/musl/Makefile.inc
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/kernel-ver.mk
+include $(ADK_TOPDIR)/mk/kernel-vars.mk
+include $(ADK_TOPDIR)/toolchain/musl/Makefile.inc
PKG_NAME:= musl
PKG_DESCR:= embedded C library
@@ -17,7 +17,7 @@ PKGSC_MUSL_DEV:= dev/header
NO_DISTFILES:= 1
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,MUSL,musl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,MUSL_DEV,musl-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_MUSL_DEV},${PKGSC_MUSL_DEV},${PKG_OPTS}))
@@ -81,4 +81,4 @@ musl-dev-install:
@find $(IDIR_MUSL_DEV) -name .install -exec rm {} \;
@find $(IDIR_MUSL_DEV) -name ..install.cmd -exec rm {} \;
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mutt/Makefile b/package/mutt/Makefile
index 84fccd569..7cc317ab5 100644
--- a/package/mutt/Makefile
+++ b/package/mutt/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= mutt
PKG_VERSION:= 1.5.23
@@ -17,7 +17,7 @@ PKG_SITES:= ftp://ftp.mutt.org/mutt/devel/ \
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MUTT,mutt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -36,4 +36,4 @@ ifeq (${ADK_PACKAGE_GPG},y)
${INSTALL_BIN} ${WRKINST}/usr/bin/pgpewrap ${IDIR_MUTT}/usr/bin/
endif
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mxml/Makefile b/package/mxml/Makefile
index 1f831be6b..d520342b5 100755
--- a/package/mxml/Makefile
+++ b/package/mxml/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= mxml
PKG_VERSION:= 2.6
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBMXML,libmxml,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ libmxml-install:
${INSTALL_DIR} ${IDIR_LIBMXML}/usr/lib
${CP} ${WRKINST}/usr/lib/libmxml.so* ${IDIR_LIBMXML}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mysql/Makefile b/package/mysql/Makefile
index 8db7618d6..8e05b9d94 100644
--- a/package/mysql/Makefile
+++ b/package/mysql/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= mysql
PKG_VERSION:= 5.6.17
@@ -19,8 +19,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,MYSQL,mysql,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBMYSQLCLIENT,libmysqlclient,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -79,5 +79,5 @@ libmysqlclient-install:
${CP} ${WRKINST}/usr/lib/libmysqlclient.so* \
${IDIR_LIBMYSQLCLIENT}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/nand/Makefile b/package/nand/Makefile
index f6bfd0f96..07be2c23e 100644
--- a/package/nand/Makefile
+++ b/package/nand/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= nand
PKG_VERSION:= 1.0
@@ -14,7 +14,7 @@ PKG_CFLINE_NAND:= depends on ADK_TARGET_WITH_NAND
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,NAND,nand,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ do-install:
${INSTALL_DIR} ${IDIR_NAND}/sbin
${INSTALL_BIN} ${WRKBUILD}/nand ${IDIR_NAND}/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/nano/Makefile b/package/nano/Makefile
index 04d9e5acb..79780f31b 100644
--- a/package/nano/Makefile
+++ b/package/nano/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= nano
PKG_VERSION:= 2.2.6
@@ -16,7 +16,7 @@ PKG_SITES:= http://www.nano-editor.org/dist/v2.2/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,NANO,nano,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -41,4 +41,4 @@ nano-install:
${INSTALL_DIR} ${IDIR_NANO}/etc
$(INSTALL_DATA) ./files/nanorc ${IDIR_NANO}/etc/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/nasm/Makefile b/package/nasm/Makefile
index 98720fdce..f23031f71 100644
--- a/package/nasm/Makefile
+++ b/package/nasm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= nasm
PKG_VERSION:= 2.11.02
@@ -13,8 +13,8 @@ PKG_BUILDDEP:= nasm-host
PKG_URL:= http://sourceforge.net/projects/nasm/
PKG_SITES:= http://www.nasm.us/pub/nasm/releasebuilds/${PKG_VERSION}/
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,NASM,nasm,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,NASM,nasm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,5 +26,5 @@ nasm-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/nasm \
$(IDIR_NASM)/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile
index cad3dba1a..fc279c236 100644
--- a/package/ncurses/Makefile
+++ b/package/ncurses/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ncurses
PKG_VERSION:= 5.9
@@ -20,8 +20,8 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_FLAVOURS_LIBNCURSES:= FULL_TERMINFO
PKGFD_FULL_TERMINFO:= install the complete set of terminfo files as provided upstream
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,LIBNCURSES,libncurses,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBNCURSES,libncurses,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -101,5 +101,5 @@ else
done
endif
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ndisc/Makefile b/package/ndisc/Makefile
index 765eab8bc..adcc96571 100644
--- a/package/ndisc/Makefile
+++ b/package/ndisc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ndisc6
PKG_VERSION:= 1.0.2
@@ -21,7 +21,7 @@ PKGSD_TCPTRACEROUTE6:= lightweight ipv6 tcptraceroute
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,NDISC6,ndisc6,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_NDISC6},${PKG_SECTION}))
$(eval $(call PKG_template,RDISC6,rdisc6,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_RDISC6},${PKG_SECTION}))
@@ -42,4 +42,4 @@ tcptraceroute6-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/tcptraceroute6 \
${IDIR_TCPTRACEROUTE6}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/neon/Makefile b/package/neon/Makefile
index ad98ae31e..7884ec917 100644
--- a/package/neon/Makefile
+++ b/package/neon/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= neon
PKG_VERSION:= 0.29.5
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,NEON,neon,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -29,4 +29,4 @@ neon-install:
${INSTALL_DIR} ${IDIR_NEON}/usr/lib
$(CP) ${WRKINST}/usr/lib/libneon.so* ${IDIR_NEON}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/net-snmp/Makefile b/package/net-snmp/Makefile
index 24a4aaccb..a0b81a2b7 100644
--- a/package/net-snmp/Makefile
+++ b/package/net-snmp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= net-snmp
PKG_VERSION:= 5.7.2.1
@@ -29,7 +29,7 @@ PKGSC_LIBNETSNMP:= libs/net
PKG_FLAVOURS_SNMPD:= WITH_IPV6
PKGFD_WITH_IPV6:= enable ipv6 support
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SNMPD,snmpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,SNMP_UTILS,snmp-utils,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_SNMP_UTILS},${PKGSD_SNMP_UTILS},${PKG_SECTION}))
@@ -88,4 +88,4 @@ snmp-utils-install:
${CP} ${WRKINST}/usr/bin/snmp{get,set,status,test,trap,walk} \
${IDIR_SNMP_UTILS}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/net-tools/Makefile b/package/net-tools/Makefile
index 6b8cceb22..055f2ec70 100644
--- a/package/net-tools/Makefile
+++ b/package/net-tools/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= net-tools
PKG_VERSION:= 1.60
@@ -17,7 +17,7 @@ PKG_SUBPKGS:= ARP
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,ARP,arp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -32,4 +32,4 @@ arp-install:
$(INSTALL_BIN) $(WRKBUILD)/arp \
$(IDIR_ARP)/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/netcat/Makefile b/package/netcat/Makefile
index 17a48d233..a23710da5 100644
--- a/package/netcat/Makefile
+++ b/package/netcat/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= netcat
PKG_VERSION:= 0.7.1
@@ -14,7 +14,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=netcat/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,NETCAT,netcat,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,4 +23,4 @@ netcat-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/netcat \
$(IDIR_NETCAT)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/netperf/Makefile b/package/netperf/Makefile
index 2c137f358..dd230b97f 100644
--- a/package/netperf/Makefile
+++ b/package/netperf/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= netperf
PKG_VERSION:= 2.4.3
@@ -14,7 +14,7 @@ PKG_SITES:= ftp://ftp.netperf.org/netperf/archive/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,NETPERF,netperf,${PKG_VERSION}${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ netperf-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/netperf ${IDIR_NETPERF}/usr/bin/
${INSTALL_BIN} ${WRKINST}/usr/bin/netserver ${IDIR_NETPERF}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/netstat-nat/Makefile b/package/netstat-nat/Makefile
index 78feb7df0..8d110051e 100644
--- a/package/netstat-nat/Makefile
+++ b/package/netstat-nat/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= netstat-nat
PKG_VERSION:= 1.4.9
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.tweegy.nl/download/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,NETSTAT_NAT,netstat-nat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,4 +23,4 @@ netstat-nat-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/netstat-nat \
${IDIR_NETSTAT_NAT}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/nfs-utils/Makefile b/package/nfs-utils/Makefile
index 5a40d8911..51d5d0069 100644
--- a/package/nfs-utils/Makefile
+++ b/package/nfs-utils/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= nfs-utils
PKG_VERSION:= 1.3.0
@@ -30,7 +30,7 @@ PKGCS_V4:= libkrb5 libevent libnfsidmap librpcsecgss libcom-err libgssglue
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,NFS_UTILS,nfs-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_FDEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,NFS_UTILS_CLIENT,nfs-utils-client,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_NFS_UTILS_CLIENT},${PKGSD_NFS_UTILS_CLIENT},${PKG_SECTION}))
@@ -86,4 +86,4 @@ nfs-utils-install:
${INSTALL_DIR} ${IDIR_NFS_UTILS}/etc
${INSTALL_DATA} ./files/rpc ${IDIR_NFS_UTILS}/etc
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/nginx/Makefile b/package/nginx/Makefile
index 173e840c9..735c61985 100644
--- a/package/nginx/Makefile
+++ b/package/nginx/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= nginx
PKG_VERSION:= 1.7.1
@@ -18,7 +18,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
# flavours for speedy and ssl
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,NGINX,nginx,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -55,4 +55,4 @@ nginx-install:
$(INSTALL_DIR) $(IDIR_NGINX)/srv/nginx/html
$(CP) $(WRKINST)/srv/nginx/html/* $(IDIR_NGINX)/srv/nginx/html
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/nmap/Makefile b/package/nmap/Makefile
index 750753e66..d892612cd 100644
--- a/package/nmap/Makefile
+++ b/package/nmap/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= nmap
PKG_VERSION:= 6.46
@@ -16,7 +16,7 @@ PKG_SITES:= http://download.insecure.org/nmap/dist/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,NMAP,nmap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -39,4 +39,4 @@ nmap-install:
done
${INSTALL_BIN} ${WRKINST}/usr/bin/nmap ${IDIR_NMAP}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/nspr/Makefile b/package/nspr/Makefile
index 965788a9c..6f3bc5c48 100644
--- a/package/nspr/Makefile
+++ b/package/nspr/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= nspr
PKG_VERSION:= 4.10.6
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
WRKSRC= ${WRKDIST}/nspr
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,NSPR,nspr,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -32,4 +32,4 @@ nspr-install:
$(INSTALL_DIR) $(IDIR_NSPR)/usr/lib
$(CP) $(WRKINST)/usr/lib/*.so* $(IDIR_NSPR)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/nss/Makefile b/package/nss/Makefile
index 3d98da183..219bf0685 100644
--- a/package/nss/Makefile
+++ b/package/nss/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= nss
PKG_VERSION:= 3.16.1
@@ -23,7 +23,7 @@ PKG_HOST_DEPENDS:= !cygwin
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
WRKSRC= ${WRKDIST}/nss
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,NSS,nss,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -66,4 +66,4 @@ do-install:
$(INSTALL_DATA) ${WRKDIST}/dist/lib/libcrmf.a \
${STAGING_TARGET_DIR}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ntfs-3g/Makefile b/package/ntfs-3g/Makefile
index 0bcfefcd9..e11c1251b 100644
--- a/package/ntfs-3g/Makefile
+++ b/package/ntfs-3g/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ntfs-3g
PKG_VERSION:= 2014.2.15
@@ -15,7 +15,7 @@ PKG_SITES:= http://tuxera.com/opensource/
DISTFILES:= ${PKG_NAME}_ntfsprogs-${PKG_VERSION}.tgz
WRKDIST= ${WRKDIR}/${PKG_NAME}_ntfsprogs-${PKG_VERSION}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,NTFS_3G,ntfs-3g,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ ntfs-3g-install:
${INSTALL_BIN} ${WRKINST}/bin/ntfs-3g ${IDIR_NTFS_3G}/bin
cd ${IDIR_NTFS_3G}/bin && ln -sf ntfs-3g mount.ntfs-3g
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ntpclient/Makefile b/package/ntpclient/Makefile
index 2d7640017..1e5a8e7a4 100644
--- a/package/ntpclient/Makefile
+++ b/package/ntpclient/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ntpclient
PKG_VERSION:= 2010_365
@@ -24,7 +24,7 @@ PKGFD_HOST:= Fetch time from this NTP host
PKGFX_HOST:= pool.ntp.org
PKGFC_HOST:= depends on ADK_PACKAGE_NTPCLIENT_STARTUP
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,NTPCLIENT,ntpclient,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -44,4 +44,4 @@ ifeq (${ADK_PACKAGE_NTPCLIENT_STARTUP},y)
echo -e "#!/bin/sh\n#INIT 91\nntpclient -h ${ADK_PACKAGE_NTPCLIENT_HOST} -s\nexit 0" > ${IDIR_NTPCLIENT}/etc/init.d/ntpclient
endif
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/nut/Makefile b/package/nut/Makefile
index e5189deb6..5a0171f1c 100644
--- a/package/nut/Makefile
+++ b/package/nut/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= nut
PKG_VERSION:= 2.7.2
@@ -25,7 +25,7 @@ PKGFD_WITH_SSL:= enable ssl support
PKGFS_WITH_SSL:= libopenssl
PKGFB_WITH_SSL:= openssl
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,NUT,nut,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -105,4 +105,4 @@ nut-install:
${IDIR_NUT}/usr/bin/
${INSTALL_DATA} ./files/ups{d,}.conf ${IDIR_NUT}/etc/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/obexftp/Makefile b/package/obexftp/Makefile
index 1e26e9c51..4b86e8d39 100644
--- a/package/obexftp/Makefile
+++ b/package/obexftp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= obexftp
PKG_VERSION:= 0.23
@@ -22,7 +22,7 @@ PKGSD_LIBOBEXFTP:= obex ftp library
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,OBEXFTP,obexftp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBOBEXFTP,libobexftp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBOBEXFTP},${PKGSC_LIBOBEXFTP},${PKG_OPTS}))
@@ -47,4 +47,4 @@ libobexftp-install:
${INSTALL_DIR} ${IDIR_LIBOBEXFTP}/usr/lib
${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_LIBOBEXFTP}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/olsrd/Makefile b/package/olsrd/Makefile
index b6c379245..1f56344e2 100644
--- a/package/olsrd/Makefile
+++ b/package/olsrd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= olsrd
PKG_VERSION:= 0.6.6.2
@@ -27,7 +27,7 @@ PKGSN_OLSRD_MOD_NAMESERVICE:= olsrd
PKGSD_OLSRD_MOD_TAS:= tas support
PKGSN_OLSRD_MOD_TAS:= olsrd
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
define PKG_mod_template
@@ -60,4 +60,4 @@ post-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m}
${INSTALL_DATA} ${WRKINST}/etc/olsrd.conf ${IDIR_OLSRD}/etc/
${INSTALL_BIN} ${WRKINST}/usr/sbin/olsrd ${IDIR_OLSRD}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/omxplayer/Makefile b/package/omxplayer/Makefile
index 724865a53..813352f03 100644
--- a/package/omxplayer/Makefile
+++ b/package/omxplayer/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= omxplayer
# actually 46616c55c2fad3dac47d17e8a6b41a16a4d6f15e from 13.04.2014
@@ -21,7 +21,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
PKG_SYSTEM_DEPENDS:= raspberry-pi
PKG_LIBC_DEPENDS:= glibc musl
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,OMXPLAYER,omxplayer,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -43,4 +43,4 @@ omxplayer-install:
$(INSTALL_DATA) $(WRKSRC)/fonts/* \
$(IDIR_OMXPLAYER)/usr/share/fonts/truetype/freefont/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/open-iscsi/Makefile b/package/open-iscsi/Makefile
index 5ce21fc93..8a63fa51f 100644
--- a/package/open-iscsi/Makefile
+++ b/package/open-iscsi/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= open-iscsi
PKG_VERSION:= 2.0
@@ -16,7 +16,7 @@ PKG_SITES:= http://www.open-iscsi.org/bits/
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION)-$(PKG_EXTRAVER).tar.gz
WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}-${PKG_EXTRAVER}
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
ALL_TARGET:= user
INSTALL_TARGET:= install_user
@@ -30,4 +30,4 @@ open-iscsi-install:
$(INSTALL_BIN) $(WRKINST)/sbin/* $(IDIR_OPEN_ISCSI)/sbin
$(CP) $(WRKINST)/etc/iscsi/* $(IDIR_OPEN_ISCSI)/etc/iscsi
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/openafs/Makefile b/package/openafs/Makefile
index d234fb9ad..b27a7bb7a 100644
--- a/package/openafs/Makefile
+++ b/package/openafs/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= openafs
PKG_VERSION:= 1.6.5.1
@@ -17,7 +17,7 @@ PKG_CFLINE_OPENAFS+= select ADK_KERNEL_KEYS
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-src.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,OPENAFS,openafs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -47,4 +47,4 @@ openafs-install:
$(CP) $(WRKINST)/usr/lib/openafs/libafs-${KERNEL_VERSION}.ko \
$(IDIR_OPENAFS)/lib/modules/${KERNEL_VERSION}/libafs.ko
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/openct/Makefile b/package/openct/Makefile
index 88d5108a7..a18baad9c 100644
--- a/package/openct/Makefile
+++ b/package/openct/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= openct
PKG_VERSION:= 0.6.20
@@ -24,7 +24,7 @@ PKGSC_LIBOPENCT:= libs/crypto
PKGSS_LIBOPENCT:= libltdl libusb
PKGSB_LIBOPENCT:= libtool libusb
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,OPENCT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBOPENCT,libopenct,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBOPENCT},${PKGSD_LIBOPENCT},${PKGSC_LIBOPENCT},${PKG_OPTS}))
@@ -45,4 +45,4 @@ libopenct-install:
${CP} ${WRKINST}/usr/lib/libopenct.so* \
${IDIR_LIBOPENCT}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/openjdk7/Makefile b/package/openjdk7/Makefile
index 00085af7a..70bcceacc 100644
--- a/package/openjdk7/Makefile
+++ b/package/openjdk7/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= openjdk7
PKG_VERSION:= 2.4.7
@@ -31,9 +31,9 @@ PKG_HOST_DEPENDS:= linux
PKG_ARCH_DEPENDS:= arm mips ppc x86 x86_64
PKG_LIBC_DEPENDS:= uclibc glibc musl
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
-include $(TOPDIR)/mk/qemu.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/qemu.mk
$(eval $(call HOST_template,OPENJDK7,openjdk7,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,OPENJDK7,openjdk7,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -146,5 +146,5 @@ openjdk7-install:
(cd $(IDIR_OPENJDK7)/usr/bin && ln -sf ../lib/jvm/jre/bin/java .)
(cd $(IDIR_OPENJDK7)/usr/lib/jvm/jre/lib/$(JDKARCH) && ln -sf server/libjvm.so .)
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/openldap/Makefile b/package/openldap/Makefile
index 7e09ceeba..35ffbb67e 100644
--- a/package/openldap/Makefile
+++ b/package/openldap/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= openldap
PKG_VERSION:= 2.4.39
@@ -29,7 +29,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
PKG_FLAVOURS_OPENLDAP_SLAPD:= WITH_IPV6
PKGFD_WITH_IPV6:= enable IPv6 support
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBOPENLDAP,libopenldap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,OPENLDAP_UTILS,openldap-utils,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_OPENLDAP_UTILS},${PKGSD_OPENLDAP_UTILS},${PKGSC_OPENLDAP_UTILS}))
@@ -80,4 +80,4 @@ openldap-slapd-install:
${IDIR_OPENLDAP_SLAPD}/etc/openldap/schema
${INSTALL_DATA} ./files/slapd.conf ${IDIR_OPENLDAP_SLAPD}/etc/openldap
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/openntpd/Makefile b/package/openntpd/Makefile
index a9f55c64c..bfe60ea58 100644
--- a/package/openntpd/Makefile
+++ b/package/openntpd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= openntpd
PKG_VERSION:= 3.9p1
@@ -15,7 +15,7 @@ PKG_SITES:= ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,OPENNTPD,openntpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ do-install:
${INSTALL_DIR} ${IDIR_OPENNTPD}/usr/sbin/
${INSTALL_BIN} ${WRKBUILD}/ntpd ${IDIR_OPENNTPD}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/openobex/Makefile b/package/openobex/Makefile
index 061f37a27..1dc82b25d 100644
--- a/package/openobex/Makefile
+++ b/package/openobex/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= openobex
PKG_VERSION:= 1.5
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,OPENOBEX,openobex,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -23,4 +23,4 @@ openobex-install:
${INSTALL_DIR} ${IDIR_OPENOBEX}/usr/lib
${CP} ${WRKINST}/usr/lib/libopenobex.so* ${IDIR_OPENOBEX}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/opensc/Makefile b/package/opensc/Makefile
index cf874a126..663281acc 100644
--- a/package/opensc/Makefile
+++ b/package/opensc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= opensc
PKG_VERSION:= 0.11.13
@@ -24,7 +24,7 @@ PKGSC_LIBOPENSC:= libs/crypto
PKGSS_LIBOPENSC:= libltdl
PKGSB_LIBOPENSC:= libtool
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,OPENSC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBOPENSC,libopensc,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBOPENSC},${PKGSD_LIBOPENSC},${PKGSC_LIBOPENSC},${PKG_OPTS}))
@@ -62,4 +62,4 @@ libopensc-install:
${CP} ${WRKINST}/usr/lib/opensc-pkcs11.so \
${IDIR_LIBOPENSC}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/opensips/Makefile b/package/opensips/Makefile
index 248e13841..1d27affdf 100644
--- a/package/opensips/Makefile
+++ b/package/opensips/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= opensips
PKG_VERSION:= 1.11.1
@@ -66,7 +66,7 @@ PKGSN_OPENSIPS_MOD_URI:= opensips
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION)_src.tar.gz
WRKDIST= ${WRKDIR}/$(PKG_NAME)-$(PKG_VERSION)-tls
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
define PKG_mod_template
@@ -158,4 +158,4 @@ do-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m}
)
$(CP) ./files/opensips.cfg $(IDIR_OPENSIPS)/etc/opensips/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/openssh/Makefile b/package/openssh/Makefile
index 74eb3cc16..dcd14056b 100644
--- a/package/openssh/Makefile
+++ b/package/openssh/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= openssh
PKG_VERSION:= 6.6p1
@@ -39,7 +39,7 @@ PKGCD_WITH_HEIMDAL:= with Heimdal Kerberos
PKGCS_WITH_HEIMDAL:= libheimdal libcom-err
PKGCB_WITH_HEIMDAL:= heimdal
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,OPENSSH,openssh,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,OPENSSH_SERVER,openssh-server,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_OPENSSH_SERVER},${PKGSD_OPENSSH_SERVER},${PKG_SECTION}))
@@ -128,4 +128,4 @@ openssh-sftp-server-install:
${INSTALL_BIN} ${WRKINST}/usr/libexec/sftp-server \
${IDIR_OPENSSH_SFTP_SERVER}/usr/libexec
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/openssl-pkcs11/Makefile b/package/openssl-pkcs11/Makefile
index ac7339764..1bd34bf16 100644
--- a/package/openssl-pkcs11/Makefile
+++ b/package/openssl-pkcs11/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= openssl-pkcs11
PKG_VERSION:= 0.1.8
@@ -16,7 +16,7 @@ PKG_SITES:= http://www.opensc-project.org/files/engine_pkcs11/
DISTFILES:= engine_pkcs11-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/engine_pkcs11-${PKG_VERSION}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,OPENSSL_PKCS11,openssl-pkcs11,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ openssl-pkcs11-install:
${INSTALL_DATA} ${WRKINST}/usr/lib/engines/engine_pkcs11.so \
${IDIR_OPENSSL_PKCS11}/usr/lib/engines
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/openssl/Makefile b/package/openssl/Makefile
index f82b2cbb1..9c8dc66a0 100644
--- a/package/openssl/Makefile
+++ b/package/openssl/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= openssl
PKG_VERSION:= 1.0.1h
@@ -26,7 +26,7 @@ PKGSS_OPENSSL_UTIL:= libopenssl
PKG_FLAVOURS_LIBOPENSSL:= WITH_CRYPTODEV
PKGFD_WITH_CRYPTODEV:= enable support for cryptodev-linux
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBOPENSSL,libopenssl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},$(PKG_OPTS)))
$(eval $(call PKG_template,OPENSSL_UTIL,openssl-util,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_OPENSSL_UTIL},${PKGSD_OPENSSL_UTIL},${PKGSC_OPENSSL_UTIL}))
@@ -94,4 +94,4 @@ openssl-util-install:
${CP} ${WRKSRC}/apps/openssl.cnf ${IDIR_OPENSSL_UTIL}/etc/ssl/
chmod 0700 ${IDIR_OPENSSL_UTIL}/etc/ssl/private
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/openswan/Makefile b/package/openswan/Makefile
index 787c452fa..b91ea0be3 100644
--- a/package/openswan/Makefile
+++ b/package/openswan/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= openswan
PKG_VERSION:= 2.6.41
@@ -20,7 +20,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
# GLOB_BRACE usage
PKG_LIBC_DEPENDS:= uclibc glibc
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,OPENSWAN,openswan,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -48,4 +48,4 @@ openswan-install:
${IDIR_OPENSWAN}/usr/libexec/ipsec/setup
${INSTALL_BIN} ${WRKINST}/usr/sbin/ipsec ${IDIR_OPENSWAN}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/openvpn/Makefile b/package/openvpn/Makefile
index 69c9317ea..aab30bdc1 100644
--- a/package/openvpn/Makefile
+++ b/package/openvpn/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= openvpn
PKG_VERSION:= 2.3.4
@@ -29,7 +29,7 @@ PKGCD_WITH_POLARSSL:= use PolarSSL for crypto
PKGCS_WITH_POLARSSL:= libpolarssl
PKGCB_WITH_POLARSSL:= polarssl
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,OPENVPN,openvpn,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -77,4 +77,4 @@ openvpn-install:
$(CP) ./files/server.conf $(IDIR_OPENVPN)/etc/openvpn/server.conf.example
$(CP) ./files/client.conf $(IDIR_OPENVPN)/etc/openvpn/client.conf.example
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/oprofile/Makefile b/package/oprofile/Makefile
index dbb2cf3cc..d51ba98ac 100644
--- a/package/oprofile/Makefile
+++ b/package/oprofile/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= oprofile
PKG_VERSION:= 0.9.9
@@ -21,7 +21,7 @@ PKG_LIBC_DEPENDS:= uclibc glibc
PKG_CFLINE_OPROFILE:= select BUSYBOX_EXPR
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,OPROFILE,oprofile,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -37,4 +37,4 @@ oprofile-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/oprofiled $(IDIR_OPROFILE)/usr/bin/
${CP} ${WRKINST}/usr/share/oprofile ${IDIR_OPROFILE}/usr/share/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/opus/Makefile b/package/opus/Makefile
index 9f1909476..0a0261533 100644
--- a/package/opus/Makefile
+++ b/package/opus/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= opus
PKG_VERSION:= 1.1
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBOPUS,libopus,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -25,4 +25,4 @@ libopus-install:
$(CP) $(WRKINST)/usr/lib/libopus*.so* \
$(IDIR_LIBOPUS)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/orbit2/Makefile b/package/orbit2/Makefile
index 745a6e11f..197909506 100644
--- a/package/orbit2/Makefile
+++ b/package/orbit2/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= ORBit2
PKG_VERSION:= 2.14.19
@@ -18,8 +18,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,ORBIT2,orbit2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -50,5 +50,5 @@ orbit2-install:
$(CP) $(WRKINST)/usr/bin/orbit-idl-2 \
$(STAGING_TARGET_DIR)/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/owfs/Makefile b/package/owfs/Makefile
index 3dad68a81..83eef235b 100644
--- a/package/owfs/Makefile
+++ b/package/owfs/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= owfs
PKG_VERSION:= 2.9p1
@@ -15,7 +15,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=owfs/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,OWFS,owfs,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -41,4 +41,4 @@ owfs-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/ow* \
${IDIR_OWFS}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/p5-xml-parser/Makefile b/package/p5-xml-parser/Makefile
index 00a6f44e7..dc8d1f634 100644
--- a/package/p5-xml-parser/Makefile
+++ b/package/p5-xml-parser/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= p5-xml-parser
PKG_VERSION:= 2.40
@@ -16,11 +16,11 @@ PKG_SITES:= http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/
DISTFILES:= XML-Parser-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/XML-Parser-${PKG_VERSION}
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,P5_XML_PARSER,p5-xml-parser,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-include $(TOPDIR)/mk/perl.mk
+include $(ADK_TOPDIR)/mk/perl.mk
PERL_ENV+= EXPATLIBPATH=${STAGING_TARGET_DIR}/usr/lib \
EXPATINCPATH=${STAGING_TARGET_DIR}/usr/include
@@ -32,4 +32,4 @@ p5-xml-parser-install:
$(CP) $(WRKINST)$(PERL_SITEDIR)/* \
$(IDIR_P5_XML_PARSER)$(PERL_SITEDIR)
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/p54-firmware/Makefile b/package/p54-firmware/Makefile
index 72fc56ae2..7018b5b1a 100644
--- a/package/p54-firmware/Makefile
+++ b/package/p54-firmware/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= p54-firmware
PKG_VERSION:= 1
@@ -14,7 +14,7 @@ PKG_SITES:= http://daemonizer.de/prism54/prism54-fw/fw-usb/
DISTFILES:= 2.13.24.0.lm87.arm
WRKDIST= ${WRKDIR}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,P54_FIRMWARE,p54-firmware,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ do-install:
${CP} ${WRKBUILD}/*.arm \
${IDIR_P54_FIRMWARE}/lib/firmware/isl3887usb
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/p910nd/Makefile b/package/p910nd/Makefile
index 11c71db94..f3a059970 100644
--- a/package/p910nd/Makefile
+++ b/package/p910nd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= p910nd
PKG_VERSION:= 0.97
@@ -14,7 +14,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=p910nd/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,P910ND,p910nd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ do-install:
${INSTALL_DIR} ${IDIR_P910ND}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/p910nd ${IDIR_P910ND}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pam/Makefile b/package/pam/Makefile
index f08384a7b..b5bb789dc 100644
--- a/package/pam/Makefile
+++ b/package/pam/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= pam
PKG_VERSION:= 1.1.8
@@ -18,7 +18,7 @@ PKG_BB:= 1
DISTFILES:= Linux-PAM-$(PKG_VERSION).tar.gz
WRKDIST= ${WRKDIR}/Linux-PAM-${PKG_VERSION}
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PAM,pam,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -41,4 +41,4 @@ pam-install:
$(CP) $(WRKINST)/lib/security/*.so* $(IDIR_PAM)/lib/security
$(CP) ./files/pam.conf $(IDIR_PAM)/etc
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pango/Makefile b/package/pango/Makefile
index 2f98e804c..9d22d608e 100644
--- a/package/pango/Makefile
+++ b/package/pango/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= pango
PKG_VERSION:= 1.36.3
@@ -16,8 +16,8 @@ PKG_URL:= http://www.pango.org/
PKG_SITES:= ${MASTER_SITE_GNOME:=pango/1.36/}
PKG_OPTS:= dev
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,PANGO,pango,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,PANGO,pango,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -32,5 +32,5 @@ pango-install:
$(CP) $(WRKINST)/usr/lib/pango/1.8.0/modules/*.so \
$(IDIR_PANGO)/usr/lib/pango/1.8.0/modules
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/parprouted/Makefile b/package/parprouted/Makefile
index 3c2b1c4cc..8e8419db2 100644
--- a/package/parprouted/Makefile
+++ b/package/parprouted/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= parprouted
PKG_VERSION:= 0.7
@@ -15,7 +15,7 @@ PKG_SITES:= http://www.hazard.maks.net/parprouted/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PARPROUTED,parprouted,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ do-install:
${INSTALL_DIR} ${IDIR_PARPROUTED}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/parprouted ${IDIR_PARPROUTED}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/parted/Makefile b/package/parted/Makefile
index 62484120d..8de45556c 100644
--- a/package/parted/Makefile
+++ b/package/parted/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= parted
PKG_VERSION:= 3.1
@@ -14,7 +14,7 @@ PKG_BUILDDEP:= util-linux readline
PKG_URL:= http://www.gnu.org/software/parted/index.shtml
PKG_SITES:= ${MASTER_SITE_GNU:=parted/}
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PARTED,parted,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ parted-install:
${CP} $(WRKINST)/usr/lib/libparted*so* $(IDIR_PARTED)/usr/lib
${INSTALL_BIN} $(WRKINST)/usr/sbin/parted $(IDIR_PARTED)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/patch/Makefile b/package/patch/Makefile
index 2241c2f2c..e35288572 100644
--- a/package/patch/Makefile
+++ b/package/patch/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= patch
PKG_VERSION:= 2.7.1
@@ -13,8 +13,8 @@ PKG_URL:= http://www.gnu.org/software/patch/
PKG_SITES:= ${MASTER_SITE_GNU:=patch/}
PKG_BB:= 1
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,PATCH,patch,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,PATCH,patch,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,5 +23,5 @@ patch-install:
$(INSTALL_DIR) $(IDIR_PATCH)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/patch $(IDIR_PATCH)/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pcc-libs/Makefile b/package/pcc-libs/Makefile
index aa2dc7a6c..015dad84a 100644
--- a/package/pcc-libs/Makefile
+++ b/package/pcc-libs/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= pcc-libs
PKG_VERSION:= 1.0.0
@@ -17,7 +17,7 @@ PKG_CFLINE_PCC_LIBS:= depends on ADK_BROKEN
PKG_ARCH_DEPENDS:= !arm !m68k !mips !ppc
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PCC_LIBS,pcc-libs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ pcc-libs-install:
$(INSTALL_DIR) $(IDIR_PCC_LIBS)/usr/bin
cd ${WRKINST} && cp -r * ${IDIR_PCC_LIBS}/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pcc/Makefile b/package/pcc/Makefile
index 457b4446c..bcae25236 100644
--- a/package/pcc/Makefile
+++ b/package/pcc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= pcc
PKG_VERSION:= 1.0.0
@@ -19,7 +19,7 @@ PKG_CFLINE_PCC:= depends on ADK_BROKEN
PKG_ARCH_DEPENDS:= !arm !m68k !mips !ppc
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PCC,pcc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -40,4 +40,4 @@ pcc-install:
$(INSTALL_DIR) $(IDIR_PCC)
cd ${WRKINST} && cp -r * ${IDIR_PCC}/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pciutils/Makefile b/package/pciutils/Makefile
index 1735b2a5a..8eb41bd56 100644
--- a/package/pciutils/Makefile
+++ b/package/pciutils/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= pciutils
PKG_VERSION:= 3.1.10
@@ -15,7 +15,7 @@ PKG_URL:= http://www.kernel.org/pub/software/utils/pciutils/
PKG_SITES:= http://www.kernel.org/pub/software/utils/pciutils/
PKG_BB:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PCIUTILS,pciutils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -34,4 +34,4 @@ do-install:
${INSTALL_BIN} ${WRKBUILD}/{lspci,setpci} ${IDIR_PCIUTILS}/usr/bin
${INSTALL_DATA} ${WRKBUILD}/pci.ids ${IDIR_PCIUTILS}/usr/share
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pcmciautils/Makefile b/package/pcmciautils/Makefile
index ca4277dbf..7a303fd55 100644
--- a/package/pcmciautils/Makefile
+++ b/package/pcmciautils/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= pcmciautils
PKG_VERSION:= 018
@@ -16,7 +16,7 @@ PKG_SITES:= http://www.kernel.org/pub/linux/utils/kernel/pcmcia/
PKG_CFLINE_PCMCIAUTILS:=depends on ADK_TARGET_WITH_CARDBUS
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PCMCIAUTILS,pcmciautils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -32,4 +32,4 @@ pcmciautils-install:
$(INSTALL_BIN) $(WRKINST)/lib/udev/pcmcia-socket-startup \
$(IDIR_PCMCIAUTILS)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pcre/Makefile b/package/pcre/Makefile
index 3deee2bcc..66568b412 100644
--- a/package/pcre/Makefile
+++ b/package/pcre/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= pcre
PKG_VERSION:= 8.34
@@ -20,8 +20,8 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_SUBPKGS:= LIBPCRE LIBPCRECPP
PKGSD_LIBPCRECPP:= PCRE c++ library
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,PCRE,pcre,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBPCRE,libpcre,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -39,5 +39,5 @@ libpcrecpp-install:
${INSTALL_DIR} ${IDIR_LIBPCRECPP}/usr/lib
${CP} ${WRKINST}/usr/lib/libpcrecpp.so* ${IDIR_LIBPCRECPP}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pcrepp/Makefile b/package/pcrepp/Makefile
index 0830720fd..073b2ff8a 100644
--- a/package/pcrepp/Makefile
+++ b/package/pcrepp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= pcrepp
PKG_VERSION:= 0.9.5
@@ -21,7 +21,7 @@ PKG_LIBC_DEPENDS:= glibc musl
DISTFILES:= pcre++-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/pcre++-${PKG_VERSION}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PCREPP,pcrepp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -30,4 +30,4 @@ pcrepp-install:
$(CP) $(WRKINST)/usr/lib/libpcre++.so* \
$(IDIR_PCREPP)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pcsc-lite/Makefile b/package/pcsc-lite/Makefile
index 80f97b336..788eaa23d 100644
--- a/package/pcsc-lite/Makefile
+++ b/package/pcsc-lite/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= pcsc-lite
PKG_VERSION:= 1.7.4
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PCSC_LITE,pcsc-lite,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -32,4 +32,4 @@ pcsc-lite-install:
$(CP) $(WRKINST)/usr/lib/libpcsclite.so* \
$(IDIR_PCSC_LITE)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pdnsd/Makefile b/package/pdnsd/Makefile
index 99d8f5f3d..bf875ffd4 100644
--- a/package/pdnsd/Makefile
+++ b/package/pdnsd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= pdnsd
PKG_VERSION:= 1.2.7
@@ -20,7 +20,7 @@ PKG_HOST_DEPENDS:= !netbsd
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-par.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PDNSD,pdnsd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -38,4 +38,4 @@ pdnsd-install:
$(INSTALL_DIR) $(IDIR_PDNSD)/usr/sbin
$(INSTALL_BIN) $(WRKINST)/usr/sbin/pdnsd{,-ctl} $(IDIR_PDNSD)/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/perl/Makefile b/package/perl/Makefile
index f57a058ff..923f12353 100644
--- a/package/perl/Makefile
+++ b/package/perl/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= perl
PKG_VERSION:= 5.18.1
@@ -16,8 +16,8 @@ PKG_NOPARALLEL:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,PERL,perl,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,PERL,perl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -80,5 +80,5 @@ perl-install:
${IDIR_PERL}/usr/lib/perl5/${PKG_VERSION}
${INSTALL_BIN} ${WRKINST}/usr/bin/perl ${IDIR_PERL}/usr/bin/
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/php/Makefile b/package/php/Makefile
index af58d9ad0..f4586bd98 100644
--- a/package/php/Makefile
+++ b/package/php/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= php
PKG_VERSION:= 5.5.13
@@ -70,7 +70,7 @@ PKGFS_MOD_ZLIB:= zlib
PKG_HOST_DEPENDS:= !cygwin
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PHP,php,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,PHP_CLI,php-cli,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_PHP_CLI},${PKG_SECTION}))
@@ -260,4 +260,4 @@ do-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m}
${INSTALL_BIN} $(WRKBUILD)/sapi/cgi/php-cgi \
$(IDIR_PHP_FASTCGI)/usr/bin/php
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/picocom/Makefile b/package/picocom/Makefile
index 065f00e3b..cf0db53a1 100644
--- a/package/picocom/Makefile
+++ b/package/picocom/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= picocom
PKG_VERSION:= 1.7
@@ -14,7 +14,7 @@ PKG_SITES:= http://picocom.googlecode.com/files/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PICOCOM,picocom,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ do-install:
${INSTALL_DIR} ${IDIR_PICOCOM}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/picocom ${IDIR_PICOCOM}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pipacs/Makefile b/package/pipacs/Makefile
index 7478a5587..597eca955 100644
--- a/package/pipacs/Makefile
+++ b/package/pipacs/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= pipacs
PKG_VERSION:= 0.1
@@ -11,7 +11,7 @@ PKG_SECTION:= net/misc
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PIPACS,pipacs,${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -22,4 +22,4 @@ do-install:
${INSTALL_DIR} ${IDIR_PIPACS}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/pipacs ${IDIR_PIPACS}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pixman/Makefile b/package/pixman/Makefile
index ae13db9b8..e847d6451 100644
--- a/package/pixman/Makefile
+++ b/package/pixman/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= pixman
PKG_VERSION:= 0.32.4
@@ -16,8 +16,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,PIXMAN,pixman,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,PIXMAN,pixman,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -29,5 +29,5 @@ pixman-install:
${INSTALL_DIR} ${IDIR_PIXMAN}/usr/lib
${CP} ${WRKINST}/usr/lib/libpixman-1.so* ${IDIR_PIXMAN}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pkgconf/Makefile b/package/pkgconf/Makefile
index 7f45e403b..04b7c1b7a 100644
--- a/package/pkgconf/Makefile
+++ b/package/pkgconf/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= pkgconf
PKG_VERSION:= 0.9.6
@@ -14,8 +14,8 @@ PKG_SITES:= http://rabbit.dereferenced.org/~nenolod/distfiles/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,PKGCONF,pkgconf,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,PKGCONF,pkgconf,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,5 +30,5 @@ pkgconf-install:
$(IDIR_PKGCONF)/usr/bin
(cd $(IDIR_PKGCONF)/usr/bin && ln -sf pkgconf pkg-config)
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pm-utils/Makefile b/package/pm-utils/Makefile
index dfb91c7a7..4b32e01fe 100644
--- a/package/pm-utils/Makefile
+++ b/package/pm-utils/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= pm-utils
PKG_VERSION:= 1.4.1
@@ -16,7 +16,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_CFLINE_PM_UTILS:= select BUSYBOX_FLOCK
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PM_UTILS,pm-utils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,4 +28,4 @@ pm-utils-install:
$(CP) $(WRKINST)/usr/sbin/pm-* \
$(IDIR_PM_UTILS)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pmacct/Makefile b/package/pmacct/Makefile
index c90d993c2..d69e94481 100644
--- a/package/pmacct/Makefile
+++ b/package/pmacct/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= pmacct
PKG_VERSION:= 0.12.5
@@ -18,7 +18,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_SUBPKGS:= NFACCTD PMACCTD SFACCTD PMACCT_CLIENT
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,NFACCTD,nfacctd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,PMACCTD,pmacctd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -46,4 +46,4 @@ pmacct-client-install:
${INSTALL_DIR} $(IDIR_PMACCT_CLIENT)/usr/bin
${INSTALL_BIN} $(WRKINST)/usr/bin/pmacct $(IDIR_PMACCT_CLIENT)/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/polarssl/Makefile b/package/polarssl/Makefile
index 602c9f167..8180fd6d8 100644
--- a/package/polarssl/Makefile
+++ b/package/polarssl/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= polarssl
PKG_VERSION:= 1.3.6
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-gpl.tgz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBPOLARSSL,libpolarssl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -29,4 +29,4 @@ libpolarssl-install:
$(CP) $(WRKINST)/usr/lib/libpolarssl.so* \
$(IDIR_LIBPOLARSSL)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/polipo/Makefile b/package/polipo/Makefile
index d4589a5ad..dab411aa6 100644
--- a/package/polipo/Makefile
+++ b/package/polipo/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= polipo
PKG_VERSION:= 1.0.4.1
@@ -14,7 +14,7 @@ PKG_SITES:= http://freehaven.net/~chrisd/polipo/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,POLIPO,polipo,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ polipo-install:
$(INSTALL_BIN) $(WRKINST)/usr/local/bin/polipo \
$(IDIR_POLIPO)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/poppler/Makefile b/package/poppler/Makefile
index accce81ee..bf5b5663d 100644
--- a/package/poppler/Makefile
+++ b/package/poppler/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= poppler
PKG_VERSION:= 0.24.5
@@ -15,7 +15,7 @@ PKG_URL:= http://poppler.freedesktop.org/
PKG_SITES:= http://poppler.freedesktop.org/
PKG_OPTS:= dev
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,POPPLER,poppler,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ poppler-install:
$(CP) $(WRKINST)/usr/lib/libpoppler*.so* \
$(IDIR_POPPLER)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/popt/Makefile b/package/popt/Makefile
index 294ea680a..7b68e0350 100644
--- a/package/popt/Makefile
+++ b/package/popt/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= popt
PKG_VERSION:= 1.16
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBPOPT,libpopt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,4 +24,4 @@ libpopt-install:
${INSTALL_DIR} ${IDIR_LIBPOPT}/usr/lib
${CP} ${WRKINST}/usr/lib/libpopt.so* ${IDIR_LIBPOPT}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/portsentry/Makefile b/package/portsentry/Makefile
index 2c7fb9648..759358d64 100644
--- a/package/portsentry/Makefile
+++ b/package/portsentry/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= portsentry
PKG_VERSION:= 1.2
@@ -17,7 +17,7 @@ PKG_LIBC_DEPENDS:= uclibc glibc
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/${PKG_NAME}_beta
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PORTSENTRY,portsentry,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -32,4 +32,4 @@ do-install:
${INSTALL_DATA} ${WRKBUILD}/${PKG_NAME}.conf ${IDIR_PORTSENTRY}/etc/
${INSTALL_BIN} ${WRKBUILD}/${PKG_NAME} ${IDIR_PORTSENTRY}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/postfix/Makefile b/package/postfix/Makefile
index d75ae325d..2b13a80ee 100644
--- a/package/postfix/Makefile
+++ b/package/postfix/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= postfix
PKG_VERSION:= 2.11.0
@@ -17,7 +17,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_HOST_DEPENDS:= !darwin
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,POSTFIX,postfix,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -56,4 +56,4 @@ postfix-install:
$(IDIR_POSTFIX)/usr/libexec/postfix/
chmod 755 $(IDIR_POSTFIX)/usr/libexec/postfix/*
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/postgresql/Makefile b/package/postgresql/Makefile
index a3e354ff9..8bd0176a0 100644
--- a/package/postgresql/Makefile
+++ b/package/postgresql/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= postgresql
PKG_VERSION:= 9.3.4
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBPQ,libpq,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -63,4 +63,4 @@ libpq-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/pg_config \
${IDIR_LIBPQ_DEV}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ppp/Makefile b/package/ppp/Makefile
index 13b7ade48..9d84efe81 100644
--- a/package/ppp/Makefile
+++ b/package/ppp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ppp
PKG_VERSION:= 2.4.6
@@ -34,7 +34,7 @@ PKGSD_PPP_MOD_PPPSTATS:=ppp statistic utility
PKGSN_PPP_MOD_PPPSTATS:=ppp
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PPP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,PPP_MOD_PPPOA,ppp-mod-pppoa,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_PPP_MOD_PPPOA},${PKG_SECTION}))
@@ -123,4 +123,4 @@ ppp-mod-pppumts-install:
$(INSTALL_BIN) ./files/hso.if-down \
${IDIR_PPP_MOD_PPPUMTS}/etc/network/if-post-down.d/06-hso
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pptp/Makefile b/package/pptp/Makefile
index b4a3f3d8e..46faa1d85 100644
--- a/package/pptp/Makefile
+++ b/package/pptp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= pptp
PKG_VERSION:= 1.8.0
@@ -14,7 +14,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=pptpclient/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PPTP,pptp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ do-install:
${INSTALL_DATA} ./files/options.pptp ${IDIR_PPTP}/etc/ppp/
${INSTALL_BIN} ${WRKBUILD}/pptp ${IDIR_PPTP}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pptpd/Makefile b/package/pptpd/Makefile
index 1e76579c7..05b4dc3de 100644
--- a/package/pptpd/Makefile
+++ b/package/pptpd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= pptpd
PKG_VERSION:= 1.3.4
@@ -17,7 +17,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_LIBC_DEPENDS:= uclibc glibc
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PPTPD,pptpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -32,4 +32,4 @@ pptpd-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/pptpd \
${WRKINST}/usr/sbin/pptpctrl ${IDIR_PPTPD}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/presentproto/Makefile b/package/presentproto/Makefile
index 45c08a107..57dab9481 100644
--- a/package/presentproto/Makefile
+++ b/package/presentproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= presentproto
PKG_VERSION:= 1.0
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PRESENTPROTO,presentproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/printproto/Makefile b/package/printproto/Makefile
index 7ef045a1b..2a8d70f47 100644
--- a/package/printproto/Makefile
+++ b/package/printproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= printproto
PKG_VERSION:= 1.0.5
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PRINTPROTO,printproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/privoxy/Makefile b/package/privoxy/Makefile
index d0220a1cb..6f063804a 100644
--- a/package/privoxy/Makefile
+++ b/package/privoxy/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= privoxy
PKG_VERSION:= 3.0.19
@@ -18,7 +18,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ijbswa/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-${PKG_VARIANT}-src.tar.gz
WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}-${PKG_VARIANT}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PRIVOXY,privoxy,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -38,4 +38,4 @@ privoxy-install:
${CP} ${WRKINST}/etc/privoxy/* ${IDIR_PRIVOXY}/etc/privoxy
${INSTALL_BIN} ${WRKINST}/usr/sbin/privoxy ${IDIR_PRIVOXY}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/procmail/Makefile b/package/procmail/Makefile
index aeccd8a25..5e560b317 100644
--- a/package/procmail/Makefile
+++ b/package/procmail/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= procmail
PKG_VERSION:= 3.22
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.procmail.org/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PROCMAIL,procmail,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -32,4 +32,4 @@ do-install:
${INSTALL_BIN} ${WRKBUILD}/src/procmail ${IDIR_PROCMAIL}/usr/bin/
${INSTALL_BIN} ${WRKBUILD}/src/formail ${IDIR_PROCMAIL}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/procps/Makefile b/package/procps/Makefile
index 4cd64faac..689e1554b 100644
--- a/package/procps/Makefile
+++ b/package/procps/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= procps
PKG_VERSION:= 3.2.8
@@ -17,7 +17,7 @@ PKG_BB:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PROCPS,procps,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -45,4 +45,4 @@ procps-install:
ln -sf ../../bin/kill snice; \
ln -sf pgrep pkill
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ptunnel/Makefile b/package/ptunnel/Makefile
index bd19188d7..60768615c 100644
--- a/package/ptunnel/Makefile
+++ b/package/ptunnel/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ptunnel
PKG_VERSION:= 0.61
@@ -16,7 +16,7 @@ PKG_SITES:= http://www.cti.ecp.fr/~beauxir5/ptunnel/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PTUNNEL,ptunnel,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,4 +28,4 @@ ptunnel-install:
${INSTALL_DIR} ${IDIR_PTUNNEL}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/ptunnel ${IDIR_PTUNNEL}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pulseaudio/Makefile b/package/pulseaudio/Makefile
index 673de8c1b..d331e0608 100644
--- a/package/pulseaudio/Makefile
+++ b/package/pulseaudio/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= pulseaudio
PKG_VERSION:= 5.0
@@ -20,7 +20,7 @@ PKG_OPTS:= dev
PKG_LIBC_DEPENDS:= uclibc glibc
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PULSEAUDIO,pulseaudio,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -70,4 +70,4 @@ pulseaudio-install:
echo 'PULSE_RUNTIME_PATH=/var/run/pulse pacmd.bin "$$@"' >> $(IDIR_PULSEAUDIO)/usr/bin/pacmd
chmod 755 $(IDIR_PULSEAUDIO)/usr/bin/pacmd
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pycurl/Makefile b/package/pycurl/Makefile
index 70bcb32c0..46b6b137a 100644
--- a/package/pycurl/Makefile
+++ b/package/pycurl/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= pycurl
PKG_VERSION:= 7.19.0.2
@@ -16,7 +16,7 @@ PKG_SITES:= http://pycurl.sourceforge.net/download/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PYCURL,pycurl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,7 +29,7 @@ TARGET_CFLAGS+= -fPIC
MAKE_ENV+= LDSHARED="$(TARGET_CC) -shared"
CURL_CONFIG:= $(STAGING_TARGET_DIR)/usr/bin/curl-config
-include $(TOPDIR)/mk/python.mk
+include $(ADK_TOPDIR)/mk/python.mk
do-build:
(cd $(WRKBUILD); env GCC_HONOUR_COPTS=s PYTHONPATH=$(PYTHON_LIBDIR) $(PYTHON) ./setup.py --curl-config=$(CURL_CONFIG) build)
@@ -40,4 +40,4 @@ do-install:
$(CP) $(WRKINST)/usr/lib/python$(PYTHON_VERSION)/site-packages/* \
$(IDIR_PYCURL)/usr/lib/python$(PYTHON_VERSION)/site-packages
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/pyrex/Makefile b/package/pyrex/Makefile
index 8b1fb78ef..33a6fd95d 100644
--- a/package/pyrex/Makefile
+++ b/package/pyrex/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= Pyrex
PKG_VERSION:= 0.9.9
@@ -15,7 +15,7 @@ PKG_SITES:= http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PYREX,pyrex,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,7 +23,7 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
-include $(TOPDIR)/mk/python.mk
+include $(ADK_TOPDIR)/mk/python.mk
do-build:
cd $(WRKBUILD); env PYTHONPATH=$(PYTHON_LIBDIR) $(PYTHON) ./setup.py build
@@ -35,4 +35,4 @@ do-install:
$(CP) $(WRKINST)/usr/lib/python$(PYTHON_VERSION)/* \
$(IDIR_PYREX)/usr/lib/python$(PYTHON_VERSION)
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/python2/Makefile b/package/python2/Makefile
index 8a35b0a47..964eed8f1 100644
--- a/package/python2/Makefile
+++ b/package/python2/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= python2
PKG_VERSION:= 2.7.5
@@ -49,8 +49,8 @@ PKGFD_MOD_SSL:= OpenSSL support
PKGFB_MOD_SSL:= openssl
PKGFS_MOD_SSL:= libopenssl
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,PYTHON2,python2,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,PYTHON2,python2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -105,7 +105,7 @@ HOST_CONFIGURE_ARGS+= --with-threads \
--without-cxx-main
hostpre-configure:
- $(CP) $(TOPDIR)/package/python2/files/patch-Lib_distutils_sysconfig_py $(WRKBUILD)
+ $(CP) $(ADK_TOPDIR)/package/python2/files/patch-Lib_distutils_sysconfig_py $(WRKBUILD)
$(SED) "s#@@STAGING_TARGET_DIR@@#$(STAGING_TARGET_DIR)#" $(WRKBUILD)/patch-Lib_distutils_sysconfig_py
$(SED) "s#@@STAGING_HOST_DIR@@#$(STAGING_HOST_DIR)#" $(WRKBUILD)/patch-Lib_distutils_sysconfig_py
(cd $(WRKBUILD) && ${PATCHP0} < patch-Lib_distutils_sysconfig_py)
@@ -115,14 +115,14 @@ hostpre-configure:
hostpost-install:
$(INSTALL_BIN) ${WRKBUILD}/Parser/pgen \
$(STAGING_HOST_DIR)/usr/bin/pgen
- $(CP) $(TOPDIR)/package/python2/files/python-config.patch $(WRKBUILD)/
+ $(CP) $(ADK_TOPDIR)/package/python2/files/python-config.patch $(WRKBUILD)/
$(SED) "s#@@STAGING_TARGET_DIR@@#$(STAGING_TARGET_DIR)#" $(WRKBUILD)/python-config.patch
$(SED) "s#@@STAGING_HOST_DIR@@#$(STAGING_HOST_DIR)#" $(WRKBUILD)/python-config.patch
(cd $(STAGING_HOST_DIR)/usr/bin && \
${PATCHP0} < $(WRKBUILD)/python-config.patch)
pre-configure:
- $(CP) $(TOPDIR)/package/python2/files/patch-Lib_distutils_sysconfig_py $(WRKBUILD)
+ $(CP) $(ADK_TOPDIR)/package/python2/files/patch-Lib_distutils_sysconfig_py $(WRKBUILD)
$(SED) "s#@@STAGING_TARGET_DIR@@#$(STAGING_TARGET_DIR)#" $(WRKBUILD)/patch-Lib_distutils_sysconfig_py
$(SED) "s#@@STAGING_HOST_DIR@@#$(STAGING_HOST_DIR)#" $(WRKBUILD)/patch-Lib_distutils_sysconfig_py
(cd $(WRKBUILD) && ${PATCHP0} <$(WRKBUILD)/patch-Lib_distutils_sysconfig_py)
@@ -142,5 +142,5 @@ python2-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m}
rm ${IDIR_PYTHON2}/usr/lib/python2.7/lib-dynload/$${i}*so; \
done
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/python3/Makefile b/package/python3/Makefile
index b661105b6..e4b8d7d7f 100644
--- a/package/python3/Makefile
+++ b/package/python3/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= python3
PKG_VERSION:= 3.4.0
@@ -48,8 +48,8 @@ PKGFS_MOD_SSL:= libopenssl
DISTFILES= Python-${PKG_VERSION}.tar.xz
WRKDIST= ${WRKDIR}/Python-${PKG_VERSION}
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
define PKG_mod_template
@@ -115,5 +115,5 @@ python3-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m}
rm ${IDIR_PYTHON3}/usr/lib/python3.4/lib-dynload/$${i}*so; \
done
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/qemu/Makefile b/package/qemu/Makefile
index 6a11a0974..4ec4365d3 100644
--- a/package/qemu/Makefile
+++ b/package/qemu/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= qemu
PKG_VERSION:= 2.0.0
@@ -20,8 +20,8 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
PKG_ARCH_DEPENDS:= x86 x86_64
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,QEMU,qemu,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,QEMU,qemu,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -93,5 +93,5 @@ qemu-install:
$(CP) $(WRKINST)/usr/share/qemu/* \
$(IDIR_QEMU)/usr/share/qemu
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/qingy/Makefile b/package/qingy/Makefile
index 14d1433d2..221f27729 100644
--- a/package/qingy/Makefile
+++ b/package/qingy/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= qingy
PKG_VERSION:= 1.0.0
@@ -17,7 +17,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=qingy/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,QINGY,qingy,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -40,4 +40,4 @@ qingy-install:
$(INSTALL_DIR) $(IDIR_QINGY)/usr/share/qingy
${CP} $(WRKINST)/usr/share/qingy/themes ${IDIR_QINGY}/usr/share/qingy
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/quagga/Makefile b/package/quagga/Makefile
index 40ae1a55f..e428e1541 100644
--- a/package/quagga/Makefile
+++ b/package/quagga/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= quagga
PKG_VERSION:= 0.99.22.4
@@ -31,7 +31,7 @@ PKGSN_QUAGGA_VTYSH:= quagga
PKG_FLAVOURS_QUAGGA:= WITH_IPV6
PKGFD_WITH_IPV6:= enable IPv6 support
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,QUAGGA,quagga,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,QUAGGA_BGPD,quagga-bgpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_QUAGGA_BGPD},${PKG_SECTION}))
@@ -95,4 +95,4 @@ quagga-vtysh-install:
${INSTALL_DIR} ${IDIR_QUAGGA_VTYSH}/usr/bin
${CP} ${WRKINST}/usr/bin/vtysh ${IDIR_QUAGGA_VTYSH}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/raddump/Makefile b/package/raddump/Makefile
index e07b05471..a58f11a2a 100755
--- a/package/raddump/Makefile
+++ b/package/raddump/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= raddump
PKG_VERSION:= 0.3.1
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=raddump/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,RADDUMP,raddump,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ raddump-install:
${INSTALL_DIR} ${IDIR_RADDUMP}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/raddump ${IDIR_RADDUMP}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/radvd/Makefile b/package/radvd/Makefile
index 5ec9a58db..55093e412 100644
--- a/package/radvd/Makefile
+++ b/package/radvd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= radvd
PKG_VERSION:= 1.12
@@ -16,7 +16,7 @@ PKG_SITES:= http://v6web.litech.org/radvd/dist/
PKG_HOST_DEPENDS:= !freebsd
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,RADVD,radvd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -31,4 +31,4 @@ radvd-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/radvd ${IDIR_RADVD}/usr/sbin/
${INSTALL_BIN} ${WRKINST}/usr/sbin/radvdump ${IDIR_RADVD}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/randrproto/Makefile b/package/randrproto/Makefile
index 47872ec0f..8bcdad785 100644
--- a/package/randrproto/Makefile
+++ b/package/randrproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= randrproto
PKG_VERSION:= 1.4.0
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,RANDRPROTO,randrproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/rarpd/Makefile b/package/rarpd/Makefile
index 2d72de593..d02159435 100644
--- a/package/rarpd/Makefile
+++ b/package/rarpd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= rarpd
PKG_VERSION:= 1.1
@@ -15,7 +15,7 @@ PKG_SITES:= ftp://ftp.dementia.org/pub/net-tools/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,RARPD,rarpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ rarpd-install:
${INSTALL_DIR} ${IDIR_RARPD}/usr/sbin
${INSTALL_BIN} ${WRKINST}/sbin/rarpd ${IDIR_RARPD}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/rdate/Makefile b/package/rdate/Makefile
index d7908592b..56406ee4a 100644
--- a/package/rdate/Makefile
+++ b/package/rdate/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= rdate
PKG_VERSION:= 20070817
@@ -14,7 +14,7 @@ PKG_SITES:= ${MASTER_SITE_MIRBSD:distfiles/=dist/mir/rdate/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/${PKG_NAME}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,RDATE,rdate,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ rdate-install:
${INSTALL_DIR} ${IDIR_RDATE}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/rdate ${IDIR_RDATE}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/rdesktop/Makefile b/package/rdesktop/Makefile
index 47a8a2353..4db9908b7 100644
--- a/package/rdesktop/Makefile
+++ b/package/rdesktop/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= rdesktop
PKG_VERSION:= 1.8.1
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=rdesktop/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,RDESKTOP,rdesktop,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -33,4 +33,4 @@ rdesktop-install:
${INSTALL_DATA} ${WRKINST}/usr/share/rdesktop/keymaps/* \
$(IDIR_RDESKTOP)/usr/share/rdesktop/keymaps
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/readline/Makefile b/package/readline/Makefile
index a930d383b..603c3a562 100644
--- a/package/readline/Makefile
+++ b/package/readline/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= readline
PKG_VERSION:= 6.1
@@ -17,8 +17,8 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,READLINE,readline,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBREADLINE,libreadline,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -30,5 +30,5 @@ libreadline-install:
${CP} ${WRKINST}/usr/lib/libhistory.so* ${IDIR_LIBREADLINE}/usr/lib
${CP} ${WRKINST}/usr/lib/libreadline.so* ${IDIR_LIBREADLINE}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/reaim/Makefile b/package/reaim/Makefile
index 90508d6eb..850c3a81d 100644
--- a/package/reaim/Makefile
+++ b/package/reaim/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= reaim
PKG_VERSION:= 0.8
@@ -15,7 +15,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=reaim/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,REAIM,reaim,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ reaim-install:
${INSTALL_DIR} ${IDIR_REAIM}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/reaim ${IDIR_REAIM}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/realtek-firmware/Makefile b/package/realtek-firmware/Makefile
index 348360511..1723505db 100644
--- a/package/realtek-firmware/Makefile
+++ b/package/realtek-firmware/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= realtek-firmware
PKG_VERSION:= 1.0
@@ -13,7 +13,7 @@ PKG_SITES:= http://www.openadk.org/distfiles/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,REALTEK_FIRMWARE,realtek-firmware,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ do-install:
${CP} ${WRKBUILD}/*.bin \
${IDIR_REALTEK_FIRMWARE}/lib/firmware/rtlwifi
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/recordproto/Makefile b/package/recordproto/Makefile
index f8453e4b4..8bb6437a7 100644
--- a/package/recordproto/Makefile
+++ b/package/recordproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= recordproto
PKG_VERSION:= 1.14.2
@@ -15,13 +15,13 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,RECORDPROTO,recordproto,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,RECORDPROTO,recordproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
HOST_STYLE:= auto
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/renderproto/Makefile b/package/renderproto/Makefile
index 99db97549..851acb958 100644
--- a/package/renderproto/Makefile
+++ b/package/renderproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= renderproto
PKG_VERSION:= 0.11.1
@@ -15,13 +15,13 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,RENDERPROTO,renderproto,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,RENDERPROTO,renderproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
HOST_STYLE:= auto
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/resourceproto/Makefile b/package/resourceproto/Makefile
index ae501303c..b47377463 100644
--- a/package/resourceproto/Makefile
+++ b/package/resourceproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= resourceproto
PKG_VERSION:= 1.2.0
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,RESOURCEPROTO,resourceproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/rfkill/Makefile b/package/rfkill/Makefile
index 96154bd76..3fa3feff2 100644
--- a/package/rfkill/Makefile
+++ b/package/rfkill/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= rfkill
PKG_VERSION:= 0.5
@@ -13,7 +13,7 @@ PKG_URL:= https://www.kernel.org/pub/software/network/rfkill/
PKG_SITES:= https://www.kernel.org/pub/software/network/rfkill/
PKG_BB:= 1
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,RFKILL,rfkill,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ rfkill-install:
$(INSTALL_BIN) $(WRKINST)/usr/sbin/rfkill \
$(IDIR_RFKILL)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/rng-tools/Makefile b/package/rng-tools/Makefile
index f3da0b59c..27baea507 100644
--- a/package/rng-tools/Makefile
+++ b/package/rng-tools/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= rng-tools
PKG_VERSION:= 4
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=gkernel/}
PKG_LIBC_DEPENDS:= glibc
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,RNG_TOOLS,rng-tools,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ rng-tools-install:
$(INSTALL_DIR) $(IDIR_RNG_TOOLS)/usr/sbin
$(INSTALL_BIN) $(WRKINST)/usr/sbin/rngd $(IDIR_RNG_TOOLS)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/rp-pppoe/Makefile b/package/rp-pppoe/Makefile
index c449a19dc..b62e5881b 100644
--- a/package/rp-pppoe/Makefile
+++ b/package/rp-pppoe/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= rp-pppoe
PKG_VERSION:= 3.10
@@ -28,7 +28,7 @@ PKGSN_RP_PPPOE_SNIFF:= rp-pppoe
WRKSRC= ${WRKDIST}/src
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,RP_PPPOE_CLIENT,rp-pppoe-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_RP_PPPOE_CLIENT},${PKG_SECTION}))
$(eval $(call PKG_template,RP_PPPOE_RELAY,rp-pppoe-relay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_RP_PPPOE_RELAY},${PKG_SECTION}))
@@ -72,4 +72,4 @@ rp-pppoe-sniff-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/pppoe-sniff \
${IDIR_RP_PPPOE_SNIFF}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/rpcbind/Makefile b/package/rpcbind/Makefile
index 17291a66c..3adc22729 100644
--- a/package/rpcbind/Makefile
+++ b/package/rpcbind/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= rpcbind
PKG_VERSION:= 0.2.1
@@ -18,7 +18,7 @@ PKG_LIBC_DEPENDS:= uclibc glibc
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,RPCBIND,rpcbind,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -33,4 +33,4 @@ rpcbind-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/rpcinfo \
$(IDIR_RPCBIND)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/rrdcollect/Makefile b/package/rrdcollect/Makefile
index 9e5e8ba0c..18d85e311 100644
--- a/package/rrdcollect/Makefile
+++ b/package/rrdcollect/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= rrdcollect
PKG_VERSION:= 0.2.10
@@ -19,7 +19,7 @@ ifneq (${ADK_PACKAGE_LIBRRD},)
RRDTOOL_LIBS:= -lart_lgpl_2 -lfreetype -lpng
endif
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,RRDCOLLECT,rrdcollect,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -39,4 +39,4 @@ rrdcollect-install:
${INSTALL_DATA} ./files/rrdcollect.conf \
${IDIR_RRDCOLLECT}/etc/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/rrdtool/Makefile b/package/rrdtool/Makefile
index 67eb51d29..0b68b2ec1 100644
--- a/package/rrdtool/Makefile
+++ b/package/rrdtool/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= rrdtool
PKG_VERSION:= 1.4.8
@@ -28,7 +28,7 @@ PKGSD_RRDCGI:= RRD CGI
PKGSC_RRDTOOL:= sys/misc
PKGSD_RRDTOOL:= RRD tool
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBRRD,librrd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,RRDCGI,rrdcgi,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_RRDCGI}))
@@ -59,4 +59,4 @@ librrd-install:
${INSTALL_DIR} ${IDIR_LIBRRD}/usr/lib
${CP} ${WRKINST}/usr/lib/librrd*.so* ${IDIR_LIBRRD}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/rsync/Makefile b/package/rsync/Makefile
index 197840fc2..9903c6065 100644
--- a/package/rsync/Makefile
+++ b/package/rsync/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= rsync
PKG_VERSION:= 3.0.9
@@ -16,7 +16,7 @@ PKG_SITES:= http://rsync.samba.org/ftp/rsync/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,RSYNC,rsync,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ rsync-install:
${INSTALL_DIR} ${IDIR_RSYNC}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/rsync ${IDIR_RSYNC}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/rsyslog/Makefile b/package/rsyslog/Makefile
index 37e616d6d..be3c69d1f 100644
--- a/package/rsyslog/Makefile
+++ b/package/rsyslog/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= rsyslog
PKG_VERSION:= 8.2.1
@@ -18,7 +18,7 @@ PKG_SITES:= http://www.rsyslog.com/files/download/rsyslog/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,RSYSLOG,rsyslog,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -32,4 +32,4 @@ rsyslog-install:
$(INSTALL_BIN) $(WRKINST)/usr/sbin/rsyslogd \
$(IDIR_RSYSLOG)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/rt61-firmware/Makefile b/package/rt61-firmware/Makefile
index 88f3bb682..c4a76db86 100644
--- a/package/rt61-firmware/Makefile
+++ b/package/rt61-firmware/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= rt61-firmware
PKG_VERSION:= 1
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.openadk.org/distfiles/
DISTFILES:= RT61_Firmware_V1.2.zip
WRKDIST= ${WRKDIR}/RT61_Firmware_V1.2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,RT61_FIRMWARE,rt61-firmware,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ do-install:
${CP} ${WRKBUILD}/rt2*.bin \
${IDIR_RT61_FIRMWARE}/lib/firmware
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/rtmpdump/Makefile b/package/rtmpdump/Makefile
index 1375fcef3..256098f4b 100644
--- a/package/rtmpdump/Makefile
+++ b/package/rtmpdump/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= rtmpdump
PKG_VERSION:= 2.4
@@ -22,7 +22,7 @@ PKG_SUBPKGS:= RTMPDUMP LIBRTMP
PKGSD_LIBRTMP:= library for rtmp streams
PKGSC_LIBRTMP:= libs/video
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,RTMPDUMP,rtmpdump,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBRTMP,librtmp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBRTMP},${PKGSC_LIBRTMP},${PKG_OPTS}))
@@ -39,4 +39,4 @@ librtmp-install:
$(CP) $(WRKINST)/usr/lib/librtmp*so.* \
$(IDIR_LIBRTMP)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/rtorrent/Makefile b/package/rtorrent/Makefile
index 3570f8976..df0367b2c 100644
--- a/package/rtorrent/Makefile
+++ b/package/rtorrent/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= rtorrent
PKG_VERSION:= 0.9.4
@@ -16,7 +16,7 @@ PKG_SITES:= http://libtorrent.rakshasa.no/downloads/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
AUTOTOOL_STYLE:= autoreconf
TARGET_LDFLAGS+= -lpthread -ltinfo
@@ -27,4 +27,4 @@ rtorrent-install:
${INSTALL_DIR} ${IDIR_RTORRENT}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/rtorrent ${IDIR_RTORRENT}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ruby-ldap/Makefile b/package/ruby-ldap/Makefile
index 22366e38a..1501327a2 100644
--- a/package/ruby-ldap/Makefile
+++ b/package/ruby-ldap/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= ruby-ldap
PKG_VERSION:= 0.9.8
@@ -18,7 +18,7 @@ PKG_CFLINE_RUBY_LDAP:= depends on ADK_BROKEN
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,RUBY_LDAP,ruby-ldap,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -41,4 +41,4 @@ ruby-ldap-install:
$(CP) $(STAGING_TARGET_DIR)//usr/lib/ruby/site_ruby/2.0.0/ldap/*.rb \
$(IDIR_RUBY_LDAP)/usr/lib/ruby/site_ruby/2.0.0/ldap
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ruby/Makefile b/package/ruby/Makefile
index 34cee5313..d9460e482 100644
--- a/package/ruby/Makefile
+++ b/package/ruby/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ruby
PKG_VERSION:= 2.1.1
@@ -20,8 +20,8 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_HOST_DEPENDS:= !freebsd !cygwin
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,RUBY,ruby,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,RUBY,ruby,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -53,5 +53,5 @@ ruby-install:
${CP} ${WRKINST}/usr/lib/ruby/* ${IDIR_RUBY}/usr/lib/ruby
${INSTALL_BIN} ${WRKINST}/usr/bin/* ${IDIR_RUBY}/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/rxvt-unicode/Makefile b/package/rxvt-unicode/Makefile
index 3eddebca7..93005b71d 100644
--- a/package/rxvt-unicode/Makefile
+++ b/package/rxvt-unicode/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= rxvt-unicode
PKG_VERSION:= 9.19
@@ -16,7 +16,7 @@ PKG_SITES:= http://dist.schmorp.de/rxvt-unicode/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,RXVT_UNICODE,rxvt-unicode,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ rxvt-unicode-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/urxvt \
$(IDIR_RXVT_UNICODE)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/samba/Makefile b/package/samba/Makefile
index d705ec86d..a8e4c407f 100644
--- a/package/samba/Makefile
+++ b/package/samba/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= samba
PKG_VERSION:= 3.6.23
@@ -35,7 +35,7 @@ PKGFB_WITH_LDAP:= openldap
WRKSRC= ${WRKDIST}/source3
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SAMBA,samba,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,SAMBA_CLIENT,samba-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_SAMBA_CLIENT},${PKG_SECTION}))
@@ -108,4 +108,4 @@ samba-lib-install:
$(CP) ${WRKINST}/usr/lib/{libtalloc,libtdb,libtevent}.* \
${IDIR_SAMBA_LIB}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/sane-backends/Makefile b/package/sane-backends/Makefile
index acaf4e9fc..202c844f9 100644
--- a/package/sane-backends/Makefile
+++ b/package/sane-backends/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= sane-backends
PKG_VERSION:= 1.0.22
@@ -92,7 +92,7 @@ PKGSN_SANE_BACKEND_UMAX1220U:= sane-backend
PKGSN_SANE_BACKEND_UMAX_PP:= sane-backend
PKGSN_SANE_BACKEND_UMAX:= sane-backend
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
define PKG_mod_template
@@ -240,4 +240,4 @@ post-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m}
${CP} ${WRKINST}/usr/sbin/saned ${IDIR_SANE_BACKEND}/usr/sbin
${CP} ${WRKINST}/usr/lib/libsane*.so* ${IDIR_SANE_BACKEND}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/scanlogd/Makefile b/package/scanlogd/Makefile
index 7146177c7..bb42e53ba 100644
--- a/package/scanlogd/Makefile
+++ b/package/scanlogd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= scanlogd
PKG_VERSION:= 2.2.6
@@ -18,7 +18,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_ARCH_DEPENDS:= !arm
PKG_LIBC_DEPENDS:= uclibc glibc
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SCANLOGD,scanlogd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -38,4 +38,4 @@ do-install:
${INSTALL_DIR} ${IDIR_SCANLOGD}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/${PKG_NAME} ${IDIR_SCANLOGD}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/scons/Makefile b/package/scons/Makefile
index 74ff9c87b..bd0d4f0b5 100644
--- a/package/scons/Makefile
+++ b/package/scons/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= scons
PKG_VERSION:= 2.3.0
@@ -17,8 +17,8 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_CFLINE_SCONS:= depends on ADK_HOST_ONLY
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,SCONS,scons,$(PKG_VERSION)-${PKG_RELEASE}))
@@ -28,5 +28,5 @@ scons-hostinstall:
(cd $(WRKBUILD); PATH='$(HOST_PATH)' python setup.py install \
--prefix=$(STAGING_HOST_DIR)/usr)
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/screen/Makefile b/package/screen/Makefile
index 8a34a3f42..f4c0e45d0 100644
--- a/package/screen/Makefile
+++ b/package/screen/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= screen
PKG_VERSION:= 4.2.1
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_GNU:=screen/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SCREEN,screen,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -36,4 +36,4 @@ screen-install:
${INSTALL_DIR} ${IDIR_SCREEN}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/screen ${IDIR_SCREEN}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/scrnsaverproto/Makefile b/package/scrnsaverproto/Makefile
index 4f3566bea..993f2d8a0 100644
--- a/package/scrnsaverproto/Makefile
+++ b/package/scrnsaverproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= scrnsaverproto
PKG_VERSION:= 1.2.2
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,SCRNSAVERPROTO,scrnsaverproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/scsi-spin/Makefile b/package/scsi-spin/Makefile
index 667dc670b..ae58e7ede 100644
--- a/package/scsi-spin/Makefile
+++ b/package/scsi-spin/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= scsi-spin
PKG_VERSION:= 1.0
@@ -12,7 +12,7 @@ PKG_SECTION:= sys/fs
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SCSI_SPIN,scsi-spin,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,4 +28,4 @@ do-install:
${INSTALL_DIR} ${IDIR_SCSI_SPIN}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/scsi-spin ${IDIR_SCSI_SPIN}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/sdl-image/Makefile b/package/sdl-image/Makefile
index 66ae0931b..8669aa606 100644
--- a/package/sdl-image/Makefile
+++ b/package/sdl-image/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= sdl-image
PKG_VERSION:= 1.2.10
@@ -19,8 +19,8 @@ PKG_OPTS:= dev
DISTFILES:= SDL_image-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/SDL_image-${PKG_VERSION}
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBSDL_IMAGE,libsdl-image,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBSDL_IMAGE,libsdl-image,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -40,5 +40,5 @@ libsdl-image-install:
$(INSTALL_DIR) $(IDIR_LIBSDL_IMAGE)/usr/lib
$(CP) ${WRKINST}/usr/lib/libSDL*.so* $(IDIR_LIBSDL_IMAGE)/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/sdl/Makefile b/package/sdl/Makefile
index 184ae02bd..20e56771b 100644
--- a/package/sdl/Makefile
+++ b/package/sdl/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= sdl
PKG_VERSION:= 1.2.14
@@ -24,8 +24,8 @@ PKGFB_WITH_TSLIB:= tslib
DISTFILES:= SDL-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/SDL-${PKG_VERSION}
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBSDL,libsdl,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBSDL,libsdl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -60,5 +60,5 @@ libsdl-install:
$(INSTALL_DIR) $(IDIR_LIBSDL)/usr/lib
$(CP) ${WRKINST}/usr/lib/libSDL*.so* $(IDIR_LIBSDL)/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/sed/Makefile b/package/sed/Makefile
index 5fa10d0c9..30575d03b 100644
--- a/package/sed/Makefile
+++ b/package/sed/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= sed
PKG_VERSION:= 4.2.2
@@ -15,8 +15,8 @@ PKG_BB:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,SED,sed,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,SED,sed,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,5 +26,5 @@ sed-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/sed \
$(IDIR_SED)/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ser2net/Makefile b/package/ser2net/Makefile
index 16ad1560e..51c46d19b 100644
--- a/package/ser2net/Makefile
+++ b/package/ser2net/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ser2net
PKG_VERSION:= 2.3
@@ -13,7 +13,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ser2net/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SER2NET,ser2net,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ ser2net-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/ser2net ${IDIR_SER2NET}/usr/sbin
${INSTALL_DATA} ${WRKBUILD}/ser2net.conf ${IDIR_SER2NET}/etc
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/serdisplib/Makefile b/package/serdisplib/Makefile
index f7374d9ef..886447ab1 100644
--- a/package/serdisplib/Makefile
+++ b/package/serdisplib/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= serdisplib
PKG_VERSION:= 1.97.8
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=serdisplib/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SERDISPLIB,serdisplib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ do-install:
${INSTALL_DIR} ${IDIR_SERDISPLIB}/usr/lib
${CP} ${WRKBUILD}/lib/libserdisp.so* ${IDIR_SERDISPLIB}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/setpwc/Makefile b/package/setpwc/Makefile
index 2e7572008..2c531db7d 100644
--- a/package/setpwc/Makefile
+++ b/package/setpwc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= setpwc
PKG_VERSION:= 1.3
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.vanheusden.com/setpwc/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SETPWC,setpwc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -32,4 +32,4 @@ do-install:
${INSTALL_DIR} ${IDIR_SETPWC}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/setpwc ${IDIR_SETPWC}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/setserial/Makefile b/package/setserial/Makefile
index 3693ea1de..bafc0d624 100644
--- a/package/setserial/Makefile
+++ b/package/setserial/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= setserial
PKG_VERSION:= 2.17
@@ -14,7 +14,7 @@ PKG_BB:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SETSERIAL,setserial,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ do-install:
${INSTALL_DIR} ${IDIR_SETSERIAL}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/setserial ${IDIR_SETSERIAL}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/setxkbmap/Makefile b/package/setxkbmap/Makefile
index 0ede9cfbc..595e508be 100644
--- a/package/setxkbmap/Makefile
+++ b/package/setxkbmap/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= setxkbmap
PKG_VERSION:= 1.3.0
@@ -14,7 +14,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,SETXKBMAP,setxkbmap,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,4 +23,4 @@ setxkbmap-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/setxkbmap \
$(IDIR_SETXKBMAP)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/shat/Makefile b/package/shat/Makefile
index f678415b8..2eb5fb293 100644
--- a/package/shat/Makefile
+++ b/package/shat/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= shat
PKG_VERSION:= 0.9.7
@@ -15,7 +15,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_LIBC_DEPENDS:= uclibc glibc
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SHAT,shat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -32,4 +32,4 @@ do-install:
${INSTALL_DIR} ${IDIR_SHAT}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/src/shat{c,d} ${IDIR_SHAT}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/shorewall-common/Makefile b/package/shorewall-common/Makefile
index 72742a3fb..ee374bd78 100644
--- a/package/shorewall-common/Makefile
+++ b/package/shorewall-common/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= shorewall-common
PKG_VERSION:= 4.0.7
@@ -15,7 +15,7 @@ PKG_SITES:= http://www1.shorewall.net/pub/shorewall/4.0/shorewall-${PKG_VERSION
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SHOREWALL,shorewall,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -68,4 +68,4 @@ do-install:
${IDIR_SHOREWALL}/usr/share/shorewall/
${INSTALL_BIN} ${WRKINST}/sbin/shorewall ${IDIR_SHOREWALL}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/shorewall-shell/Makefile b/package/shorewall-shell/Makefile
index 3486aa487..52d894409 100644
--- a/package/shorewall-shell/Makefile
+++ b/package/shorewall-shell/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= shorewall-shell
PKG_VERSION:= 4.0.14.1
@@ -14,7 +14,7 @@ PKG_SITES:= http://www1.shorewall.net/pub/shorewall/4.0/shorewall-4.0.14/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SHOREWALL_SHELL,shorewall-shell,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -40,4 +40,4 @@ do-install:
${INSTALL_BIN} ${WRKINST}/usr/share/${PKG_NAME}/compiler \
${IDIR_SHOREWALL_SHELL}/usr/share/${PKG_NAME}/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/siproxd/Makefile b/package/siproxd/Makefile
index 04869ee9b..3fad9b235 100644
--- a/package/siproxd/Makefile
+++ b/package/siproxd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= siproxd
PKG_VERSION:= 0.8.1
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=siproxd/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SIPROXD,siproxd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ siproxd-install:
${INSTALL_DATA} ${WRKINST}/etc/siproxd_passwd.cfg ${IDIR_SIPROXD}/etc/
${INSTALL_BIN} ${WRKINST}/usr/sbin/siproxd ${IDIR_SIPROXD}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/sipsak/Makefile b/package/sipsak/Makefile
index bccf39614..22d45b2ac 100644
--- a/package/sipsak/Makefile
+++ b/package/sipsak/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= sipsak
PKG_VERSION:= 0.9.6
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=sipsak/}
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION)-1.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SIPSAK,sipsak,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ sipsak-install:
${INSTALL_DIR} ${IDIR_SIPSAK}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/sipsak ${IDIR_SIPSAK}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/sispmctl/Makefile b/package/sispmctl/Makefile
index 3899f4d61..674115860 100644
--- a/package/sispmctl/Makefile
+++ b/package/sispmctl/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= sispmctl
PKG_VERSION:= 2.7
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=sispmctl/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SISPMCTL,sispmctl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ sispmctl-install:
${INSTALL_DIR} ${IDIR_SISPMCTL}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/sispmctl ${IDIR_SISPMCTL}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/snort/Makefile b/package/snort/Makefile
index 6ad6f3365..f0ce6bbcb 100644
--- a/package/snort/Makefile
+++ b/package/snort/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= snort
PKG_VERSION:= 2.9.5
@@ -19,7 +19,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_LIBC_DEPENDS:= uclibc glibc
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SNORT,snort,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -49,4 +49,4 @@ snort-install:
${IDIR_SNORT}/etc/snort
${INSTALL_BIN} ${WRKINST}/usr/bin/snort ${IDIR_SNORT}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/socat/Makefile b/package/socat/Makefile
index 51e3b35dd..d6149f782 100644
--- a/package/socat/Makefile
+++ b/package/socat/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= socat
PKG_VERSION:= 1.7.2.4
@@ -20,7 +20,7 @@ PKGFD_WITH_SSL:= enable SSL support
PKGFS_WITH_SSL:= libopenssl
PKGFB_WITH_SSL:= openssl
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SOCAT,socat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -41,4 +41,4 @@ socat-install:
${INSTALL_DIR} ${IDIR_SOCAT}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/socat ${IDIR_SOCAT}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/sox/Makefile b/package/sox/Makefile
index debfcee83..c0bda5a5a 100644
--- a/package/sox/Makefile
+++ b/package/sox/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= sox
PKG_VERSION:= 14.4.1
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=sox/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,SOX,sox,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -31,4 +31,4 @@ sox-install:
ln sox $$tgt; \
done
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/speex/Makefile b/package/speex/Makefile
index 183525491..aa7e9872a 100644
--- a/package/speex/Makefile
+++ b/package/speex/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= speex
PKG_VERSION:= 1.2rc1
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBSPEEX,libspeex,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -28,4 +28,4 @@ libspeex-install:
${INSTALL_DIR} ${IDIR_LIBSPEEX}/usr/lib
${CP} ${WRKINST}/usr/lib/libspeex*.so* ${IDIR_LIBSPEEX}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/sqlite/Makefile b/package/sqlite/Makefile
index c350d1af0..d4c3e6e19 100644
--- a/package/sqlite/Makefile
+++ b/package/sqlite/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= sqlite
PKG_VERSION:= 3.8.5
@@ -23,7 +23,7 @@ PKG_SUBPKGS:= SQLITE_CLI LIBSQLITE
PKGSD_LIBSQLITE:= emeddable sql library
PKGSC_LIBSQLITE:= libs/db
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBSQLITE,libsqlite,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBSQLITE},${PKGSD_LIBSQLITE},${PKGSC_LIBSQLITE},${PKG_OPTS}))
$(eval $(call PKG_template,SQLITE_CLI,sqlite-cli,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -46,4 +46,4 @@ sqlite-cli-install:
${INSTALL_DIR} ${IDIR_SQLITE_CLI}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/sqlite3 ${IDIR_SQLITE_CLI}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/squashfs/Makefile b/package/squashfs/Makefile
index 66dcf3ddc..d18af8ffd 100644
--- a/package/squashfs/Makefile
+++ b/package/squashfs/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= squashfs
PKG_VERSION:= 4.2
@@ -17,8 +17,8 @@ WRKDIST= ${WRKDIR}/$(PKG_NAME)${PKG_VERSION}
PKG_CFLINE_SQUASHFS:= depends on ADK_HOST_ONLY
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,SQUASHFS,squashfs,$(PKG_VERSION)-${PKG_RELEASE}))
@@ -34,5 +34,5 @@ squashfs-hostinstall:
${INSTALL_BIN} ${WRKBUILD}/squashfs-tools/mksquashfs \
${STAGING_HOST_DIR}/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/squeezelite/Makefile b/package/squeezelite/Makefile
index 5c3de10c6..3adf26997 100644
--- a/package/squeezelite/Makefile
+++ b/package/squeezelite/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= squeezelite
PKG_VERSION:= 1.5
@@ -19,7 +19,7 @@ PKG_SITES:= http://openadk.org/distfiles/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_LIBC_DEPENDS:= glibc musl
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,SQUEEZELITE,squeezelite,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -32,4 +32,4 @@ squeezelite-install:
$(INSTALL_BIN) $(WRKBUILD)/squeezelite \
$(IDIR_SQUEEZELITE)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/squid/Makefile b/package/squid/Makefile
index 67a33f471..fcda2aea3 100644
--- a/package/squid/Makefile
+++ b/package/squid/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= squid
PKG_VERSION:= 3.4.5
@@ -78,7 +78,7 @@ else
NTLM_AUTH_HELPERS+= none
endif
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
define PKG_mod_template
@@ -190,4 +190,4 @@ post-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m}
${INSTALL_BIN} ${WRKINST}/usr/lib/squid/unlinkd \
${IDIR_SQUID}/usr/lib/squid
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/srelay/Makefile b/package/srelay/Makefile
index 1ce4e3988..693533048 100644
--- a/package/srelay/Makefile
+++ b/package/srelay/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= srelay
PKG_VERSION:= 0.4.7p3
@@ -13,7 +13,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=socks-relay/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SRELAY,srelay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ do-install:
${INSTALL_DATA} ./files/srelay.conf ${IDIR_SRELAY}/etc
${INSTALL_BIN} ${WRKBUILD}/srelay ${IDIR_SRELAY}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ssltunnel/Makefile b/package/ssltunnel/Makefile
index c7ad1b49d..3e3246bd7 100644
--- a/package/ssltunnel/Makefile
+++ b/package/ssltunnel/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ssltunnel
PKG_VERSION:= 1.16
@@ -17,7 +17,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_LIBC_DEPENDS:= uclibc glibc
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SSLTUNNEL,ssltunnel,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -35,4 +35,4 @@ ssltunnel-install:
${INSTALL_BIN} ${WRKINST}/usr/libexec/pppserver \
${IDIR_SSLTUNNEL}/usr/libexec/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ssmtp/Makefile b/package/ssmtp/Makefile
index 09b902c61..c680f4a65 100644
--- a/package/ssmtp/Makefile
+++ b/package/ssmtp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ssmtp
PKG_VERSION:= 2.61
@@ -13,7 +13,7 @@ PKG_SITES:= http://ftp.debian.org/debian/pool/main/s/ssmtp/
DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.orig.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SSMTP,ssmtp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ do-install:
${INSTALL_BIN} ${WRKBUILD}/ssmtp ${IDIR_SSMTP}/usr/sbin/
ln -sf ssmtp ${IDIR_SSMTP}/usr/sbin/sendmail
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/strace/Makefile b/package/strace/Makefile
index 0597dc2cc..0ef98f08f 100644
--- a/package/strace/Makefile
+++ b/package/strace/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= strace
PKG_VERSION:= 4.8
@@ -11,7 +11,7 @@ PKG_DESCR:= system call trace program
PKG_SECTION:= app/debug
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=strace/}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,STRACE,strace,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,4 +28,4 @@ do-install:
${INSTALL_DIR} ${IDIR_STRACE}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/strace ${IDIR_STRACE}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/stress/Makefile b/package/stress/Makefile
index 3218d3b9d..a17d54f48 100644
--- a/package/stress/Makefile
+++ b/package/stress/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= stress
PKG_VERSION:= 1.0.0
@@ -13,7 +13,7 @@ PKG_SITES:= http://weather.ou.edu/~apw/projects/stress/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,STRESS,stress,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,4 +23,4 @@ stress-install:
${INSTALL_DIR} ${IDIR_STRESS}/usr/bin/
${INSTALL_BIN} ${WRKINST}/usr/bin/stress ${IDIR_STRESS}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/strongswan/Makefile b/package/strongswan/Makefile
index 7f3be97b6..fbcd13b9c 100644
--- a/package/strongswan/Makefile
+++ b/package/strongswan/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= strongswan
PKG_VERSION:= 5.1.3
@@ -32,7 +32,7 @@ ifeq (${ADK_PACKAGE_STRONGSWAN_WITH_OPENSSL},y)
PKG_CFLINE_STRONGSWAN:= select ADK_PACKAGE_LIBOPENSSL_WITH_EC
endif
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,STRONGSWAN,strongswan,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -89,4 +89,4 @@ strongswan-install:
$(CP) $(WRKINST)/usr/lib/ipsec/libstrongswan*.so* \
$(IDIR_STRONGSWAN)/usr/lib/ipsec/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/stunnel/Makefile b/package/stunnel/Makefile
index 1fd79853b..9591c0f9f 100644
--- a/package/stunnel/Makefile
+++ b/package/stunnel/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= stunnel
PKG_VERSION:= 5.02
@@ -16,7 +16,7 @@ PKG_SITES:= https://www.stunnel.org/downloads/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,STUNNEL,stunnel,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ stunnel-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/stunnel \
$(IDIR_STUNNEL)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/subversion/Makefile b/package/subversion/Makefile
index 595a2dd3f..a9456bc26 100644
--- a/package/subversion/Makefile
+++ b/package/subversion/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= subversion
PKG_VERSION:= 1.7.8
@@ -16,7 +16,7 @@ PKG_SITES:= http://artfiles.org/apache.org/subversion/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SUBVERSION,subversion,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -41,4 +41,4 @@ subversion-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/svn ${IDIR_SUBVERSION}/usr/bin
${CP} ${WRKINST}/usr/lib/libsvn*.so* ${IDIR_SUBVERSION}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/sudo/Makefile b/package/sudo/Makefile
index ea5c2e49a..63514b459 100644
--- a/package/sudo/Makefile
+++ b/package/sudo/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= sudo
PKG_VERSION:= 1.8.10
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.courtesan.com/sudo/dist/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,SUDO,sudo,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -40,4 +40,4 @@ sudo-install:
$(INSTALL_BIN) $(WRKINST)/usr/sbin/visudo \
$(IDIR_SUDO)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/swconfig/Makefile b/package/swconfig/Makefile
index 36e9ac9c5..df897090c 100644
--- a/package/swconfig/Makefile
+++ b/package/swconfig/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= swconfig
PKG_VERSION:= 1.0
@@ -16,7 +16,7 @@ PKG_SYSTEM_DEPENDS:= mikrotik-rb4xx
WRKDIST= ${WRKDIR}/swconfig
NO_DISTFILES:= 1
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,SWCONFIG,swconfig,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ swconfig-install:
$(INSTALL_BIN) $(WRKDIST)/swconfig \
$(IDIR_SWCONFIG)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/swig/Makefile b/package/swig/Makefile
index 894dc4f09..83960c4b6 100644
--- a/package/swig/Makefile
+++ b/package/swig/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= swig
PKG_VERSION:= 2.0.11
@@ -16,13 +16,13 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_ARCH_DEPENDS:= native
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,SWIG,swig,$(PKG_VERSION)-${PKG_RELEASE}))
HOST_ALL_TARGET:= swig
HOST_CONFIGURE_ARGS+= --without-pcre
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/sysfsutils/Makefile b/package/sysfsutils/Makefile
index dbf4d9d73..ee826629c 100644
--- a/package/sysfsutils/Makefile
+++ b/package/sysfsutils/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= sysfsutils
PKG_VERSION:= 2.1.0
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,SYSFSUTILS,sysfsutils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -27,4 +27,4 @@ sysfsutils-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/systool \
$(IDIR_SYSFSUTILS)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/syslinux/Makefile b/package/syslinux/Makefile
index c0d4391cb..ee9d17875 100644
--- a/package/syslinux/Makefile
+++ b/package/syslinux/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= syslinux
PKG_VERSION:= 6.02
@@ -16,8 +16,8 @@ PKG_SITES:= http://www.kernel.org/pub/linux/utils/boot/syslinux/
PKG_SUBPKGS:= PXELINUX
PKGSD_PXELINUX:= pxelinux
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,SYSLINUX,syslinux,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,PXELINUX,pxelinux,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -48,5 +48,5 @@ pxelinux-install:
${IDIR_PXELINUX}/tftpboot
$(CP) ./files/default ${IDIR_PXELINUX}/tftpboot/pxelinux.cfg
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/syslog-ng/Makefile b/package/syslog-ng/Makefile
index 1d5f99020..5a26e4c1c 100644
--- a/package/syslog-ng/Makefile
+++ b/package/syslog-ng/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= syslog-ng
PKG_VERSION:= 3.5.4.1
@@ -18,7 +18,7 @@ PKG_LIBC_DEPENDS:= glibc musl
DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SYSLOG_NG,syslog-ng,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -34,4 +34,4 @@ syslog-ng-install:
${INSTALL_DATA} ./files/syslog-ng.conf \
${IDIR_SYSLOG_NG}/etc/syslog-ng/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/sysstat/Makefile b/package/sysstat/Makefile
index b1325ab4b..24ee4d632 100644
--- a/package/sysstat/Makefile
+++ b/package/sysstat/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= sysstat
PKG_VERSION:= 7.0.3
@@ -13,7 +13,7 @@ PKG_SITES:= http://perso.orange.fr/sebastien.godard/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SYSSTAT,sysstat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -33,4 +33,4 @@ sysstat-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/iostat ${IDIR_SYSSTAT}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/mpstat ${IDIR_SYSSTAT}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/taglib/Makefile b/package/taglib/Makefile
index ed0ac20d6..ceb92ea53 100644
--- a/package/taglib/Makefile
+++ b/package/taglib/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= taglib
PKG_VERSION:= 1.9.1
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,TAGLIB,taglib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -34,4 +34,4 @@ taglib-install:
$(CP) $(WRKINST)/usr/lib/libtag*.so* \
$(IDIR_TAGLIB)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tar/Makefile b/package/tar/Makefile
index 8a12d12db..dd3558a08 100644
--- a/package/tar/Makefile
+++ b/package/tar/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= tar
PKG_VERSION:= 1.26
@@ -13,7 +13,7 @@ PKG_URL:= http://mirrors.kernel.org/gnu/tar/
PKG_SITES:= http://mirrors.kernel.org/gnu/tar/
PKG_BB:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,TAR,tar,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ tar-install:
${INSTALL_DIR} ${IDIR_TAR}/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/tar ${IDIR_TAR}/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tcl/Makefile b/package/tcl/Makefile
index 65b6687ea..a4181b8da 100644
--- a/package/tcl/Makefile
+++ b/package/tcl/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= tcl
PKG_VERSION:= 8.6.1
@@ -15,7 +15,7 @@ DISTFILES:= tcl${PKG_VERSION}-src.tar.gz
WRKDIST= ${WRKDIR}/tcl${PKG_VERSION}
WRKSRC= ${WRKDIST}/unix
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,TCL,tcl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -37,4 +37,4 @@ tcl-install:
${CP} ${WRKINST}/usr/lib/tcl8 ${IDIR_TCL}/usr/lib
${CP} ${WRKINST}/usr/lib/tcl8.6 ${IDIR_TCL}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tcp_wrappers/Makefile b/package/tcp_wrappers/Makefile
index b28acf6ab..18ee3abd1 100644
--- a/package/tcp_wrappers/Makefile
+++ b/package/tcp_wrappers/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= tcp_wrappers
PKG_VERSION:= 7.6
@@ -18,7 +18,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/${PKG_NAME}_${PKG_VERSION}
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBWRAP,libwrap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -46,4 +46,4 @@ do-install:
${CP} ${WRKBUILD}/tcpd.h ${WRKINST}/usr/include
${CP} ${WRKBUILD}/shared/libwrap.so* ${WRKINST}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tcpdump/Makefile b/package/tcpdump/Makefile
index b010a52f0..bab089469 100644
--- a/package/tcpdump/Makefile
+++ b/package/tcpdump/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= tcpdump
PKG_VERSION:= 4.5.1
@@ -20,7 +20,7 @@ PKG_FLAVOURS_TCPDUMP:= WITH_IPV6 WITH_CHROOT
PKGFD_WITH_IPV6:= enable IPv6 support
PKGFD_WITH_CHROOT:= enable chrooting to /var/lib/tcpdump
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,TCPDUMP,tcpdump,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -48,4 +48,4 @@ ifneq (${ADK_PACKAGE_TCPDUMP_WITH_CHROOT},)
${INSTALL_DIR} ${IDIR_TCPDUMP}/var/lib/tcpdump
endif
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tcsh/Makefile b/package/tcsh/Makefile
index ea3642242..858cf112d 100644
--- a/package/tcsh/Makefile
+++ b/package/tcsh/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= tcsh
PKG_VERSION:= 6.18.01
@@ -16,7 +16,7 @@ PKG_SITES:= ftp://ftp.astron.com/pub/tcsh/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,TCSH,tcsh,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ tcsh-install:
$(INSTALL_DIR) $(IDIR_TCSH)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/tcsh $(IDIR_TCSH)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tinc/Makefile b/package/tinc/Makefile
index 62ae2d02d..0a7661a6c 100644
--- a/package/tinc/Makefile
+++ b/package/tinc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= tinc
PKG_VERSION:= 1.0.23
@@ -16,7 +16,7 @@ PKG_SITES:= http://www.tinc-vpn.org/packages/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,TINC,tinc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ tinc-install:
${INSTALL_DIR} ${IDIR_TINC}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/tincd ${IDIR_TINC}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tinycdb/Makefile b/package/tinycdb/Makefile
index e487d1b84..625e9815c 100644
--- a/package/tinycdb/Makefile
+++ b/package/tinycdb/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= tinycdb
PKG_VERSION:= 0.77
@@ -15,7 +15,7 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,TINYCDB,tinycdb,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -26,4 +26,4 @@ tinycdb-install:
$(INSTALL_BIN) $(WRKINST)/usr/lib/libcdb.a \
$(IDIR_TINYCDB_DEV)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tinyproxy/Makefile b/package/tinyproxy/Makefile
index ecb89a3e5..484e8bda2 100644
--- a/package/tinyproxy/Makefile
+++ b/package/tinyproxy/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= tinyproxy
PKG_VERSION:= 1.8.3
@@ -14,7 +14,7 @@ PKG_SITES:= https://www.banu.com/pub/tinyproxy/1.8/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,TINYPROXY,tinyproxy,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -36,4 +36,4 @@ tinyproxy-install:
${INSTALL_DATA} ${WRKINST}/usr/share/tinyproxy/stats.html \
${IDIR_TINYPROXY}/usr/share/tinyproxy/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tinyxml/Makefile b/package/tinyxml/Makefile
index 264201dab..23df793d0 100644
--- a/package/tinyxml/Makefile
+++ b/package/tinyxml/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= tinyxml
PKG_VERSION:= 2.6.2
@@ -16,7 +16,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}_2_6_2.zip
WRKDIST= ${WRKDIR}/tinyxml
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,TINYXML,tinyxml,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -31,4 +31,4 @@ tinyxml-install:
$(INSTALL_DATA) $(WRKBUILD)/tiny{str,xml}.h \
$(STAGING_TARGET_DIR)/usr/include
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tmsnc/Makefile b/package/tmsnc/Makefile
index 6466c5bfb..c23efe364 100644
--- a/package/tmsnc/Makefile
+++ b/package/tmsnc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= tmsnc
PKG_VERSION:= 0.3.2
@@ -14,7 +14,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=tmsnc/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,TMSNC,tmsnc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ tmsnc-install:
${INSTALL_DIR} ${IDIR_TMSNC}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/tmsnc ${IDIR_TMSNC}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tntnet/Makefile b/package/tntnet/Makefile
index 9be1843fd..8ba5332b5 100644
--- a/package/tntnet/Makefile
+++ b/package/tntnet/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= tntnet
PKG_VERSION:= 2.2.1
@@ -25,7 +25,7 @@ PKGCD_WITH_GNUTLS:= use GnuTLS for crypto
PKGCS_WITH_GNUTLS:= libgnutls
PKGCB_WITH_GNUTLS:= gnutls
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,TNTNET,tntnet,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -64,4 +64,4 @@ tntnet-install:
${CP} ${WRKINST}/usr/lib/libtntnet.so* \
${IDIR_TNTNET}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tor/Makefile b/package/tor/Makefile
index 637690c81..b5572703d 100644
--- a/package/tor/Makefile
+++ b/package/tor/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= tor
PKG_VERSION:= 0.2.4.21
@@ -16,7 +16,7 @@ PKG_SITES:= https://www.torproject.org/dist/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,TOR,tor,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -42,4 +42,4 @@ tor-install:
${INSTALL_DATA} ./files/torrc ${IDIR_TOR}/etc/tor/
${CP} ${WRKINST}/usr/bin/tor ${IDIR_TOR}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/totd/Makefile b/package/totd/Makefile
index 93aa466f5..5189d9da2 100644
--- a/package/totd/Makefile
+++ b/package/totd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= totd
PKG_VERSION:= 1.5.1
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.dillema.net/software/totd/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,TOTD,totd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,4 +23,4 @@ totd-install:
${INSTALL_DATA} ./files/totd.conf ${IDIR_TOTD}/etc
$(INSTALL_BIN) $(WRKINST)/usr/sbin/totd $(IDIR_TOTD)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tptest/Makefile b/package/tptest/Makefile
index ee4d2e387..b3bdc73d8 100644
--- a/package/tptest/Makefile
+++ b/package/tptest/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= tptest
PKG_VERSION:= 3.1.7
@@ -14,7 +14,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=tptest/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,TPTEST,tptest,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -31,4 +31,4 @@ do-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/tptest{client,server} \
$(IDIR_TPTEST)/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/traceroute/Makefile b/package/traceroute/Makefile
index 62b72a260..f0571755b 100644
--- a/package/traceroute/Makefile
+++ b/package/traceroute/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= traceroute
PKG_VERSION:= 2.0.19
@@ -15,7 +15,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=traceroute/}
PKG_LIBC_DEPENDS:= glibc musl
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,TRACEROUTE,traceroute,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -32,4 +32,4 @@ traceroute-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/traceroute \
$(IDIR_TRACEROUTE)/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/trafshow/Makefile b/package/trafshow/Makefile
index e8fb56ad0..cc3de0cee 100644
--- a/package/trafshow/Makefile
+++ b/package/trafshow/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= trafshow
PKG_VERSION:= 5.2.3
@@ -16,7 +16,7 @@ PKG_NOPARALLEL:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,TRAFSHOW,trafshow,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ trafshow-install:
${INSTALL_DIR} ${IDIR_TRAFSHOW}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/trafshow ${IDIR_TRAFSHOW}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/transproxy/Makefile b/package/transproxy/Makefile
index 858e927f5..1d7aa2c24 100644
--- a/package/transproxy/Makefile
+++ b/package/transproxy/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= transproxy
PKG_VERSION:= 1.6
@@ -15,7 +15,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=transproxy/1.6/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,TRANSPROXY,transproxy,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ transproxy-install:
$(INSTALL_BIN) $(WRKINST)/usr/sbin/tproxy* \
$(IDIR_TRANSPROXY)/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tslib/Makefile b/package/tslib/Makefile
index ecedd7e80..592ef201f 100644
--- a/package/tslib/Makefile
+++ b/package/tslib/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= tslib
# actually git version from 28.10.2013
@@ -17,7 +17,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,TSLIB,tslib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -39,4 +39,4 @@ tslib-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/ts_calibrate $(IDIR_TSLIB)/usr/bin
$(INSTALL_DATA) $(WRKINST)/etc/ts.conf $(IDIR_TSLIB)/etc
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ttcp/Makefile b/package/ttcp/Makefile
index c8a82e41a..0a40e2891 100644
--- a/package/ttcp/Makefile
+++ b/package/ttcp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ttcp
PKG_VERSION:= 3.8
@@ -11,7 +11,7 @@ PKG_SECTION:= net/perf
NO_DISTFILES:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,TTCP,ttcp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ do-install:
${INSTALL_DIR} ${IDIR_TTCP}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/ttcp ${IDIR_TTCP}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/twm/Makefile b/package/twm/Makefile
index a55a12bdb..4541f1006 100644
--- a/package/twm/Makefile
+++ b/package/twm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= twm
PKG_VERSION:= 1.0.4
@@ -17,7 +17,7 @@ PKG_SITES:= http://xorg.freedesktop.org/archive/individual/app/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_ARCH_DEPENDS:= !m68k
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,TWM,twm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ twm-install:
${INSTALL_DATA} ${WRKINST}/usr/share/X11/twm/system.twmrc \
${IDIR_TWM}/usr/share/X11/twm/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tzdata/Makefile b/package/tzdata/Makefile
index c10357d3f..362009e36 100644
--- a/package/tzdata/Makefile
+++ b/package/tzdata/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= tzdata
PKG_VERSION:= 2014d
@@ -23,7 +23,7 @@ WRKDIST= ${WRKDIR}
PKG_SUBPKGS:= TZDATA DATE
PKGSD_DATE:= famous date utility
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,TZDATA,tzdata,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,DATE,date,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_DATE},${PKG_SECTION}))
@@ -59,4 +59,4 @@ date-install:
${INSTALL_DIR} ${IDIR_DATE}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/date ${IDIR_DATE}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/u-boot-imx6/Makefile b/package/u-boot-imx6/Makefile
index 2d6330525..6d7ac4781 100644
--- a/package/u-boot-imx6/Makefile
+++ b/package/u-boot-imx6/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= u-boot-imx6
PKG_VERSION:= 20140416
@@ -16,7 +16,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
PKG_SYSTEM_DEPENDS:= cubox-i
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,U_BOOT_IMX6,u-boot-imx6,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -34,4 +34,4 @@ u-boot-imx6-install:
$(CP) ${WRKBUILD}/SPL ${FW_DIR}
$(CP) ${WRKBUILD}/u-boot.img ${FW_DIR}
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/u-boot/Makefile b/package/u-boot/Makefile
index fb0858f7b..3511eb69a 100644
--- a/package/u-boot/Makefile
+++ b/package/u-boot/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= u-boot
PKG_VERSION:= 2014.01
@@ -16,7 +16,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
PKG_CFLINE_U_BOOT:= depends on ADK_BROKEN
PKG_SYSTEM_DEPENDS:= !cubox-i
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,U_BOOT,u-boot,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ do-configure:
u-boot-install:
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/uclibc++/Makefile b/package/uclibc++/Makefile
index de0321bb3..10dab02c2 100644
--- a/package/uclibc++/Makefile
+++ b/package/uclibc++/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= uClibc++
PKG_VERSION:= 0.2.4
@@ -19,14 +19,14 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
PKG_LIBC_DEPENDS:= uclibc
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,UCLIBCXX,uclibc++,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CONFIG_STYLE:= manual
INSTALL_STYLE:= manual
-MAKE_FLAGS+= TOPDIR="${WRKBUILD}/" \
+MAKE_FLAGS+= ADK_TOPDIR="${WRKBUILD}/" \
${TARGET_CONFIGURE_OPTS} \
ARCH_CFLAGS="${TARGET_CFLAGS}" \
CROSS="${TARGET_CROSS}"
@@ -41,4 +41,4 @@ do-install:
${INSTALL_DIR} ${WRKINST}/usr/include
${CP} ${WRKBUILD}/include ${WRKINST}/usr/include/uClibc++
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/uclibc/Makefile b/package/uclibc/Makefile
index 5de66477f..ecc94b02c 100644
--- a/package/uclibc/Makefile
+++ b/package/uclibc/Makefile
@@ -1,10 +1,10 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/kernel-ver.mk
-include $(TOPDIR)/mk/kernel-vars.mk
-include $(TOPDIR)/toolchain/uclibc/Makefile.inc
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/kernel-ver.mk
+include $(ADK_TOPDIR)/mk/kernel-vars.mk
+include $(ADK_TOPDIR)/toolchain/uclibc/Makefile.inc
PKG_NAME:= uClibc
PKG_DESCR:= embedded c library
@@ -17,7 +17,7 @@ PKGSC_UCLIBC_DEV:= devel
NO_DISTFILES:= 1
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,UCLIBC,uclibc,$(GIT_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,UCLIBC_DEV,uclibc-dev,$(GIT_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_UCLIBC_DEV},${PKGSC_UCLIBC_DEV},${PKG_OPTS}))
@@ -68,4 +68,4 @@ uclibc-dev-install:
@find $(IDIR_UCLIBC_DEV) -name .install -exec rm {} \;
@find $(IDIR_UCLIBC_DEV) -name ..install.cmd -exec rm {} \;
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/udp-broadcast-relay/Makefile b/package/udp-broadcast-relay/Makefile
index 22d137185..10f07d8cb 100644
--- a/package/udp-broadcast-relay/Makefile
+++ b/package/udp-broadcast-relay/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= udp-broadcast-relay
PKG_VERSION:= 0.3
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.joachim-breitner.de/udp-broadcast-relay/files/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,UDP_BROADCAST_RELAY,udp-broadcast-relay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -31,4 +31,4 @@ do-install:
${INSTALL_BIN} ${WRKBUILD}/udp-broadcast-relay \
${IDIR_UDP_BROADCAST_RELAY}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ulogd/Makefile b/package/ulogd/Makefile
index 325ce912c..8dd4d9cfc 100644
--- a/package/ulogd/Makefile
+++ b/package/ulogd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ulogd
PKG_VERSION:= 2.0.4
@@ -37,7 +37,7 @@ PKG_HOST_DEPENDS:= !cygwin
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ULOGD,ulogd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,ULOGD_MOD_MYSQL,ulogd-mod-mysql,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_ULOGD_MOD_MYSQL},${PKGSD_ULOGD_MOD_MYSQL},${PKG_SECTION}))
@@ -131,4 +131,4 @@ ulogd-mod-mysql-install:
${CP} ${WRKINST}/usr/lib/ulogd/ulogd_output_MYSQL.so \
${IDIR_ULOGD_MOD_MYSQL}/usr/lib/ulogd
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/unzip/Makefile b/package/unzip/Makefile
index 06f8f7c74..b6ba95baf 100644
--- a/package/unzip/Makefile
+++ b/package/unzip/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= unzip
PKG_VERSION:= 6.0
@@ -15,8 +15,8 @@ PKG_SITES:= http://downloads.sourceforge.net/infozip/
DISTFILES:= ${PKG_NAME}60.tar.gz
WRKDIST= ${WRKDIR}/${PKG_NAME}60
-include ${TOPDIR}/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,UNZIP,unzip,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,UNZIP,unzip,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -42,5 +42,5 @@ unzip-install:
$(INSTALL_DIR) $(IDIR_UNZIP)/usr/bin
$(INSTALL_BIN) $(WRKBUILD)/unzip $(IDIR_UNZIP)/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/updatedd/Makefile b/package/updatedd/Makefile
index 58613b95f..7944dbdbb 100644
--- a/package/updatedd/Makefile
+++ b/package/updatedd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= updatedd
PKG_VERSION:= 2.6
@@ -26,7 +26,7 @@ PKGSN_UPDATEDD_MOD_TZO:= updatedd
DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
define PKG_libinstall
${INSTALL_DIR} ${IDIR_${1}}/usr/lib/updatedd
@@ -60,4 +60,4 @@ post-install:
$(call PKG_libinstall,UPDATEDD_MOD_REGFISH,regfish)
$(call PKG_libinstall,UPDATEDD_MOD_TZO,tzo)
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/urlgrabber/Makefile b/package/urlgrabber/Makefile
index 2a0a2748a..7660cd475 100644
--- a/package/urlgrabber/Makefile
+++ b/package/urlgrabber/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= urlgrabber
PKG_VERSION:= 3.9.1
@@ -14,7 +14,7 @@ PKG_DEPENDS:= pycurl
PKG_URL:= http://urlgrabber.baseurl.org/
PKG_SITES:= http://urlgrabber.baseurl.org/download/
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,URLGRABBER,urlgrabber,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -22,7 +22,7 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
-include $(TOPDIR)/mk/python.mk
+include $(ADK_TOPDIR)/mk/python.mk
do-build:
(cd $(WRKBUILD); env PYTHONPATH=$(PYTHON_LIBDIR) $(PYTHON) ./setup.py build)
@@ -33,4 +33,4 @@ do-install:
$(CP) $(WRKINST)/usr/lib/python$(PYTHON_VERSION)/site-packages/* \
$(IDIR_URLGRABBER)/usr/lib/python$(PYTHON_VERSION)/site-packages
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/usbutils/Makefile b/package/usbutils/Makefile
index 2fec94cc7..2ea5baaea 100644
--- a/package/usbutils/Makefile
+++ b/package/usbutils/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= usbutils
PKG_VERSION:= 006
@@ -14,7 +14,7 @@ PKG_BUILDDEP:= libusb libusb-compat zlib
PKG_SITES:= http://www.kernel.org/pub/linux/utils/usb/usbutils/
PKG_BB:= 1
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LSUSB,lsusb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ lsusb-install:
${INSTALL_DIR} ${IDIR_LSUSB}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/lsusb ${IDIR_LSUSB}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/util-linux/Makefile b/package/util-linux/Makefile
index a0e885020..7dc11fb89 100644
--- a/package/util-linux/Makefile
+++ b/package/util-linux/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= util-linux
PKG_VERSION:= 2.24.2
@@ -42,7 +42,7 @@ PKGSC_MOUNT:= sys/fs
PKGSD_MCOOKIE:= generate magic cookies for xauth
PKGSC_MCOOKIE:= x11/utils
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FDISK,fdisk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_FDISK},${PKGSC_FDISK}))
$(eval $(call PKG_template,CFDISK,cfdisk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_CFDISK},${PKGSC_CFDISK}))
@@ -121,4 +121,4 @@ libmount-install:
${INSTALL_DIR} ${IDIR_LIBMOUNT}/usr/lib
${CP} ${WRKINST}/usr/lib/libmount.so* ${IDIR_LIBMOUNT}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/util-macros/Makefile b/package/util-macros/Makefile
index 7a84370f8..680021642 100644
--- a/package/util-macros/Makefile
+++ b/package/util-macros/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= util-macros
PKG_VERSION:= 1.19.0
@@ -15,13 +15,13 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,UTIL_MACROS,util-macros,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,UTIL_MACROS,util-macros,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
HOST_STYLE:= auto
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/uvd/Makefile b/package/uvd/Makefile
index 8dd0ff68d..ba23ac42e 100644
--- a/package/uvd/Makefile
+++ b/package/uvd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= uvd
PKG_VERSION:= 0.1
@@ -12,7 +12,7 @@ PKG_URL:= http://openadk.org/
NO_DISTFILES:= 1
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,UVD,uvd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,4 +28,4 @@ do-install:
${INSTALL_DIR} ${IDIR_UVD}/sbin
${INSTALL_BIN} ${WRKBUILD}/uvd ${IDIR_UVD}/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/v4l-utils/Makefile b/package/v4l-utils/Makefile
index af3f6188c..18ae3a5fe 100644
--- a/package/v4l-utils/Makefile
+++ b/package/v4l-utils/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= v4l-utils
PKG_VERSION:= 1.0.0
@@ -21,7 +21,7 @@ PKG_SUBPKGS:= V4L_UTILS LIBV4L
PKGSC_LIBV4L:= libs/video
PKGSD_LIBV4L:= Video4Linux2 libraries
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,V4L_UTILS,v4l-utils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBV4L,libv4l,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBV4L},${PKGSC_LIBV4L},${PKG_OPTS}))
@@ -41,4 +41,4 @@ libv4l-install:
$(CP) $(WRKINST)/usr/lib/libv4l/v4l{1compat,2convert}.so \
$(IDIR_LIBV4L)/usr/lib/libv4l
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/vala/Makefile b/package/vala/Makefile
index 57a9b966e..d47fa88f0 100644
--- a/package/vala/Makefile
+++ b/package/vala/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= vala
PKG_VERSION:= 0.24.0
@@ -14,8 +14,8 @@ HOST_BUILDDEP:= glib-host
PKG_URL:= https://wiki.gnome.org/Vala
PKG_SITES:= http://download.gnome.org/sources/vala/0.24/
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,VALA,vala,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,VALA,vala,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,5 +25,5 @@ vala-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/valac \
$(IDIR_VALA)/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/valgrind/Makefile b/package/valgrind/Makefile
index 639bc4522..0e1a27877 100644
--- a/package/valgrind/Makefile
+++ b/package/valgrind/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= valgrind
PKG_VERSION:= 3.9.0
@@ -16,7 +16,7 @@ PKG_ARCH_DEPENDS:= ppc ppc64 mips mipsel mips64 mips64el x86 x86_64
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,VALGRIND,valgrind,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -36,4 +36,4 @@ valgrind-install:
$(IDIR_VALGRIND)/usr/lib/valgrind
touch $(IDIR_VALGRIND)/usr/lib/valgrind/default.supp
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/vgp/Makefile b/package/vgp/Makefile
index 2600db1fe..d44c2c029 100755
--- a/package/vgp/Makefile
+++ b/package/vgp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= vgp
PKG_VERSION:= 0.2.1
@@ -14,7 +14,7 @@ PKG_SITES:= http://vgpd.freaknet.org/files/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,VGP,vgp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -22,4 +22,4 @@ vgp-install:
${INSTALL_DIR} ${IDIR_VGP}/usr/bin/
${INSTALL_BIN} ${WRKINST}/usr/bin/vgpd ${IDIR_VGP}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/videoproto/Makefile b/package/videoproto/Makefile
index 703bd0b89..2e109d4f4 100644
--- a/package/videoproto/Makefile
+++ b/package/videoproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= videoproto
PKG_VERSION:= 2.3.1
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,VIDEOPROTO,videoproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/vilistextum/Makefile b/package/vilistextum/Makefile
index 0f3749b06..b54835886 100644
--- a/package/vilistextum/Makefile
+++ b/package/vilistextum/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= vilistextum
PKG_VERSION:= 2.6.9
@@ -13,7 +13,7 @@ PKG_SITES:= http://bhaak.dyndns.org/${PKG_NAME}/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,VILISTEXTUM,vilistextum,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -22,4 +22,4 @@ vilistextum-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/vilistextum \
${IDIR_VILISTEXTUM}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/vim/Makefile b/package/vim/Makefile
index 4fe7ad832..44cefb96b 100644
--- a/package/vim/Makefile
+++ b/package/vim/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= vim
PKG_VERSION:= 7.4
@@ -18,7 +18,7 @@ DISTFILES= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
WRKDIST= ${WRKDIR}/vim74
WRKSRC= ${WRKDIST}/src
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,VIM,vim,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -64,4 +64,4 @@ vim-install:
${CP} ${WRKINST}/usr/share/vim/vim74/vimrc_example.vim \
${IDIR_VIM}/usr/share/vim/vimrc
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/virtinst/Makefile b/package/virtinst/Makefile
index ffb548204..b7d4e15a7 100644
--- a/package/virtinst/Makefile
+++ b/package/virtinst/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= virtinst
PKG_VERSION:= 0.600.0
@@ -14,7 +14,7 @@ PKG_DEPENDS:= python2 urlgrabber libxml2-python libxslt libvirt
PKG_URL:= http://virt-manager.org/
PKG_SITES:= http://virt-manager.org/download/sources/virtinst/
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,VIRTINST,virtinst,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -22,7 +22,7 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
-include $(TOPDIR)/mk/python.mk
+include $(ADK_TOPDIR)/mk/python.mk
do-build:
(cd $(WRKBUILD); env PYTHONPATH=$(PYTHON_LIBDIR) $(PYTHON) ./setup.py build)
@@ -35,4 +35,4 @@ do-install:
$(CP) $(WRKINST)/usr/lib/python$(PYTHON_VERSION)/site-packages/* \
$(IDIR_VIRTINST)/usr/lib/python$(PYTHON_VERSION)/site-packages
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/vlc/Makefile b/package/vlc/Makefile
index b1934aedf..62cf2fbbb 100644
--- a/package/vlc/Makefile
+++ b/package/vlc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= vlc
PKG_VERSION:= 2.1.4
@@ -17,7 +17,7 @@ PKG_SITES:= http://download.videolan.org/pub/videolan/vlc/$(PKG_VERSION)/
PKG_ARCH_DEPENDS:= !m68k
PKG_LIBC_DEPENDS:= glibc musl
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,VLC,vlc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -54,4 +54,4 @@ vlc-install:
-rm $(IDIR_VLC)/usr/lib/vlc/plugins/*/*.la
-rm $(IDIR_VLC)/usr/lib/vlc/plugins/*/*.a
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/vnc-reflector/Makefile b/package/vnc-reflector/Makefile
index 30e11bf6d..5d28f84df 100644
--- a/package/vnc-reflector/Makefile
+++ b/package/vnc-reflector/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= vnc-reflector
PKG_VERSION:= 1.2.4
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=vnc-reflector/}
DISTFILES:= vnc_reflector-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/vnc_reflector
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,VNC_REFLECTOR,vnc-reflector,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ do-install:
${INSTALL_DIR} ${IDIR_VNC_REFLECTOR}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/vncreflector ${IDIR_VNC_REFLECTOR}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/vnstat/Makefile b/package/vnstat/Makefile
index c33e83602..451492a02 100644
--- a/package/vnstat/Makefile
+++ b/package/vnstat/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= vnstat
PKG_VERSION:= 1.4
@@ -13,7 +13,7 @@ PKG_SITES:= http://humdi.net/vnstat/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,VNSTAT,vnstat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ do-install:
${INSTALL_DIR} ${IDIR_VNSTAT}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/src/vnstat ${IDIR_VNSTAT}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/vpnc/Makefile b/package/vpnc/Makefile
index 138e2dba5..a2beed52c 100644
--- a/package/vpnc/Makefile
+++ b/package/vpnc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= vpnc
PKG_VERSION:= 0.5.3
@@ -16,7 +16,7 @@ PKG_SITES:= http://www.unix-ag.uni-kl.de/~massar/vpnc/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,VPNC,vpnc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -33,4 +33,4 @@ vpnc-install:
${CP} files/vpnc-script ${IDIR_VPNC}/etc/vpnc/
${CP} files/vpnc.conf ${IDIR_VPNC}/etc/vpnc/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/vrrpd/Makefile b/package/vrrpd/Makefile
index ea889f2cb..4f3b4fc39 100644
--- a/package/vrrpd/Makefile
+++ b/package/vrrpd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= vrrpd
PKG_VERSION:= 1.0
@@ -13,7 +13,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=vrrpd/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,VRRPD,vrrpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ do-install:
${INSTALL_DIR} ${IDIR_VRRPD}/usr/sbin/
${INSTALL_BIN} ${WRKBUILD}/vrrpd ${IDIR_VRRPD}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/vsftpd/Makefile b/package/vsftpd/Makefile
index 2dc9164e5..3c8f5664d 100644
--- a/package/vsftpd/Makefile
+++ b/package/vsftpd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= vsftpd
PKG_VERSION:= 3.0.2
@@ -16,7 +16,7 @@ PKG_SITES:= https://security.appspot.com/downloads/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,VSFTPD,vsftpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,4 +28,4 @@ vsftpd-install:
${INSTALL_DATA} ./files/vsftpd.conf ${IDIR_VSFTPD}/etc/vsftpd.conf
${INSTALL_BIN} ${WRKINST}/usr/sbin/vsftpd ${IDIR_VSFTPD}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/vtun/Makefile b/package/vtun/Makefile
index 9e4c48c0d..15d1f7c6e 100644
--- a/package/vtun/Makefile
+++ b/package/vtun/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= vtun
PKG_VERSION:= 3.0.1
@@ -17,7 +17,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_HOST_DEPENDS:= !freebsd
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,VTUN,vtun,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -32,4 +32,4 @@ do-install:
${INSTALL_DATA} ${WRKBUILD}/vtund.conf ${IDIR_VTUN}/etc/
${INSTALL_BIN} ${WRKBUILD}/vtund ${IDIR_VTUN}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/w3m/Makefile b/package/w3m/Makefile
index 8642e4665..2eaf0d9c4 100644
--- a/package/w3m/Makefile
+++ b/package/w3m/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= w3m
PKG_VERSION:= 0.5.3
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=w3m/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,W3M,w3m,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ w3m-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/w3m \
$(IDIR_W3M)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/watchdog/Makefile b/package/watchdog/Makefile
index e6c3df4b3..723e1368d 100644
--- a/package/watchdog/Makefile
+++ b/package/watchdog/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= watchdog
PKG_VERSION:= 5.13
@@ -16,7 +16,7 @@ PKG_BB:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,WATCHDOG,watchdog,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ watchdog-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/watchdog \
${IDIR_WATCHDOG}/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/wccpd/Makefile b/package/wccpd/Makefile
index c835a37a2..eaabddd24 100644
--- a/package/wccpd/Makefile
+++ b/package/wccpd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= wccpd
PKG_VERSION:= 0.2
@@ -13,7 +13,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=wccpd/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,WCCPD,wccpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ wccpd-install:
${INSTALL_DIR} ${IDIR_WCCPD}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/wccpd ${IDIR_WCCPD}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/wdfs/Makefile b/package/wdfs/Makefile
index 44f17a0b5..46c8319bb 100644
--- a/package/wdfs/Makefile
+++ b/package/wdfs/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= wdfs
PKG_VERSION:= 1.4.2
@@ -15,7 +15,7 @@ PKG_SITES:= http://noedler.de/projekte/wdfs/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,WDFS,wdfs,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,4 +23,4 @@ wdfs-install:
${INSTALL_DIR} ${IDIR_WDFS}/usr/bin
${CP} ${WRKINST}/usr/bin/wdfs ${IDIR_WDFS}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/webkitgtk/Makefile b/package/webkitgtk/Makefile
index 94638fb33..885183c61 100644
--- a/package/webkitgtk/Makefile
+++ b/package/webkitgtk/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= webkitgtk
PKG_VERSION:= 2.4.2
@@ -21,7 +21,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,WEBKITGTK,webkitgtk,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -42,4 +42,4 @@ webkitgtk-install:
$(CP) $(WRKINST)/usr/lib/libwebkitgtk*.so* \
$(IDIR_WEBKITGTK)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/weechat/Makefile b/package/weechat/Makefile
index bbd97f761..7e0d71fd9 100644
--- a/package/weechat/Makefile
+++ b/package/weechat/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= weechat
PKG_VERSION:= 0.4.2
@@ -16,7 +16,7 @@ PKG_SITES:= http://www.weechat.org/files/src/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,WEECHAT,weechat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -36,4 +36,4 @@ weechat-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/weechat-curses \
${IDIR_WEECHAT}/usr/bin/weechat
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/wget/Makefile b/package/wget/Makefile
index 5efc3a16f..d1f69f7db 100644
--- a/package/wget/Makefile
+++ b/package/wget/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= wget
PKG_VERSION:= 1.15
@@ -24,7 +24,7 @@ PKGCD_WITH_GNUTLS:= use GnuTLS for crypto
PKGCS_WITH_GNUTLS:= libgnutls ca-certificates libgmp
PKGCB_WITH_GNUTLS:= gnutls
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,WGET,wget,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -47,4 +47,4 @@ wget-install:
${IDIR_WGET}/etc/wgetrc
${INSTALL_BIN} ${WRKINST}/usr/bin/wget ${IDIR_WGET}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/wifidog/Makefile b/package/wifidog/Makefile
index bdfde47c4..97eb4ec20 100644
--- a/package/wifidog/Makefile
+++ b/package/wifidog/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= wifidog
PKG_VERSION:= 1.1.5
@@ -15,7 +15,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=${PKG_NAME}/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,WIFIDOG,wifidog,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -32,4 +32,4 @@ wifidog-install:
${WRKINST}/usr/bin/wdctl ${IDIR_WIFIDOG}/usr/bin/
${CP} ${WRKINST}/usr/lib/libhttpd.so* ${IDIR_WIFIDOG}/usr/lib/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/wireless-tools/Makefile b/package/wireless-tools/Makefile
index 0c0529a43..08ee7244e 100644
--- a/package/wireless-tools/Makefile
+++ b/package/wireless-tools/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= wireless-tools
PKG_VERSION:= 29
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/
DISTFILES:= wireless_tools.${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/wireless_tools.29
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,WIRELESS_TOOLS,wireless-tools,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -33,5 +33,5 @@ wireless-tools-install:
${IDIR_WIRELESS_TOOLS}/usr/lib/
${CP} ${WRKINST}/usr/sbin/iw* ${IDIR_WIRELESS_TOOLS}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/wol/Makefile b/package/wol/Makefile
index 78cc5a9fc..09fb55106 100644
--- a/package/wol/Makefile
+++ b/package/wol/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= wol
PKG_VERSION:= 0.7.1
@@ -13,7 +13,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ahh/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,WOL,wol,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ wol-install:
${INSTALL_DIR} ${IDIR_WOL}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/wol ${IDIR_WOL}/usr/bin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/wondershaper/Makefile b/package/wondershaper/Makefile
index 4697a44ed..0a2755709 100644
--- a/package/wondershaper/Makefile
+++ b/package/wondershaper/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= wondershaper
PKG_VERSION:= 1.1a
@@ -14,7 +14,7 @@ PKG_SITES:= http://lartc.org/wondershaper/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,WONDERSHAPER,wondershaper,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,4 +28,4 @@ do-install:
${IDIR_WONDERSHAPER}/usr/sbin/wshaper
${INSTALL_DATA} ${WRKBUILD}/wshaper.conf ${IDIR_WONDERSHAPER}/etc/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/wpa_supplicant/Makefile b/package/wpa_supplicant/Makefile
index ce697b706..d2afba629 100644
--- a/package/wpa_supplicant/Makefile
+++ b/package/wpa_supplicant/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= wpa_supplicant
PKG_VERSION:= 2.2
@@ -29,7 +29,7 @@ PKGCS_WITH_GNUTLS:= libgnutls
PKGCB_WITH_GNUTLS:= gnutls
PKGCD_WITH_INTERNAL:= use internal crypto library
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,WPA_SUPPLICANT,wpa-supplicant,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -60,4 +60,4 @@ do-install:
${INSTALL_BIN} ${WRKBUILD}/wpa_supplicant \
${IDIR_WPA_SUPPLICANT}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/wput/Makefile b/package/wput/Makefile
index 408c6a4d4..6ec40d283 100644
--- a/package/wput/Makefile
+++ b/package/wput/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= wput
PKG_VERSION:= 0.6.1
@@ -13,7 +13,7 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=wput/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,WPUT,wput,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ wput-install:
${INSTALL_DIR} ${IDIR_WPUT}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/wput ${IDIR_WPUT}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/x11vnc/Makefile b/package/x11vnc/Makefile
index f728dbe82..32381a00d 100644
--- a/package/x11vnc/Makefile
+++ b/package/x11vnc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= x11vnc
PKG_VERSION:= 0.9.13
@@ -16,7 +16,7 @@ PKG_SITES:= http://sourceforge.net/projects/libvncserver/files/x11vnc/0.9.13/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,X11VNC,x11vnc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -32,4 +32,4 @@ x11vnc-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/x11vnc \
$(IDIR_X11VNC)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xauth/Makefile b/package/xauth/Makefile
index c598e527f..b4b9b733a 100644
--- a/package/xauth/Makefile
+++ b/package/xauth/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xauth
PKG_VERSION:= 1.0.7
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XAUTH,xauth,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ xauth-install:
$(INSTALL_DIR) $(IDIR_XAUTH)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/xauth $(IDIR_XAUTH)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xawtv/Makefile b/package/xawtv/Makefile
index 511cacd5d..793ab8c13 100644
--- a/package/xawtv/Makefile
+++ b/package/xawtv/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xawtv
PKG_VERSION:= 3.103
@@ -17,7 +17,7 @@ PKG_ARCH_DEPENDS:= x86 x86_64
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XAWTV,xawtv,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -35,4 +35,4 @@ xawtv-install:
$(CP) $(WRKINST)/usr/share/xawtv/* \
$(IDIR_XAWTV)/usr/share/xawtv
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xbindkeys/Makefile b/package/xbindkeys/Makefile
index 940ae3839..089661178 100644
--- a/package/xbindkeys/Makefile
+++ b/package/xbindkeys/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xbindkeys
PKG_VERSION:= 1.8.3
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.nongnu.org/xbindkeys/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XBINDKEYS,xbindkeys,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,4 +28,4 @@ xbindkeys-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/xbindkeys \
$(IDIR_XBINDKEYS)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xbitmaps/Makefile b/package/xbitmaps/Makefile
index dc0a06242..652bc84fb 100644
--- a/package/xbitmaps/Makefile
+++ b/package/xbitmaps/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xbitmaps
PKG_VERSION:= 1.1.1
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XBITMAPS,xbitmaps,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xbmc/Makefile b/package/xbmc/Makefile
index b12eb9e22..3c792e3ad 100644
--- a/package/xbmc/Makefile
+++ b/package/xbmc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xbmc
PKG_VERSION:= 13.1
@@ -44,7 +44,7 @@ PKG_LIBC_DEPENDS:= glibc
DIFF_IGNOREFILES:= configure missing depcomp install-sh INSTALL \
aclocal.m4 config.h.in
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XBMC,xbmc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -119,4 +119,4 @@ xbmc-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/xbmc \
$(IDIR_XBMC)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xcb-proto/Makefile b/package/xcb-proto/Makefile
index ed8535185..b648c072d 100644
--- a/package/xcb-proto/Makefile
+++ b/package/xcb-proto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xcb-proto
PKG_VERSION:= 1.10
@@ -18,14 +18,14 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_SUBPKGS:= XCB_PROTO XCB_PYTHON
PKGSC_XCB_PYTHON:= x11/misc
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,XCB_PROTO,xcb-proto,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,XCB_PROTO,xcb-proto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,XCB_PYTHON,xcb-python,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_XCB_PYTHON}))
-include $(TOPDIR)/mk/python.mk
+include $(ADK_TOPDIR)/mk/python.mk
HOST_STYLE:= auto
CONFIGURE_ENV+= PYTHON=$(PYTHON)
@@ -49,5 +49,5 @@ xcb-python-install:
${CP} ${WRKINST}/usr/lib/python${PYTHON_VERSION}/site-packages/xcbgen/*.py \
${IDIR_XCB_PYTHON}/usr/lib/python${PYTHON_VERSION}/site-packages/xcbgen
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xcb-util/Makefile b/package/xcb-util/Makefile
index ad5b6c4cb..84a247cff 100644
--- a/package/xcb-util/Makefile
+++ b/package/xcb-util/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xcb-util
PKG_VERSION:= 0.3.6
@@ -13,7 +13,7 @@ PKG_SITES:= http://xcb.freedesktop.org/dist/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XCB_UTIL,xcb-util,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -22,4 +22,4 @@ xcb-util-install:
$(CP) $(WRKINST)/usr/lib/libxcb-*.so* \
$(IDIR_XCB_UTIL)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xcmiscproto/Makefile b/package/xcmiscproto/Makefile
index 6cfcb3ee6..c740cf79f 100644
--- a/package/xcmiscproto/Makefile
+++ b/package/xcmiscproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xcmiscproto
PKG_VERSION:= 1.2.1
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XCMISCPROTO,xcmiscproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xconsole/Makefile b/package/xconsole/Makefile
index edacac314..ed7b6b886 100644
--- a/package/xconsole/Makefile
+++ b/package/xconsole/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xconsole
PKG_VERSION:= 1.0.4
@@ -15,7 +15,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XCONSOLE,xconsole,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ xconsole-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/xconsole \
$(IDIR_XCONSOLE)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xdm/Makefile b/package/xdm/Makefile
index ec8e909e5..db63f7821 100644
--- a/package/xdm/Makefile
+++ b/package/xdm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xdm
PKG_VERSION:= 1.1.11
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XDM,xdm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -35,4 +35,4 @@ xdm-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/xdm \
$(IDIR_XDM)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xdpyinfo/Makefile b/package/xdpyinfo/Makefile
index 22c6d6694..c6a0c7561 100644
--- a/package/xdpyinfo/Makefile
+++ b/package/xdpyinfo/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xdpyinfo
PKG_VERSION:= 1.3.0
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XDPYINFO,xdpyinfo,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ xdpyinfo-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/xdpyinfo \
$(IDIR_XDPYINFO)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xextproto/Makefile b/package/xextproto/Makefile
index 80583730e..2ba3ec59b 100644
--- a/package/xextproto/Makefile
+++ b/package/xextproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xextproto
PKG_VERSION:= 7.3.0
@@ -15,13 +15,13 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,XEXTPROTO,xextproto,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,XEXTPROTO,xextproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
HOST_STYLE:= auto
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xf86-input-evdev/Makefile b/package/xf86-input-evdev/Makefile
index f889289a1..68d7b1a37 100644
--- a/package/xf86-input-evdev/Makefile
+++ b/package/xf86-input-evdev/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xf86-input-evdev
PKG_VERSION:= 2.7.0
@@ -19,7 +19,7 @@ PKG_ARCH_DEPENDS:= !m68k
PKG_CFLINE_XF86_INPUT_EVDEV:= depends on ADK_TARGET_WITH_INPUT
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XF86_INPUT_EVDEV,xf86-input-evdev,$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,4 +28,4 @@ xf86-input-evdev-install:
${CP} ${WRKINST}/usr/lib/xorg/modules/input/evdev_drv.so \
${IDIR_XF86_INPUT_EVDEV}/usr/lib/xorg/modules/input/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xf86-input-evtouch/Makefile b/package/xf86-input-evtouch/Makefile
index 2edc4d90c..49a92c571 100644
--- a/package/xf86-input-evtouch/Makefile
+++ b/package/xf86-input-evtouch/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xf86-input-evtouch
PKG_VERSION:= 0.8.8
@@ -17,7 +17,7 @@ PKG_CFLINE_XF86_INPUT_EVTOUCH:= depends on ADK_BROKEN
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XF86_INPUT_EVTOUCH,xf86-input-evtouch,$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ xf86-input-evtouch-install:
${CP} ${WRKINST}/usr/lib/xorg/modules/input/evtouch_drv.so \
${IDIR_XF86_INPUT_EVTOUCH}/usr/lib/xorg/modules/input/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xf86-input-keyboard/Makefile b/package/xf86-input-keyboard/Makefile
index 0bb1e1f10..b1ca1384a 100644
--- a/package/xf86-input-keyboard/Makefile
+++ b/package/xf86-input-keyboard/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xf86-input-keyboard
PKG_VERSION:= 1.8.0
@@ -18,7 +18,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_ARCH_DEPENDS:= !m68k
PKG_CFLINE_XF86_INPUT_KEYBOARD:= depends on ADK_TARGET_WITH_INPUT || ADK_TARGET_QEMU_WITH_GRAPHIC
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XF86_INPUT_KEYBOARD,xf86-input-keyboard,$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ xf86-input-keyboard-install:
${CP} ${WRKINST}/usr/lib/xorg/modules/input/kbd_drv.so \
${IDIR_XF86_INPUT_KEYBOARD}/usr/lib/xorg/modules/input/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xf86-input-mouse/Makefile b/package/xf86-input-mouse/Makefile
index 7897a6e29..88ded62a1 100644
--- a/package/xf86-input-mouse/Makefile
+++ b/package/xf86-input-mouse/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xf86-input-mouse
PKG_VERSION:= 1.9.0
@@ -18,7 +18,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_ARCH_DEPENDS:= !m68k
PKG_CFLINE_XF86_INPUT_MOUSE:= depends on ADK_TARGET_WITH_INPUT || ADK_TARGET_QEMU_WITH_GRAPHIC
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XF86_INPUT_MOUSE,xf86-input-mouse,$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ xf86-input-mouse-install:
${CP} ${WRKINST}/usr/lib/xorg/modules/input/mouse_drv.so \
${IDIR_XF86_INPUT_MOUSE}/usr/lib/xorg/modules/input/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xf86-video-ati/Makefile b/package/xf86-video-ati/Makefile
index bc8c485ee..1c426fb3e 100644
--- a/package/xf86-video-ati/Makefile
+++ b/package/xf86-video-ati/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xf86-video-ati
PKG_VERSION:= 6.14.4
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
PKG_ARCH_DEPENDS:= !arm !m68k
PKG_CFLINE_XF86_VIDEO_ATI:=depends on ADK_TARGET_WITH_VGA
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XF86_VIDEO_ATI,xf86-video-ati,$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ xf86-video-ati-install:
${CP} ${WRKINST}/usr/lib/xorg/modules/drivers/*.so \
${IDIR_XF86_VIDEO_ATI}/usr/lib/xorg/modules/drivers/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xf86-video-cirrus/Makefile b/package/xf86-video-cirrus/Makefile
index 0fffb5051..eb79ad2ee 100644
--- a/package/xf86-video-cirrus/Makefile
+++ b/package/xf86-video-cirrus/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xf86-video-cirrus
PKG_VERSION:= 1.5.2
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
PKG_SYSTEM_DEPENDS:= qemu-x86 qemu-x86_64
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XF86_VIDEO_CIRRUS,xf86-video-cirrus,$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ xf86-video-cirrus-install:
${CP} ${WRKINST}/usr/lib/xorg/modules/drivers/cirrus_*.so \
${IDIR_XF86_VIDEO_CIRRUS}/usr/lib/xorg/modules/drivers/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xf86-video-fbdev/Makefile b/package/xf86-video-fbdev/Makefile
index b254440e1..84b1deaa7 100644
--- a/package/xf86-video-fbdev/Makefile
+++ b/package/xf86-video-fbdev/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xf86-video-fbdev
PKG_VERSION:= 0.4.4
@@ -18,7 +18,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_ARCH_DEPENDS:= !m68k
PKG_CFLINE_XF86_VIDEO_FBDEV:= depends on ADK_TARGET_WITH_VGA
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XF86_VIDEO_FBDEV,xf86-video-fbdev,$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ xf86-video-fbdev-install:
${CP} ${WRKINST}/usr/lib/xorg/modules/drivers/fbdev_*.so \
${IDIR_XF86_VIDEO_FBDEV}/usr/lib/xorg/modules/drivers/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xf86-video-geode/Makefile b/package/xf86-video-geode/Makefile
index 0005f98a4..b15cc7f7c 100644
--- a/package/xf86-video-geode/Makefile
+++ b/package/xf86-video-geode/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xf86-video-geode
PKG_VERSION:= 2.11.15
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
PKG_SYSTEM_DEPENDS:= pcengines-alix1c
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XF86_VIDEO_GEODE,xf86-video-geode,$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ xf86-video-geode-install:
${CP} ${WRKINST}/usr/lib/xorg/modules/drivers/geode_drv.so \
${IDIR_XF86_VIDEO_GEODE}/usr/lib/xorg/modules/drivers/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xf86-video-intel/Makefile b/package/xf86-video-intel/Makefile
index d2fbf61b2..f9e76a65a 100644
--- a/package/xf86-video-intel/Makefile
+++ b/package/xf86-video-intel/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xf86-video-intel
PKG_VERSION:= 2.99.911
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
PKG_SYSTEM_DEPENDS:= ibm-x40
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XF86_VIDEO_INTEL,xf86-video-intel,$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ xf86-video-intel-install:
${CP} ${WRKINST}/usr/lib/xorg/modules/drivers/*.so \
${IDIR_XF86_VIDEO_INTEL}/usr/lib/xorg/modules/drivers/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xf86-video-modesetting/Makefile b/package/xf86-video-modesetting/Makefile
index 453c36f41..7b8e4538d 100644
--- a/package/xf86-video-modesetting/Makefile
+++ b/package/xf86-video-modesetting/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xf86-video-modesetting
PKG_VERSION:= 0.8.1
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
PKG_SYSTEM_DEPENDS:= qemu-x86 qemu-x86_64
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XF86_VIDEO_MODESETTING,xf86-video-modesetting,$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ xf86-video-modesetting-install:
${CP} ${WRKINST}/usr/lib/xorg/modules/drivers/modesetting_*.so \
${IDIR_XF86_VIDEO_MODESETTING}/usr/lib/xorg/modules/drivers/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xf86-video-siliconmotion/Makefile b/package/xf86-video-siliconmotion/Makefile
index c24d98532..62bdbf85c 100644
--- a/package/xf86-video-siliconmotion/Makefile
+++ b/package/xf86-video-siliconmotion/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xf86-video-siliconmotion
PKG_VERSION:= 1.7.7
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
PKG_SYSTEM_DEPENDS:= lemote-yeelong
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XF86_VIDEO_SILICONMOTION,xf86-video-siliconmotion,$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ xf86-video-siliconmotion-install:
${CP} ${WRKINST}/usr/lib/xorg/modules/drivers/siliconmotion_*.so \
${IDIR_XF86_VIDEO_SILICONMOTION}/usr/lib/xorg/modules/drivers/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xf86dga/Makefile b/package/xf86dga/Makefile
index 6f8a5215f..eae9d863e 100644
--- a/package/xf86dga/Makefile
+++ b/package/xf86dga/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xf86dga
PKG_VERSION:= 1.0.2
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XF86DGA,xf86dga,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xf86dgaproto/Makefile b/package/xf86dgaproto/Makefile
index 483e1c7c0..3b66ebd29 100644
--- a/package/xf86dgaproto/Makefile
+++ b/package/xf86dgaproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xf86dgaproto
PKG_VERSION:= 2.1
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XF86DGAPROTO,xf86dgaproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xf86driproto/Makefile b/package/xf86driproto/Makefile
index afc53c596..ee21c07c3 100644
--- a/package/xf86driproto/Makefile
+++ b/package/xf86driproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xf86driproto
PKG_VERSION:= 2.1.0
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XF86DRIPROTO,xf86driproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xf86vidmodeproto/Makefile b/package/xf86vidmodeproto/Makefile
index f0a53e0c2..227bb9131 100644
--- a/package/xf86vidmodeproto/Makefile
+++ b/package/xf86vidmodeproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xf86vidmodeproto
PKG_VERSION:= 2.3.1
@@ -14,8 +14,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XF86VIDMODEPROTO,xf86vidmodeproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xfsprogs/Makefile b/package/xfsprogs/Makefile
index 2ee5becbf..a1830cb1c 100644
--- a/package/xfsprogs/Makefile
+++ b/package/xfsprogs/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= xfsprogs
PKG_VERSION:= 3.1.11
@@ -18,7 +18,7 @@ PKG_SITES:= ftp://oss.sgi.com/projects/xfs/cmd_tars/ \
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_LIBC_DEPENDS:= glibc
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,XFSPROGS,xfsprogs,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -35,4 +35,4 @@ do-install:
${INSTALL_BIN} ${WRKBUILD}/repair/xfs_repair ${IDIR_XFSPROGS}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/growfs/xfs_growfs ${IDIR_XFSPROGS}/usr/sbin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xineramaproto/Makefile b/package/xineramaproto/Makefile
index 325afe54e..3b145c684 100644
--- a/package/xineramaproto/Makefile
+++ b/package/xineramaproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xineramaproto
PKG_VERSION:= 1.2.1
@@ -15,13 +15,13 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,XINERAMAPROTO,xineramaproto,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,XINERAMAPROTO,xineramaproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
HOST_STYLE:= auto
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xinetd/Makefile b/package/xinetd/Makefile
index ee29feda3..320417287 100644
--- a/package/xinetd/Makefile
+++ b/package/xinetd/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xinetd
PKG_VERSION:= 2.3.15
@@ -14,7 +14,7 @@ PKG_SITES:= ftp://mirror.ovh.net/gentoo-distfiles/distfiles/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XINETD,xinetd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -30,4 +30,4 @@ xinetd-install:
${INSTALL_DATA} ./files/xinetd.conf ${IDIR_XINETD}/etc/xinetd.conf
${INSTALL_BIN} ${WRKINST}/usr/sbin/xinetd ${IDIR_XINETD}/usr/sbin/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xinit/Makefile b/package/xinit/Makefile
index 6990defd4..761ff4994 100644
--- a/package/xinit/Makefile
+++ b/package/xinit/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xinit
PKG_VERSION:= 1.2.1
@@ -18,7 +18,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_ARCH_DEPENDS:= !m68k
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XINIT,xinit,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -34,4 +34,4 @@ xinit-install:
${INSTALL_DATA} ${WRKINST}/usr/lib/X11/xinit/xinitrc \
${IDIR_XINIT}/usr/lib/X11/xinit/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xinput/Makefile b/package/xinput/Makefile
index 2af38e275..f41313b59 100644
--- a/package/xinput/Makefile
+++ b/package/xinput/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xinput
PKG_VERSION:= 1.6.0
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XINPUT,xinput,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,4 +25,4 @@ xinput-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/xinput \
$(IDIR_XINPUT)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xinput_calibrator/Makefile b/package/xinput_calibrator/Makefile
index 9703b8c2a..aa8235534 100644
--- a/package/xinput_calibrator/Makefile
+++ b/package/xinput_calibrator/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xinput_calibrator
PKG_VERSION:= 0.7.5
@@ -15,7 +15,7 @@ PKG_SITES:= http://github.com/downloads/tias/xinput_calibrator/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XINPUT_CALIBRATOR,xinput-calibrator,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ xinput-calibrator-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/xinput_calibrator \
$(IDIR_XINPUT_CALIBRATOR)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xkbcomp/Makefile b/package/xkbcomp/Makefile
index 75670fe8e..7cf87d849 100644
--- a/package/xkbcomp/Makefile
+++ b/package/xkbcomp/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xkbcomp
PKG_VERSION:= 1.0.5
@@ -15,7 +15,7 @@ PKG_SITES:= http://xorg.freedesktop.org/releases/X11R7.4/src/everything/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XKBCOMP,xkbcomp,$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -23,4 +23,4 @@ xkbcomp-install:
${INSTALL_DIR} ${IDIR_XKBCOMP}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/xkbcomp ${IDIR_XKBCOMP}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xkeyboard-config/Makefile b/package/xkeyboard-config/Makefile
index 85e4401cb..1bdd80ac1 100644
--- a/package/xkeyboard-config/Makefile
+++ b/package/xkeyboard-config/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xkeyboard-config
PKG_VERSION:= 2.11
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.x.org/releases/individual/data/xkeyboard-config/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XKEYBOARD_CONFIG,xkeyboard-config,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -26,4 +26,4 @@ xkeyboard-config-install:
${IDIR_XKEYBOARD_CONFIG}/usr/share/X11/xkb
rm -rf ${IDIR_XKEYBOARD_CONFIG}/usr/share/X11/xkb/symbols/sun_vndr
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xlsfonts/Makefile b/package/xlsfonts/Makefile
index 562b3bd24..b2cd4b9b2 100644
--- a/package/xlsfonts/Makefile
+++ b/package/xlsfonts/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= xlsfonts
PKG_VERSION:= 1.0.2
@@ -14,7 +14,7 @@ PKG_SITES:= http://xorg.freedesktop.org/releases/individual/app/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,XLSFONTS,xlsfonts,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -23,4 +23,4 @@ xlsfonts-install:
${CP} ${WRKINST}/usr/bin/xlsfonts \
${IDIR_XLSFONTS}/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xorg-server/Makefile b/package/xorg-server/Makefile
index 68014fa22..17fd09a5c 100644
--- a/package/xorg-server/Makefile
+++ b/package/xorg-server/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xorg-server
PKG_VERSION:= 1.15.1
@@ -42,7 +42,7 @@ PKGCD_WITH_CRYPTO:= use openssl libcrypto for SHA1
PKGCS_WITH_CRYPTO:= libopenssl
PKGCB_WITH_CRYPTO:= openssl
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XORG_SERVER,xorg-server,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -129,4 +129,4 @@ endif
$(CP) ${WRKINST}/usr/share/aclocal/xorg-server.m4 \
$(STAGING_HOST_DIR)/usr/share/aclocal
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xproto/Makefile b/package/xproto/Makefile
index b41a1507c..f3a35cfcf 100644
--- a/package/xproto/Makefile
+++ b/package/xproto/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xproto
PKG_VERSION:= 7.0.23
@@ -15,13 +15,13 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,XPROTO,xproto,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,XPROTO,xproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
HOST_STYLE:= auto
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xrdb/Makefile b/package/xrdb/Makefile
index 3ac0f1615..04ca205b0 100644
--- a/package/xrdb/Makefile
+++ b/package/xrdb/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xrdb
PKG_VERSION:= 1.0.7
@@ -15,7 +15,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XRDB,xrdb,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ xrdb-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/xrdb \
$(IDIR_XRDB)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xset/Makefile b/package/xset/Makefile
index c7afa213b..cf9ef1263 100644
--- a/package/xset/Makefile
+++ b/package/xset/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xset
PKG_VERSION:= 1.2.2
@@ -15,7 +15,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XSET,xset,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ xset-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/xset \
$(IDIR_XSET)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xsetroot/Makefile b/package/xsetroot/Makefile
index 0856274b0..f336bb373 100644
--- a/package/xsetroot/Makefile
+++ b/package/xsetroot/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xsetroot
PKG_VERSION:= 1.1.0
@@ -15,7 +15,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XSETROOT,xsetroot,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ xsetroot-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/xsetroot \
$(IDIR_XSETROOT)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xsm/Makefile b/package/xsm/Makefile
index d352525a2..ae0c94b3e 100644
--- a/package/xsm/Makefile
+++ b/package/xsm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xsm
PKG_VERSION:= 1.0.2
@@ -16,7 +16,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XSM,xsm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -31,4 +31,4 @@ xsm-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/xsm \
$(IDIR_XSM)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xterm/Makefile b/package/xterm/Makefile
index f02c612e3..19193ffdb 100644
--- a/package/xterm/Makefile
+++ b/package/xterm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xterm
PKG_VERSION:= 306
@@ -16,7 +16,7 @@ PKG_SITES:= ftp://invisible-island.net/xterm/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XTERM,xterm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -32,4 +32,4 @@ xterm-install:
$(INSTALL_DATA) ${WRKINST}/usr/lib/X11/app-defaults/{KOI8RXTerm,KOI8RXTerm-color,UXTerm,UXTerm-color,XTerm,XTerm-color} \
${IDIR_XTERM}/usr/lib/X11/app-defaults/
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xtrans/Makefile b/package/xtrans/Makefile
index c84549061..ac7be49c0 100644
--- a/package/xtrans/Makefile
+++ b/package/xtrans/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xtrans
PKG_VERSION:= 1.3.3
@@ -15,8 +15,8 @@ PKG_OPTS:= dev devonly
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,XTRANS,xtrans,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,XTRANS,xtrans,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -24,5 +24,5 @@ $(eval $(call PKG_template,XTRANS,xtrans,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEP
HOST_STYLE:= auto
CONFIGURE_ARGS+= --datadir=/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xvidcore/Makefile b/package/xvidcore/Makefile
index 56efc05f7..2baeef97f 100644
--- a/package/xvidcore/Makefile
+++ b/package/xvidcore/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xvidcore
PKG_VERSION:= 1.3.2
@@ -18,7 +18,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
WRKDIST= $(WRKDIR)/$(PKG_NAME)/build/generic
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXVID,libxvid,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -27,4 +27,4 @@ libxvid-install:
$(CP) $(WRKINST)/usr/lib/libxvidcore.so* \
$(IDIR_LIBXVID)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xvinfo/Makefile b/package/xvinfo/Makefile
index 10c379009..c1e583b2d 100644
--- a/package/xvinfo/Makefile
+++ b/package/xvinfo/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= xvinfo
PKG_VERSION:= 1.1.1
@@ -15,7 +15,7 @@ PKG_SITES:= ${MASTER_SITE_XORG}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XVINFO,xvinfo,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -24,4 +24,4 @@ xvinfo-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/xvinfo \
$(IDIR_XVINFO)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/xz/Makefile b/package/xz/Makefile
index f20062e2b..161bb129e 100644
--- a/package/xz/Makefile
+++ b/package/xz/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= xz
PKG_VERSION:= 5.0.5
@@ -16,8 +16,8 @@ PKG_BB:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,XZ,xz,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,XZ,xz,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -27,5 +27,5 @@ xz-install:
${CP} ${WRKINST}/usr/bin/* ${IDIR_XZ}/usr/bin
${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_XZ}/usr/lib
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/yajl/Makefile b/package/yajl/Makefile
index 2dd768c11..0b4c4b217 100644
--- a/package/yajl/Makefile
+++ b/package/yajl/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= yajl
PKG_VERSION:= 2.0.1
@@ -18,7 +18,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_NOPARALLEL:= 1
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,YAJL,yajl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -32,4 +32,4 @@ yajl-install:
$(CP) $(WRKINST)/usr/lib/libyajl*.so* \
$(IDIR_YAJL)/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/yasm/Makefile b/package/yasm/Makefile
index 0bca871cc..6fc2dd7c2 100644
--- a/package/yasm/Makefile
+++ b/package/yasm/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= yasm
PKG_VERSION:= 1.2.0
@@ -15,8 +15,8 @@ PKG_SITES:= http://www.tortall.net/projects/yasm/releases/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/host.mk
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,YASM,yasm,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,YASM,yasm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -25,5 +25,5 @@ yasm-install:
$(INSTALL_DIR) $(IDIR_YASM)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/yasm $(IDIR_YASM)/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/zile/Makefile b/package/zile/Makefile
index 14d901020..5357c6140 100644
--- a/package/zile/Makefile
+++ b/package/zile/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= zile
PKG_VERSION:= 2.4.11
@@ -17,7 +17,7 @@ PKG_SITES:= ${MASTER_SITE_GNU:=zile/}
PKG_LIBC_DEPENDS:= glibc
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,ZILE,zile,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,4 +29,4 @@ zile-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/zile \
$(IDIR_ZILE)/usr/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/zip/Makefile b/package/zip/Makefile
index a037de3ce..9538829cb 100644
--- a/package/zip/Makefile
+++ b/package/zip/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= zip
PKG_VERSION:= 3.0
@@ -15,8 +15,8 @@ PKG_SITES:= ftp://ftp.info-zip.org/pub/infozip/src/
WRKDIST= $(WRKDIR)/$(PKG_NAME)30
DISTFILES:= $(PKG_NAME)30.tgz
-include ${TOPDIR}/mk/host.mk
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/host.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call HOST_template,ZIP,zip,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,ZIP,zip,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -43,5 +43,5 @@ zip-install:
${INSTALL_DIR} ${IDIR_ZIP}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/zip ${IDIR_ZIP}/usr/bin
-include ${TOPDIR}/mk/host-bottom.mk
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/zlib/Makefile b/package/zlib/Makefile
index 06e7cf2c2..d28f9a75d 100644
--- a/package/zlib/Makefile
+++ b/package/zlib/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= zlib
PKG_VERSION:= 1.2.7
@@ -15,7 +15,7 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-include ${TOPDIR}/mk/package.mk
+include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ZLIB,zlib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -47,4 +47,4 @@ zlib-install:
${INSTALL_DIR} ${IDIR_ZLIB}/usr/lib
${CP} ${WRKINST}/usr/lib/libz.so* ${IDIR_ZLIB}/usr/lib
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/zsh/Makefile b/package/zsh/Makefile
index 91e3567f9..858c8a75f 100644
--- a/package/zsh/Makefile
+++ b/package/zsh/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= zsh
PKG_VERSION:= 5.0.5
@@ -14,7 +14,7 @@ PKG_SITES:= ftp://ftp.fu-berlin.de/pub/unix/shells/zsh/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-include $(TOPDIR)/mk/package.mk
+include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,ZSH,zsh,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -27,4 +27,4 @@ zsh-install:
$(INSTALL_DIR) $(IDIR_ZSH)/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/zsh $(IDIR_ZSH)/bin
-include ${TOPDIR}/mk/pkg-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/rules.mk b/rules.mk
index 20e7a929f..a7902fa1b 100644
--- a/rules.mk
+++ b/rules.mk
@@ -1,8 +1,8 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/prereq.mk
--include $(TOPDIR)/.config
+include $(ADK_TOPDIR)/prereq.mk
+-include $(ADK_TOPDIR)/.config
ifeq ($(VERBOSE),1)
START_TRACE:= :
@@ -70,7 +70,7 @@ ifeq ($(ADK_TARGET_ARCH),mips64)
ADK_TARGET_KARCH:=mips
endif
-include $(TOPDIR)/mk/vars.mk
+include $(ADK_TOPDIR)/mk/vars.mk
ifneq (${show},)
.DEFAULT_GOAL:= show
diff --git a/scripts/create.sh b/scripts/create.sh
index f15fdc1bc..7422cbf4f 100755
--- a/scripts/create.sh
+++ b/scripts/create.sh
@@ -27,13 +27,13 @@
# Create a hard disc image, bootable using GNU GRUB2, with an ext2fs
# root partition and an OpenADK cfgfs partition.
-TOPDIR=$(pwd)
+ADK_TOPDIR=$(pwd)
HOST=$(gcc -dumpmachine)
me=$0
case :$PATH: in
-(*:$TOPDIR/host_$HOST/usr/bin:*) ;;
-(*) export PATH=$PATH:$TOPDIR/host_$HOST/usr/bin ;;
+(*:$ADK_TOPDIR/host_$HOST/usr/bin:*) ;;
+(*) export PATH=$PATH:$ADK_TOPDIR/host_$HOST/usr/bin ;;
esac
test -n "$KSH_VERSION" || exec mksh "$me" "$@"
@@ -46,7 +46,7 @@ fi
me=${me##*/}
-TOPDIR=$(realpath .)
+ADK_TOPDIR=$(realpath .)
ostype=$(uname -s)
function usage {
@@ -182,7 +182,7 @@ else
print Preparing partition table...
fi
dd if=/dev/zero of="$T/firsttrack" count=$partofs 2>/dev/null
-echo $corestartsec $coreendsec | mksh "$TOPDIR/scripts/bootgrub.mksh" \
+echo $corestartsec $coreendsec | mksh "$ADK_TOPDIR/scripts/bootgrub.mksh" \
-A -g $((cyls - cfgfs)):$heads:$secs -M 1:0x83 -O $partofs | \
dd of="$T/firsttrack" conv=notrunc 2>/dev/null
if (( usegrub )); then
@@ -325,6 +325,6 @@ case $tgttype {
}
print Finishing up...
-cd "$TOPDIR"
+cd "$ADK_TOPDIR"
rm -rf "$T"
exit 0
diff --git a/scripts/install.sh b/scripts/install.sh
index ef9aae7e9..cbaf2f318 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -31,13 +31,13 @@
# just built there
# • create a cfgfs partition
-TOPDIR=$(pwd)
+ADK_TOPDIR=$(pwd)
HOST=$(gcc -dumpmachine)
me=$0
case :$PATH: in
-(*:$TOPDIR/host_$HOST/usr/bin:*) ;;
-(*) export PATH=$PATH:$TOPDIR/host_$HOST/usr/bin ;;
+(*:$ADK_TOPDIR/host_$HOST/usr/bin:*) ;;
+(*) export PATH=$PATH:$ADK_TOPDIR/host_$HOST/usr/bin ;;
esac
test -n "$KSH_VERSION" || exec mksh "$me" "$@"
@@ -55,7 +55,7 @@ if (( USER_ID )); then
exit 1
fi
-TOPDIR=$(realpath .)
+ADK_TOPDIR=$(realpath .)
ostype=$(uname -s)
cfgfs=1
@@ -229,7 +229,7 @@ fi
(( quiet )) || print Preparing MBR and GRUB2...
dd if=/dev/zero of="$T/firsttrack" count=$partofs 2>/dev/null
-echo $corestartsec $coreendsec | mksh "$TOPDIR/scripts/bootgrub.mksh" \
+echo $corestartsec $coreendsec | mksh "$ADK_TOPDIR/scripts/bootgrub.mksh" \
-A -g $((cyls-cfgfs)):$heads:$secs -M 1:0x83 -O $partofs | \
dd of="$T/firsttrack" conv=notrunc 2>/dev/null
dd if="$T/core.img" of="$T/firsttrack" conv=notrunc seek=$corestartsec \
@@ -361,7 +361,7 @@ mkdir -p boot/grub
print '}'
) >boot/grub/grub.cfg
(( quiet )) || print Finishing up...
-cd "$TOPDIR"
+cd "$ADK_TOPDIR"
umount "$T"
(( quiet )) || print "\nNote: the rootfs UUID is: $partuuid"
diff --git a/scripts/make-ipkg-dir.sh b/scripts/make-ipkg-dir.sh
index 65eeb5621..0ace8cda5 100644
--- a/scripts/make-ipkg-dir.sh
+++ b/scripts/make-ipkg-dir.sh
@@ -13,7 +13,7 @@ grep '^Maintainer' "$CONTROL" 2>&1 >/dev/null || \
grep '^Priority' "$CONTROL" 2>&1 >/dev/null || \
echo "Priority: optional" >> "$TARGET/CONTROL/control"
grep '^Source' "$CONTROL" 2>&1 >/dev/null || {
- pkgbase=$(echo "$WD" | sed -e "s|^$TOPDIR/||g")
+ pkgbase=$(echo "$WD" | sed -e "s|^$ADK_TOPDIR/||g")
[ "$pkgbase" = "$WD" ] && src="N/A" || src="$BASE"
echo "Source: $src" >> "$TARGET/CONTROL/control"
}
diff --git a/scripts/reloc.sh b/scripts/reloc.sh
index 03034ea35..b0b2ca94c 100755
--- a/scripts/reloc.sh
+++ b/scripts/reloc.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# execute this after relocation of adk directory
-olddir=$(grep "^TOPDIR" prereq.mk 2>/dev/null |cut -d '=' -f 2)
+olddir=$(grep "^ADK_TOPDIR" prereq.mk 2>/dev/null |cut -d '=' -f 2)
newdir=$(pwd)
if [ ! -z "$olddir" ];then
diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh
index 0e4dff4be..21f884e3f 100644
--- a/scripts/scan-tools.sh
+++ b/scripts/scan-tools.sh
@@ -78,7 +78,7 @@ else
fi
cat >Makefile <<'EOF'
-include ${TOPDIR}/prereq.mk
+include ${ADK_TOPDIR}/prereq.mk
all: run-test
test: test.c
@@ -96,7 +96,7 @@ cat >test.c <<-'EOF'
return (0);
}
EOF
-X=$($makecmd TOPDIR=$topdir 2>&1)
+X=$($makecmd ADK_TOPDIR=$topdir 2>&1)
if [[ $X != *@(Native compiler works)* ]]; then
echo "$X" | sed 's/^/| /'
echo Cannot compile a simple test programme.
@@ -144,7 +144,7 @@ cat >test.c <<-'EOF'
}
EOF
X=$(echo 'Yay! Native compiler works.' | gzip | \
- $makecmd TOPDIR=$topdir LDADD=-lz 2>&1)
+ $makecmd ADK_TOPDIR=$topdir LDADD=-lz 2>&1)
if [[ $X != *@(Native compiler works)* ]]; then
echo "$X" | sed 's/^/| /'
echo Cannot compile a libz test programm.
diff --git a/scripts/update-patches2 b/scripts/update-patches2
index 5b95f33f9..03a8690b5 100644
--- a/scripts/update-patches2
+++ b/scripts/update-patches2
@@ -23,7 +23,7 @@ CURDIR=$PWD
export CURDIR PATCH_LIST
rm -f patches/*.new
-mksh "${TOPDIR}"/scripts/update-patches |&
+mksh "${ADK_TOPDIR}"/scripts/update-patches |&
first=1
set -A toedit
while IFS= read -p -d '' -r; do
diff --git a/target/Makefile b/target/Makefile
index 1ac375b62..d245f1a70 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -1,8 +1,8 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/rootfs.mk
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/rootfs.mk
all: install
@@ -26,11 +26,11 @@ ADK_PACKAGE_CRYPTINIT_SWAP:=$(strip $(subst ",, $(ADK_PACKAGE_CRYPTINIT_SWAP)))
ADK_PACKAGE_CMDLINE:=root=$(ADK_PACKAGE_CRYPTINIT_ROOT) swap=$(ADK_PACKAGE_CRYPTINIT_SWAP) resume=/dev/mapper/swapcrypt
ifeq (${ADK_TARGET_KERNEL_CUSTOMISING},y)
-config-prepare: $(TOPDIR)/.config
- @sed -n '/^ADK_KERNEL/s//CONFIG/p' ${TOPDIR}/.config \
+config-prepare: $(ADK_TOPDIR)/.config
+ @sed -n '/^ADK_KERNEL/s//CONFIG/p' ${ADK_TOPDIR}/.config \
>${BUILD_DIR}/.kernelconfig.kernel
@if [ -f ${ADK_TARGET_ARCH}/kernel/${ADK_TARGET_KERNEL_MINICONFIG} ];then \
- cat ${TOPDIR}/target/linux/kernel.config \
+ cat ${ADK_TOPDIR}/target/linux/kernel.config \
${ADK_TARGET_ARCH}/kernel/${ADK_TARGET_KERNEL_MINICONFIG} > ${BUILD_DIR}/.kernelconfig.board; \
else \
echo "no miniconfig found for target system"; \
@@ -76,9 +76,9 @@ endif
cp .kernelconfig.tmp .kernelconfig
@-rm -f ${BUILD_DIR}/.kernelconfig.tmp
else
-config-prepare: $(TOPDIR)/.config
+config-prepare: $(ADK_TOPDIR)/.config
@if [ -f ${ADK_TARGET_ARCH}/kernel/${ADK_TARGET_KERNEL_MINICONFIG} ];then \
- cat ${TOPDIR}/target/linux/kernel.config \
+ cat ${ADK_TOPDIR}/target/linux/kernel.config \
${ADK_TARGET_ARCH}/kernel/${ADK_TARGET_KERNEL_MINICONFIG} > ${BUILD_DIR}/.kernelconfig.board; \
else \
echo "no miniconfig found for target system"; \
diff --git a/target/aarch64/Makefile b/target/aarch64/Makefile
index a25488620..3c04d544a 100644
--- a/target/aarch64/Makefile
+++ b/target/aarch64/Makefile
@@ -1,11 +1,11 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/kernel.mk
-include $(TOPDIR)/mk/modules.mk
-include $(TOPDIR)/mk/kernel-build.mk
-include $(TOPDIR)/mk/image.mk
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/kernel.mk
+include $(ADK_TOPDIR)/mk/modules.mk
+include $(ADK_TOPDIR)/mk/kernel-build.mk
+include $(ADK_TOPDIR)/mk/image.mk
KERNEL:=${LINUX_DIR}/arch/arm64/boot/Image
@@ -31,10 +31,10 @@ endif
kernel-strip:
kernel-install: kernel-strip
- cd $(TOPDIR) && \
+ cd $(ADK_TOPDIR) && \
make -f Makefile \
-C package/boot-wrapper-aarch64 clean
- cd $(TOPDIR) && \
+ cd $(ADK_TOPDIR) && \
make -f Makefile \
-C package/boot-wrapper-aarch64 package
${CP} ${LINUX_DIR}/linux-system.axf \
diff --git a/target/arm/Makefile b/target/arm/Makefile
index 85bf102e1..3213212bc 100644
--- a/target/arm/Makefile
+++ b/target/arm/Makefile
@@ -1,11 +1,11 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/kernel.mk
-include $(TOPDIR)/mk/modules.mk
-include $(TOPDIR)/mk/kernel-build.mk
-include $(TOPDIR)/mk/image.mk
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/kernel.mk
+include $(ADK_TOPDIR)/mk/modules.mk
+include $(ADK_TOPDIR)/mk/kernel-build.mk
+include $(ADK_TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/$(ADK_TARGET_KERNEL)
ifeq ($(ADK_TARGET_KERNEL_ZIMAGE),y)
diff --git a/target/m68k/Makefile b/target/m68k/Makefile
index 0827ee0f0..bc48f9890 100644
--- a/target/m68k/Makefile
+++ b/target/m68k/Makefile
@@ -1,11 +1,11 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/kernel.mk
-include $(TOPDIR)/mk/modules.mk
-include $(TOPDIR)/mk/kernel-build.mk
-include $(TOPDIR)/mk/image.mk
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/kernel.mk
+include $(ADK_TOPDIR)/mk/modules.mk
+include $(ADK_TOPDIR)/mk/kernel-build.mk
+include $(ADK_TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/vmlinux.gz
@@ -17,8 +17,8 @@ targethelp:
ifeq ($(ADK_TARGET_SYSTEM_ARANYM_M68K),y)
@sed -e "s#@@KERNEL@@#$(FW_DIR)/$(TARGET_KERNEL)#" \
-e "s#@@INITRAMFS@@#${FW_DIR}/${INITRAMFS}#" \
- $(TOPDIR)/target/m68k/aranym.cfg.in \
- > $(TOPDIR)/target/m68k/aranym.cfg
+ $(ADK_TOPDIR)/target/m68k/aranym.cfg.in \
+ > $(ADK_TOPDIR)/target/m68k/aranym.cfg
@echo 'Start aranym with: aranym-mmu -l -c target/m68k/aranym.cfg'
@echo 'Ungrab mouse with middle mouse click'
endif
diff --git a/target/microblaze/Makefile b/target/microblaze/Makefile
index 59851392e..d4884ae0d 100644
--- a/target/microblaze/Makefile
+++ b/target/microblaze/Makefile
@@ -1,11 +1,11 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/kernel.mk
-include $(TOPDIR)/mk/modules.mk
-include $(TOPDIR)/mk/kernel-build.mk
-include $(TOPDIR)/mk/image.mk
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/kernel.mk
+include $(ADK_TOPDIR)/mk/modules.mk
+include $(ADK_TOPDIR)/mk/kernel-build.mk
+include $(ADK_TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/arch/microblaze/boot/$(ADK_TARGET_KERNEL)
diff --git a/target/mips/Makefile b/target/mips/Makefile
index 207439009..df15c79af 100644
--- a/target/mips/Makefile
+++ b/target/mips/Makefile
@@ -1,11 +1,11 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/kernel.mk
-include $(TOPDIR)/mk/modules.mk
-include $(TOPDIR)/mk/kernel-build.mk
-include $(TOPDIR)/mk/image.mk
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/kernel.mk
+include $(ADK_TOPDIR)/mk/modules.mk
+include $(ADK_TOPDIR)/mk/kernel-build.mk
+include $(ADK_TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/$(ADK_TARGET_KERNEL)
OSTRIP:=-R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id
diff --git a/target/mips64/Makefile b/target/mips64/Makefile
index 4d0b845ce..5ea35f274 100644
--- a/target/mips64/Makefile
+++ b/target/mips64/Makefile
@@ -1,11 +1,11 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/kernel.mk
-include $(TOPDIR)/mk/modules.mk
-include $(TOPDIR)/mk/kernel-build.mk
-include $(TOPDIR)/mk/image.mk
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/kernel.mk
+include $(ADK_TOPDIR)/mk/modules.mk
+include $(ADK_TOPDIR)/mk/kernel-build.mk
+include $(ADK_TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/$(ADK_TARGET_KERNEL)
OSTRIP:=-R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id
diff --git a/target/ppc/Makefile b/target/ppc/Makefile
index d4b01e103..3268dbc6e 100644
--- a/target/ppc/Makefile
+++ b/target/ppc/Makefile
@@ -1,11 +1,11 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/kernel.mk
-include $(TOPDIR)/mk/modules.mk
-include $(TOPDIR)/mk/kernel-build.mk
-include $(TOPDIR)/mk/image.mk
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/kernel.mk
+include $(ADK_TOPDIR)/mk/modules.mk
+include $(ADK_TOPDIR)/mk/kernel-build.mk
+include $(ADK_TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/vmlinux
OSTRIP:=-R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id
diff --git a/target/ppc64/Makefile b/target/ppc64/Makefile
index 2dce2806c..a554f994d 100644
--- a/target/ppc64/Makefile
+++ b/target/ppc64/Makefile
@@ -1,11 +1,11 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/kernel.mk
-include $(TOPDIR)/mk/modules.mk
-include $(TOPDIR)/mk/kernel-build.mk
-include $(TOPDIR)/mk/image.mk
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/kernel.mk
+include $(ADK_TOPDIR)/mk/modules.mk
+include $(ADK_TOPDIR)/mk/kernel-build.mk
+include $(ADK_TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/vmlinux
OSTRIP:=-R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id
diff --git a/target/sh/Makefile b/target/sh/Makefile
index a41052675..27cc9696f 100644
--- a/target/sh/Makefile
+++ b/target/sh/Makefile
@@ -1,11 +1,11 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/kernel.mk
-include $(TOPDIR)/mk/modules.mk
-include $(TOPDIR)/mk/kernel-build.mk
-include $(TOPDIR)/mk/image.mk
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/kernel.mk
+include $(ADK_TOPDIR)/mk/modules.mk
+include $(ADK_TOPDIR)/mk/kernel-build.mk
+include $(ADK_TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/arch/sh/boot/zImage
diff --git a/target/sparc/Makefile b/target/sparc/Makefile
index 933c84aa9..e166d7426 100644
--- a/target/sparc/Makefile
+++ b/target/sparc/Makefile
@@ -1,11 +1,11 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/kernel.mk
-include $(TOPDIR)/mk/modules.mk
-include $(TOPDIR)/mk/kernel-build.mk
-include $(TOPDIR)/mk/image.mk
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/kernel.mk
+include $(ADK_TOPDIR)/mk/modules.mk
+include $(ADK_TOPDIR)/mk/kernel-build.mk
+include $(ADK_TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/arch/sparc/boot/zImage
diff --git a/target/sparc64/Makefile b/target/sparc64/Makefile
index 47ba9c0b6..1c0aa5f49 100644
--- a/target/sparc64/Makefile
+++ b/target/sparc64/Makefile
@@ -1,11 +1,11 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/kernel.mk
-include $(TOPDIR)/mk/modules.mk
-include $(TOPDIR)/mk/kernel-build.mk
-include $(TOPDIR)/mk/image.mk
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/kernel.mk
+include $(ADK_TOPDIR)/mk/modules.mk
+include $(ADK_TOPDIR)/mk/kernel-build.mk
+include $(ADK_TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/vmlinux
diff --git a/target/x86/Makefile b/target/x86/Makefile
index b6e9c2bcc..532896813 100644
--- a/target/x86/Makefile
+++ b/target/x86/Makefile
@@ -1,11 +1,11 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/kernel.mk
-include $(TOPDIR)/mk/modules.mk
-include $(TOPDIR)/mk/kernel-build.mk
-include $(TOPDIR)/mk/image.mk
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/kernel.mk
+include $(ADK_TOPDIR)/mk/modules.mk
+include $(ADK_TOPDIR)/mk/kernel-build.mk
+include $(ADK_TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/arch/x86/boot/bzImage
diff --git a/target/x86_64/Makefile b/target/x86_64/Makefile
index 473a05d47..d2a39a4ff 100644
--- a/target/x86_64/Makefile
+++ b/target/x86_64/Makefile
@@ -1,11 +1,11 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/kernel.mk
-include $(TOPDIR)/mk/modules.mk
-include $(TOPDIR)/mk/kernel-build.mk
-include $(TOPDIR)/mk/image.mk
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/kernel.mk
+include $(ADK_TOPDIR)/mk/modules.mk
+include $(ADK_TOPDIR)/mk/kernel-build.mk
+include $(ADK_TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/arch/x86/boot/bzImage
diff --git a/target/xtensa/Makefile b/target/xtensa/Makefile
index 9aecd3403..006cd778f 100644
--- a/target/xtensa/Makefile
+++ b/target/xtensa/Makefile
@@ -1,11 +1,11 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/mk/kernel.mk
-include $(TOPDIR)/mk/modules.mk
-include $(TOPDIR)/mk/kernel-build.mk
-include $(TOPDIR)/mk/image.mk
+include $(ADK_TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/mk/kernel.mk
+include $(ADK_TOPDIR)/mk/modules.mk
+include $(ADK_TOPDIR)/mk/kernel-build.mk
+include $(ADK_TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/arch/xtensa/boot/Image.elf
diff --git a/target/xtensa/target.mk b/target/xtensa/target.mk
index 709b5aa5e..550b95557 100644
--- a/target/xtensa/target.mk
+++ b/target/xtensa/target.mk
@@ -1,4 +1,4 @@
-include $(TOPDIR)/mk/kernel-ver.mk
+include $(ADK_TOPDIR)/mk/kernel-ver.mk
ARCH:= xtensa
CPU_ARCH:= $(ADK_TARGET_CPU_ARCH)
TARGET_CFLAGS_ARCH:= $(ADK_TARGET_CFLAGS)
diff --git a/toolchain/Makefile b/toolchain/Makefile
index 6f672532e..fc35830db 100644
--- a/toolchain/Makefile
+++ b/toolchain/Makefile
@@ -13,7 +13,7 @@
# 9) rebuild and install full libc (in case of musl/uclibc)
# 10) build and install gdb debugger
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
TARGETS:=binutils gmp mpfr mpc libelf gcc gdb
ifeq ($(ADK_TARGET_LIB_GLIBC),y)
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index 9edf001cd..b6d4489f9 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -1,10 +1,10 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
include Makefile.inc
include ../rules.mk
-include ${TOPDIR}/mk/buildhlp.mk
+include ${ADK_TOPDIR}/mk/buildhlp.mk
ifeq ($(ADK_TOOLCHAIN_WITH_SSP),y)
CONFOPTS+= --enable-libssp
@@ -41,7 +41,7 @@ endif
$(WRKBUILD)/.headers:
$(WRKBUILD)/.configured:
ifeq ($(ADK_LINUX_XTENSA),y)
- tar xf $(TOPDIR)/target/xtensa/overlay/xtensa_dc232b.tar \
+ tar xf $(ADK_TOPDIR)/target/xtensa/overlay/xtensa_dc232b.tar \
--strip-components=1 -C $(WRKSRC) binutils
endif
(cd $(WRKBUILD); \
@@ -66,4 +66,4 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
$(MAKE) -C $(WRKBUILD) install
touch $@
-include ${TOPDIR}/mk/toolchain.mk
+include ${ADK_TOPDIR}/mk/toolchain.mk
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 5c1f14c0b..c6f57f413 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
include ../rules.mk
include Makefile.inc
@@ -128,7 +128,7 @@ endif
LANGUAGES:=c,c++
-include ${TOPDIR}/mk/buildhlp.mk
+include ${ADK_TOPDIR}/mk/buildhlp.mk
GCC_BUILD_DIR_MINIMAL:= $(WRKBUILD)-minimal
GCC_BUILD_DIR_INITIAL:= $(WRKBUILD)-initial
@@ -136,7 +136,7 @@ GCC_BUILD_DIR_FINAL:= $(WRKBUILD)-final
$(GCC_BUILD_DIR_MINIMAL)/.configured:
ifeq ($(ADK_LINUX_XTENSA),y)
- tar xf $(TOPDIR)/target/xtensa/overlay/xtensa_dc232b.tar \
+ tar xf $(ADK_TOPDIR)/target/xtensa/overlay/xtensa_dc232b.tar \
--strip-components=1 -C $(WRKSRC) gcc
endif
mkdir -p $(GCC_BUILD_DIR_MINIMAL)
@@ -241,4 +241,4 @@ endif
rm -rf $(TOOLCHAIN_DIR)/usr/share
touch $@
-include ${TOPDIR}/mk/toolchain.mk
+include ${ADK_TOPDIR}/mk/toolchain.mk
diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile
index d83b7def9..b291c48a2 100644
--- a/toolchain/gdb/Makefile
+++ b/toolchain/gdb/Makefile
@@ -1,10 +1,10 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
include ../rules.mk
include Makefile.inc
-include ${TOPDIR}/mk/buildhlp.mk
+include ${ADK_TOPDIR}/mk/buildhlp.mk
ifeq (${ADK_MAKE_PARALLEL},y)
GDB_MAKEOPTS+= -j${ADK_MAKE_JOBS}
@@ -45,4 +45,4 @@ $(WRKBUILD)/.installed:
$(INSTALL_BIN) $(WRKBUILD)/gdb/gdb $(TARGET_CROSS)gdb
touch $@
-include ${TOPDIR}/mk/toolchain.mk
+include ${ADK_TOPDIR}/mk/toolchain.mk
diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile
index ef7b6e15d..f010386e1 100644
--- a/toolchain/glibc/Makefile
+++ b/toolchain/glibc/Makefile
@@ -1,7 +1,7 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
include ../rules.mk
# glibc does not compile with Os
@@ -11,7 +11,7 @@ TARGET_CFLAGS+= -O2
endif
include Makefile.inc
-include ${TOPDIR}/mk/buildhlp.mk
+include ${ADK_TOPDIR}/mk/buildhlp.mk
GLIBC_MAKEOPTS+= cross-compiling=yes
ifeq (${ADK_MAKE_PARALLEL},y)
@@ -75,4 +75,4 @@ ifeq ($(ADK_TARGET_TOOLCHAIN),y)
endif
touch $@
-include ${TOPDIR}/mk/toolchain.mk
+include ${ADK_TOPDIR}/mk/toolchain.mk
diff --git a/toolchain/gmp/Makefile b/toolchain/gmp/Makefile
index 3e6e6c626..a8ec71088 100644
--- a/toolchain/gmp/Makefile
+++ b/toolchain/gmp/Makefile
@@ -1,10 +1,10 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
include Makefile.inc
include ../rules.mk
-include ${TOPDIR}/mk/buildhlp.mk
+include ${ADK_TOPDIR}/mk/buildhlp.mk
ifeq (${ADK_MAKE_PARALLEL},y)
GMP_MAKEOPTS+= -j${ADK_MAKE_JOBS}
@@ -33,4 +33,4 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
$(MAKE) -C $(WRKBUILD) install
touch $@
-include ${TOPDIR}/mk/toolchain.mk
+include ${ADK_TOPDIR}/mk/toolchain.mk
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index 0534976fa..0af7347b4 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -1,38 +1,38 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
include ../rules.mk
-include ${TOPDIR}/mk/kernel-ver.mk
-include $(TOPDIR)/mk/linux.mk
-include ${TOPDIR}/mk/kernel-vars.mk
-include ${TOPDIR}/mk/buildhlp.mk
+include ${ADK_TOPDIR}/mk/kernel-ver.mk
+include $(ADK_TOPDIR)/mk/linux.mk
+include ${ADK_TOPDIR}/mk/kernel-vars.mk
+include ${ADK_TOPDIR}/mk/buildhlp.mk
$(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/linux-$(KERNEL_VERSION)/.patched:
ifneq ($(ADK_DISABLE_KERNEL_PATCHES),y)
$(TRACE) kernel-patch
$(PATCH) $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/linux-$(KERNEL_VERSION) \
- $(TOPDIR)/target/linux/patches/$(KERNEL_VERSION) *.patch $(MAKE_TRACE)
+ $(ADK_TOPDIR)/target/linux/patches/$(KERNEL_VERSION) *.patch $(MAKE_TRACE)
endif
ifneq ($(ADK_DISABLE_TARGET_KERNEL_PATCHES),y)
$(TRACE) kernel-target-patch
$(PATCH) $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/linux-$(KERNEL_VERSION) \
- $(TOPDIR)/target/$(ADK_TARGET_ARCH)/$(ADK_TARGET_SYSTEM)/patches/$(KERNEL_VERSION) *.patch $(MAKE_TRACE)
+ $(ADK_TOPDIR)/target/$(ADK_TARGET_ARCH)/$(ADK_TARGET_SYSTEM)/patches/$(KERNEL_VERSION) *.patch $(MAKE_TRACE)
endif
ifeq ($(ADK_KERNEL_ADDON_YAFFS2),y)
$(TRACE) yaffs2-kernel-patch
$(PATCH) $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/linux-$(KERNEL_VERSION) \
- $(TOPDIR)/target/linux/patches/$(KERNEL_VERSION) patch-yaffs2 $(MAKE_TRACE)
+ $(ADK_TOPDIR)/target/linux/patches/$(KERNEL_VERSION) patch-yaffs2 $(MAKE_TRACE)
endif
ifeq ($(ADK_KERNEL_ADDON_GRSEC),y)
$(TRACE) grsec-kernel-patch
$(PATCH) $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/linux-$(KERNEL_VERSION) \
- $(TOPDIR)/target/linux/patches/$(KERNEL_VERSION) patch-grsec $(MAKE_TRACE)
+ $(ADK_TOPDIR)/target/linux/patches/$(KERNEL_VERSION) patch-grsec $(MAKE_TRACE)
endif
ifeq ($(ADK_KERNEL_ADDON_MPTCP),y)
$(TRACE) mptcp-kernel-patch
$(PATCH) $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/linux-$(KERNEL_VERSION) \
- $(TOPDIR)/target/linux/patches/$(KERNEL_VERSION) patch-mptcp $(MAKE_TRACE)
+ $(ADK_TOPDIR)/target/linux/patches/$(KERNEL_VERSION) patch-mptcp $(MAKE_TRACE)
endif
touch $@
@@ -45,4 +45,4 @@ $(WRKBUILD)/.headers: $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_
@-find $(STAGING_TARGET_DIR)/usr/include -name ..install.cmd -delete
touch $@
-include ${TOPDIR}/mk/toolchain.mk
+include ${ADK_TOPDIR}/mk/toolchain.mk
diff --git a/toolchain/libelf/Makefile b/toolchain/libelf/Makefile
index 90bf4cb8d..dbb0b9fb8 100644
--- a/toolchain/libelf/Makefile
+++ b/toolchain/libelf/Makefile
@@ -1,10 +1,10 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
include Makefile.inc
include ../rules.mk
-include ${TOPDIR}/mk/buildhlp.mk
+include ${ADK_TOPDIR}/mk/buildhlp.mk
ifeq (${ADK_MAKE_PARALLEL},y)
LIBELF_MAKEOPTS+= -j${ADK_MAKE_JOBS}
@@ -29,4 +29,4 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
$(MAKE) -C $(WRKBUILD) install
touch $@
-include ${TOPDIR}/mk/toolchain.mk
+include ${ADK_TOPDIR}/mk/toolchain.mk
diff --git a/toolchain/mpc/Makefile b/toolchain/mpc/Makefile
index 40e7f615e..fbc6a3a7e 100644
--- a/toolchain/mpc/Makefile
+++ b/toolchain/mpc/Makefile
@@ -1,10 +1,10 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
include Makefile.inc
include ../rules.mk
-include ${TOPDIR}/mk/buildhlp.mk
+include ${ADK_TOPDIR}/mk/buildhlp.mk
ifeq (${ADK_MAKE_PARALLEL},y)
MPC_MAKEOPTS+= -j${ADK_MAKE_JOBS}
@@ -29,4 +29,4 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
$(MAKE) -C $(WRKBUILD) install
touch $@
-include ${TOPDIR}/mk/toolchain.mk
+include ${ADK_TOPDIR}/mk/toolchain.mk
diff --git a/toolchain/mpfr/Makefile b/toolchain/mpfr/Makefile
index 4436d4fcc..17296503d 100644
--- a/toolchain/mpfr/Makefile
+++ b/toolchain/mpfr/Makefile
@@ -1,10 +1,10 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
include ../rules.mk
include Makefile.inc
-include ${TOPDIR}/mk/buildhlp.mk
+include ${ADK_TOPDIR}/mk/buildhlp.mk
ifeq (${ADK_MAKE_PARALLEL},y)
MPFR_MAKEOPTS+= -j${ADK_MAKE_JOBS}
@@ -29,4 +29,4 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
$(MAKE) -C $(WRKBUILD) install
touch $@
-include ${TOPDIR}/mk/toolchain.mk
+include ${ADK_TOPDIR}/mk/toolchain.mk
diff --git a/toolchain/musl/Makefile b/toolchain/musl/Makefile
index 1e916fee4..8c25564cc 100644
--- a/toolchain/musl/Makefile
+++ b/toolchain/musl/Makefile
@@ -1,10 +1,10 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
include ../rules.mk
include Makefile.inc
-include ${TOPDIR}/mk/buildhlp.mk
+include ${ADK_TOPDIR}/mk/buildhlp.mk
ifeq ($(ADK_TARGET_CPU_ARCH),ppc)
GNU_TARGET_NAME:= $(subst ppc,powerpc,$(GNU_TARGET_NAME))
@@ -61,4 +61,4 @@ ifeq ($(ADK_TARGET_TOOLCHAIN),y)
endif
touch $@
-include ${TOPDIR}/mk/toolchain.mk
+include ${ADK_TOPDIR}/mk/toolchain.mk
diff --git a/toolchain/uclibc/Makefile b/toolchain/uclibc/Makefile
index 49050e980..744b1da8f 100644
--- a/toolchain/uclibc/Makefile
+++ b/toolchain/uclibc/Makefile
@@ -3,10 +3,10 @@
_IN_CVTC= 1
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
include ../rules.mk
include Makefile.inc
-include ${TOPDIR}/mk/buildhlp.mk
+include ${ADK_TOPDIR}/mk/buildhlp.mk
TARGET_CFLAGS:=$(filter-out -flto,$(TARGET_CFLAGS))
TARGET_CFLAGS:=$(filter-out -mtext-section-literals,$(TARGET_CFLAGS))
@@ -18,7 +18,7 @@ endif
$(WRKBUILD)/.headers:
$(SED) 's,^CROSS_COMPILE=.*,CROSS_COMPILE=$(TARGET_CROSS),g' $(WRKBUILD)/Rules.mak
sed -e 's^KERNEL_HEADERS.*$$KERNEL_HEADERS=\"${STAGING_TARGET_DIR}/usr/include\"' \
- $(TOPDIR)/target/$(ADK_TARGET_ARCH)/uclibc.config >${WRKBUILD}/.config
+ $(ADK_TOPDIR)/target/$(ADK_TARGET_ARCH)/uclibc.config >${WRKBUILD}/.config
ifeq ($(ADK_TARGET_ENDIAN),little)
$(SED) 's/.*\(ARCH_LITTLE_ENDIAN\).*/\1=y/' ${WRKBUILD}/.config
$(SED) 's/.*\(ARCH_WANTS_LITTLE_ENDIAN\).*/\1=y/' ${WRKBUILD}/.config
@@ -122,4 +122,4 @@ ifeq ($(ADK_TARGET_TOOLCHAIN),y)
endif
touch $@
-include ${TOPDIR}/mk/toolchain.mk
+include ${ADK_TOPDIR}/mk/toolchain.mk