$(MAKEOPTS) \
prepare
-%-compile: %-prepare
+%-compile:
@$(TRACE) target/linux/package/$(patsubst %-compile,%,$@)-compile
$(MAKE) -C $(patsubst %-compile,%,$@) \
$(MAKEOPTS) \
uninstall-dev:
rm -rf $(STAGING_DIR)/usr/include/madwifi
-compile: install-dev
-clean: uninstall-dev
+compile-targets: install-dev
+clean-targets: uninstall-dev
openwrt-install:
$(IPKG) install $(IPKG_OPENWRT)
-compile: install-dev $(IPKG_OPENWRT)
+compile-targets: install-dev $(IPKG_OPENWRT)
install-dev:
mkdir -p $(STAGING_DIR)/usr/include
cp -fpR ./include/[a-z]* $(STAGING_DIR)/usr/include/