X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7361c46074a492fc27ff9f38ef7d41667b34f0ec..986deefdb48e2ec9ab63f17c256981e72c3c8999:/openwrt/package/gpsd/Makefile diff --git a/openwrt/package/gpsd/Makefile b/openwrt/package/gpsd/Makefile index 43fad851c..cd45b4ccb 100644 --- a/openwrt/package/gpsd/Makefile +++ b/openwrt/package/gpsd/Makefile @@ -49,6 +49,7 @@ $(PKG_BUILD_DIR)/.configured: --enable-shared \ --enable-static \ --with-gnu-ld \ + --without-x \ ); touch $@ @@ -63,18 +64,18 @@ $(PKG_BUILD_DIR)/.built: $(IPKG_GPSD): install -d -m0755 $(IDIR_GPSD)/usr/lib - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libgps.so.* $(IDIR_GPSD)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgps.so.* $(IDIR_GPSD)/usr/lib/ install -d -m0755 $(IDIR_GPSD)/usr/sbin - cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/gpsd $(IDIR_GPSD)/usr/sbin/ + $(CP) $(PKG_INSTALL_DIR)/usr/sbin/gpsd $(IDIR_GPSD)/usr/sbin/ $(RSTRIP) $(IDIR_GPSD) $(IPKG_BUILD) $(IDIR_GPSD) $(PACKAGE_DIR) $(STAGING_DIR)/usr/lib/libgps.so: $(PKG_BUILD_DIR)/.built mkdir -p $(STAGING_DIR)/usr/include - cp -fpR $(PKG_INSTALL_DIR)/usr/include/gps{,d}.h $(STAGING_DIR)/usr/include/ - cp -fpR $(PKG_INSTALL_DIR)/usr/include/libgpsmm.h $(STAGING_DIR)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/gps{,d}.h $(STAGING_DIR)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/libgpsmm.h $(STAGING_DIR)/usr/include/ mkdir -p $(STAGING_DIR)/usr/lib - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libgps.{a,so*} $(STAGING_DIR)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgps.{a,so*} $(STAGING_DIR)/usr/lib/ touch $@ install-dev: $(STAGING_DIR)/usr/lib/libgps.so